/* ============================================
   ROOTED RADIANCE GARDENS
   Cormorant Garamond + Jost
   Forest · Sage · Olive · Gold · Cream
============================================ */

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

/* --- Variables --- */
:root {
  --forest: #052C0D;
  --sage:   #BDCEAE;
  --olive:  #ACB157;
  --gold:   #C9A84C;
  --cream:  #F2F2F2;
  --dark-text: #1a2e1a;
  --nav-h: 72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--forest);
  line-height: 1.8;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  color: var(--forest);
}

h1 { font-size: clamp(44px, 6vw, 84px); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: clamp(18px, 2vw, 24px); }

p {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.9;
  color: var(--dark-text);
}

.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
  margin-bottom: 14px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--olive);
  color: var(--forest);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}
.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-olive {
  background: var(--olive);
  color: var(--forest);
}
.btn-olive:hover {
  background: var(--gold);
  color: var(--forest);
}

.btn-cream {
  background: var(--cream);
  color: var(--forest);
}
.btn-cream:hover {
  background: var(--olive);
  color: var(--forest);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--forest);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 24px rgba(5,44,13,0.18);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--sage);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

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

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover { opacity: 1; color: var(--sage); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { opacity: 1; color: var(--sage); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-book {
  background: var(--olive) !important;
  color: var(--forest) !important;
  opacity: 1 !important;
  padding: 10px 22px;
  border-radius: 1px;
  font-weight: 500 !important;
}
.nav-book:hover { background: var(--gold) !important; }
.nav-book::after { display: none !important; }

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
}

/* --- Page offset for fixed nav --- */
.page-top { padding-top: var(--nav-h); }

/* --- Section basics --- */
section { position: relative; }

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 64px 0; }

/* --- Divider line --- */
.divider {
  width: 48px;
  height: 1px;
  background: var(--olive);
  margin: 24px 0;
}
.divider-center { margin: 24px auto; }

/* --- Footer --- */
footer {
  background: var(--forest);
  padding: 56px 0 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(189,206,174,0.2);
  margin-bottom: 28px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--sage);
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(189,206,174,0.7);
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(242,242,242,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(189,206,174,0.45);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(189,206,174,0.5);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold); }

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--forest);
    padding: 32px 24px;
    gap: 24px;
    border-top: 1px solid rgba(189,206,174,0.15);
  }
  .nav-toggle { display: flex; }
  .section-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
