@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Geologica:wght@700&display=swap');

:root {
  --cream: #FFF5F5;
  --cream2: #FFE8E8;
  --sand: #E8896A;
  --dark-green: #5C2D3A;
  --olive: #C2677A;
  --dark-sand: #C94F6D;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--dark-green);
  color: #111;
  line-height: 1.6;
}

/* ── FADE-IN ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── NAV ── */
.nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 40px;
  background: var(--cream);
  color: var(--dark-green);
  gap: 48px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(92,45,58,0.08);
  animation: fadeIn 0.3s ease both;
}
.logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--dark-green);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── HERO LOGO BAR ── */
.hero-logo-bar {
  background: var(--cream);
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  height: 0;
  overflow: visible;
  position: relative;
  z-index: 10;
}
.hero-logo-img {
  height: 0px;
  width: auto;
  display: block;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .hero-logo-bar { padding: 0 20px; }
  .hero-logo-img { height: 60px; margin-top: 16px; }
}
.nav nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  color: var(--dark-green);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease, background 0.2s ease;
  padding: 6px 14px;
  border-radius: 6px;
}
.nav a:hover { color: var(--olive); background: rgba(194,103,122,0.08); }
.nav a.active {
  color: var(--dark-sand);
  background: rgba(201,79,109,0.1);
}

/* ── PAGE HEADER ── */
.page-header { position: relative; height: 400px; overflow: hidden; }
.page-header img { width: 100%; height: 100%; object-fit: cover; }
.page-header-content {
  position: absolute; inset: 0; padding: 60px;
  background: linear-gradient(to right, rgba(92,45,58,0.88), transparent);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
}
.page-header h1 {
  font-family: 'Geologica', sans-serif;
  font-size: 56px; margin: 0 0 16px 0; font-weight: 700; color: var(--cream);
  animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.page-header p {
  font-size: 18px; max-width: 600px; margin: 0; color: var(--cream); opacity: 0.95;
  animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

/* ── HERO ── */
.hero { position: relative; height: 500px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero-content {
  position: absolute; inset: 0; padding: 60px;
  background: linear-gradient(to right, rgba(92,45,58,0.88), transparent);
  display: flex; flex-direction: column; justify-content: center; max-width: 60%;
}
.hero h1 {
  font-family: 'Geologica', sans-serif;
  font-size: 48px; margin: 0 0 12px 0;
  color: var(--cream); font-weight: 700; line-height: 1.2;
  animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.hero-sub {
  font-size: 16px;
  color: rgba(255,245,245,0.85);
  margin: 0 0 20px 0;
  animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.18s both;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.24s both;
}
.hero-badge {
  background: rgba(255,245,245,0.15);
  border: 1px solid rgba(255,245,245,0.25);
  color: var(--cream);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  backdrop-filter: blur(4px);
}
.hero-buttons {
  display: flex; gap: 16px;
  animation: fadeInUp 0.5s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--cream); color: var(--dark-green);
  border: none; padding: 14px 28px; border-radius: 999px;
  cursor: pointer; font-size: 16px; font-weight: 600;
  transition: all 0.3s ease; font-family: 'Inter', sans-serif;
  text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  background: var(--cream2); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.2); color: white;
  border: 2px solid rgba(255,255,255,0.3);
  padding: 14px 28px; border-radius: 999px;
  cursor: pointer; font-size: 16px; font-weight: 600;
  transition: all 0.3s ease; font-family: 'Inter', sans-serif;
  text-decoration: none; backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,245,245,0.95); color: var(--dark-green);
  border-color: var(--cream);
}
.btn-sand {
  display: inline-block;
  background: var(--sand); color: var(--cream);
  border: none; padding: 14px 32px; border-radius: 999px;
  cursor: pointer; font-size: 16px; font-weight: 600;
  transition: all 0.3s ease; font-family: 'Inter', sans-serif;
  text-decoration: none;
}
.btn-sand:hover {
  background: var(--dark-sand); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ── INTRO ── */
.intro {
  border-top: 10px solid var(--dark-green);
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  align-items: start; background-color: var(--cream);
  padding: 60px 40px; gap: 40px;
  position: relative; overflow: hidden;
}
.intro-logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}
.intro::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 294px; height: 311.5px;
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 294 311.5" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M98 220C88 260.4 28.5 297.833 0 311.5V0H294C277.667 0.666667 246.3 14.6 251.5 65C258 128 216.5 131.5 188 130C159.5 128.5 110.5 169.5 98 220Z" fill="%23E8896A" fill-opacity="0.34"/></svg>');
  background-size: contain; background-repeat: no-repeat;
  pointer-events: none; z-index: 0;
}

.intro-image, .intro-text { position: relative; z-index: 1; }
.intro-image { display: flex; justify-content: center; }
.intro-image img { width: 100%; max-width: 450px; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.intro-text h2 {
  font-family: 'Geologica', sans-serif;
  font-size: 56px; margin: 0 0 24px 0; font-weight: 700;
  color: var(--dark-green); line-height: 1.1;
}
.intro-text p { margin-bottom: 16px; color: #444; font-size: 17px; }

/* ── FOOTER ── */
.footer {
  background: var(--dark-green); color: var(--cream);
  padding: 48px 40px 32px;
  border-top: 1px solid rgba(255,245,245,0.1);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 40px; max-width: 1400px; margin: 0 auto 32px;
}
.footer-section h4 {
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--sand); margin: 0 0 16px 0;
}
.footer-section p { font-size: 14px; color: rgba(255,245,245,0.75); line-height: 1.8; margin: 0 0 8px 0; }
.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section ul li a {
  display: block; color: rgba(255,245,245,0.75);
  text-decoration: none; font-size: 14px; line-height: 2; transition: color 0.2s;
}
.footer-section ul li a:hover { color: var(--sand); }
.footer-section .social-links a {
  display: inline-block; margin-top: 12px;
  color: rgba(255,245,245,0.75); transition: color 0.2s;
}
.footer-section .social-links a:hover { color: var(--sand); }
.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid rgba(255,245,245,0.1);
  font-size: 13px; color: rgba(255,245,245,0.45);
  max-width: 1400px; margin: 0 auto;
}

/* Section following .hero-logo-bar needs extra top padding for the overlapping logo */
.hero-logo-bar + section,
.hero-logo-bar + div {
  padding-top: 140px;
}
@media (max-width: 900px) {
  .hero-logo-bar + section,
  .hero-logo-bar + div {
    padding-top: 92px;
  }
}

/* ── RESPONSIVE ── */
/* ── HAMBURGER MENU ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--cream);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-green);
  border-radius: 2px;
  transition: all 0.3s ease;
   color: var(--cream);
   
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    padding: 0 20px;
    height: 56px;
    position: relative;
     color: var(--cream);
      border: 2px solid var(--cream);
  }
  .nav-toggle { display: flex; }
  .nav nav {
    border: 2px solid var(--cream);
     color: var(--cream);
    display: none;
    flex-direction: column;
    gap: 4px;
    width: calc(100% - 32px);
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(92, 45, 58, 0.1);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 32px rgba(92, 45, 58, 0), 0 2px 8px rgba(92, 45, 58, 0.06);
    z-index: 99;
    transform-origin: top center;
    animation: menuOpen 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  @keyframes menuOpen {
    from { opacity: 0; transform: scaleY(0.92) translateY(-8px); }
    to   { opacity: 1; transform: scaleY(1) translateY(0); }
  }
  .nav nav.open { display: flex; }
  .nav a {
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 15px;
     color: var(--cream);
  }

  /* Hero */
  .hero { height: auto; min-height: 420px; }
  .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero { position: relative; }
  .hero-content {
    position: relative;
    max-width: 100%;
    padding: 48px 24px 40px;
    background: linear-gradient(to bottom, rgba(92,45,58,0.82), rgba(92,45,58,0.6));
    min-height: 420px;
    justify-content: flex-end;
  }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 15px; }
  .hero-badges { gap: 6px; }
  .hero-badge { font-size: 12px; padding: 4px 10px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; text-align: center; box-sizing: border-box; }

  /* Intro */
  .intro { grid-template-columns: 1fr; padding: 40px 20px; gap: 28px; }
  .intro-logo { justify-content: flex-start; }
  .intro-logo .hero-logo-img { height: 70px; }
  .intro-text h2 { font-size: 32px; }
  .intro-image img { max-width: 100%; }
  .intro-text p { font-size: 16px; }

  /* Page header */
  .page-header { height: 240px; }
  .page-header h1 { font-size: 32px; }
  .page-header-content { padding: 32px 20px; }
  .page-header p { font-size: 15px; }

  /* Footer */
  .footer { padding: 40px 20px 24px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .page-header h1 { font-size: 28px; }
}