/* ============================================
   TAMRYN LIEBENBERG — SHARED STYLES
   ============================================ */

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

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

:root {
  --cream: #f2ede6;
  --cream-dark: #ebe4db;
  --warm-stone: #c8bfb0;
  --stone-light: #ddd6cc;
  --dark: #2a2520;
  --mid: #6b6158;
  --light-mid: #9a9088;
  --accent: #b8a898;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 4rem;
  background: rgba(242, 237, 230, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  transition: opacity 0.3s ease;
}

.nav-logo:hover {
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-mid);
  transition: color 0.3s ease;
}

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

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--dark);
  transition: all 0.3s ease;
}

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

footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6rem;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--light-mid);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-mid);
  transition: color 0.3s ease;
}

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

.footer-copy {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--stone-light);
}

/* ============================================
   SHARED UTILITIES
   ============================================ */

.inquire-link {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 1px solid var(--warm-stone);
  padding-bottom: 2px;
  transition: border-color 0.3s ease, color 0.3s ease, letter-spacing 0.3s ease;
}

.inquire-link:hover {
  color: var(--mid);
  border-color: var(--mid);
  letter-spacing: 0.28em;
}

.section-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--light-mid);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  nav {
    padding: 1.2rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    border-top: 1px solid rgba(0,0,0,0.04);
  }

  .nav-links a {
    display: block;
    padding: 1rem 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  footer {
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    gap: 1.5rem;
  }
}


/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 2.5rem;
  background: rgba(242,237,230,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-left { display:flex; align-items:center; flex:1; }
.nav-center { flex:1; text-align:center; }
.nav-right { display:flex; align-items:center; gap:1.4rem; flex:1; justify-content:flex-end; }
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.88rem; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dark); transition: opacity .3s; cursor: pointer;
}
.nav-logo:hover { opacity: .5; }
.hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--dark); transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
.nav-icons a {
  color: var(--muted); transition: color .3s;
  display: flex; align-items: center;
}
.nav-icons a:hover { color: var(--dark); }
.nav-dropdown {
  display: none;
  position: fixed; top: 56px; left: 0; right: 0;
  background: rgba(242,237,230,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 199;
}
.nav-dropdown.open { display: block; }
.nav-dropdown ul { list-style: none; padding: .4rem 0; }
.nav-dropdown ul li { border-top: 1px solid rgba(0,0,0,0.04); }
.nav-dropdown ul a {
  display: block; padding: .9rem 2.5rem;
  font-family: 'Jost', sans-serif; font-size: 0.65rem;
  font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); transition: color .3s; text-decoration: none;
}
.nav-dropdown ul a:hover,
.nav-dropdown ul a.active { color: var(--dark); }