:root {
  --primary-color: #4A332A; /* Deeper Walnut */
  --secondary-color: #F9F8F6; /* Softer, warmer off-white */
  --text-color: #2D2D2D;
  --text-light: #5A5A5A;
  --bg-color: #ffffff;
  --bg-secondary: #ffffff; /* Defined for preloader and background consistency */
  --accent-color: #1A2E2E; /* Darker Slate Gray */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --border-radius: 12px; /* Softer corners */
  --transition-speed: 0.4s; /* Smoother transitions */
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 12px 30px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px; /* Slightly wider */
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo__main {
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.logo__sub {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav__link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition-speed);
}

.nav__link:hover {
  color: var(--primary-color);
}

.nav__cta {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px; /* Pill shape for premium feel */
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.nav__cta:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 100px 0;
  gap: 60px;
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,51,42,0.03) 0%, rgba(249,248,246,0) 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  flex: 1;
  z-index: 1;
}

.hero__title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--primary-color);
  letter-spacing: -1px;
}

.hero__subtitle {
  font-size: 19px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero__image-wrap {
  flex: 1;
  position: relative;
}

.hero__image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.hero__image:hover {
  transform: scale(1.02);
}

/* Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 16px 36px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-speed);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Section Common */
.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: var(--accent-color);
  color: #fff;
  padding: 80px 0 30px;
  margin-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer__col-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 15px;
  transition: color var(--transition-speed);
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* Utilities for footer links */
.logo--footer {
  margin-bottom: 20px;
}

.logo__main--white {
  color: #fff !important;
}

.footer__mail {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.footer__mail:hover {
  color: #fff;
  text-decoration: underline;
}

/* Mobile Nav Styles */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: left var(--transition-speed) ease-in-out;
  box-shadow: var(--shadow-md);
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav--open {
  left: 0;
}

.mobile-nav__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
  color: var(--text-color);
  transition: color var(--transition-speed);
}

.mobile-nav__close:hover {
  color: var(--primary-color);
}

.mobile-nav .nav__link {
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 15px;
  text-decoration: none;
  color: var(--text-color);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .nav__list {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    flex-direction: column;
    padding: 60px 0;
    text-align: center;
  }
  .hero__title {
    font-size: 40px;
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__ring {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(74, 51, 42, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   COOKIE POPUP
   ============================================================ */
.cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background: #fff;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  z-index: 10000;
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

.cookie-popup.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-popup__bar {
  height: 4px;
  background: var(--primary-color);
}

.cookie-popup__inner {
  padding: 24px;
  display: flex;
  gap: 20px;
}

.cookie-popup__icon {
  font-size: 32px;
  flex-shrink: 0;
}

.cookie-popup__title {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-color);
}

.cookie-popup__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: 20px;
}

.cookie-popup__desc a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-popup__actions {
  display: flex;
  gap: 12px;
}

.cookie-btn-accept, .cookie-btn-decline {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.cookie-btn-accept {
  background: var(--primary-color);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: #36251e;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: #f0f0f0;
  color: var(--text-color);
}

.cookie-btn-decline:hover {
  background: #e5e5e5;
}

@media (max-width: 480px) {
  .cookie-popup {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
