@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --cream: #faf7f2;
  --warm-white: #f5f0e8;
  --blush: #e8c9b8;
  --rose: #c4826a;
  --deep-rose: #9a5a47;
  --charcoal: #2a2220;
  --mid: #6b5550;
  --light-mid: #a08a84;
  --gold: #c9a96e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}

/* ============================================
   NAVIGATION - DESKTOP & MOBILE
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(196, 130, 106, 0.15);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  text-decoration: none;
  position: relative;
  z-index: 1002;
}

.nav-logo span { color: var(--rose); }

/* Desktop Menu */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active { color: var(--rose); }

.nav-cta {
  color: var(--cream) !important;
  background: var(--rose);
  padding: 0.55rem 1.4rem !important;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--deep-rose) !important; }

/* Hamburger Button - Hidden on Desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1002;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger Animation to X */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ============================================
   MOBILE BREAKPOINT
   ============================================ */

@media screen and (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
    min-height: 70px;
  }
  
  /* Show hamburger on mobile */
  .nav-hamburger {
    display: flex;
  }
  
  /* Mobile Menu - Full Screen Overlay */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 80px 2rem 2rem;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Menu Open State */
  .nav-links.open {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.4s ease forwards;
  }
  
  .nav-links.open li:nth-child(1) { animation-delay: 0.1s; }
  .nav-links.open li:nth-child(2) { animation-delay: 0.2s; }
  .nav-links.open li:nth-child(3) { animation-delay: 0.3s; }
  .nav-links.open li:nth-child(4) { animation-delay: 0.4s; }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav-links a {
    display: block;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.4rem;
    color: var(--charcoal);
    border-bottom: 1px solid rgba(196, 130, 106, 0.1);
  }
  
  .nav-links li:last-child a {
    border-bottom: none;
  }
  
  .nav-links .nav-cta {
    display: inline-block;
    width: auto;
    min-width: 200px;
    margin-top: 1rem;
    padding: 1rem 2rem !important;
    font-size: 1.2rem;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--rose);
  padding: 1rem 2.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--deep-rose);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose);
  border: 1px solid var(--blush);
  padding: 1rem 2.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  background: transparent;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--rose);
  transform: translateY(-2px);
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
  padding: 10rem 4rem 4rem;
  text-align: center;
  position: relative;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(196, 130, 106, 0.12);
}

.page-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
  font-weight: 500;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.15;
}

.page-title em {
  font-style: italic;
  color: var(--rose);
}

@media screen and (max-width: 768px) {
  .page-header {
    padding: 8rem 1.5rem 3rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--charcoal);
  padding: 3rem 4rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.footer-logo span { color: var(--blush); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--blush); }

footer > p {
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.3);
}

@media screen and (max-width: 768px) {
  footer {
    padding: 2.5rem 1.5rem;
  }
  
  .footer-links {
    gap: 1.2rem;
  }
}

/* Utility: Prevent scroll when menu open */
body.menu-open {
  overflow: hidden;
}