/* ============================================================
   AMARYLLIS McGEE — Global Stylesheet
   amaryllismcgee.com
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  /* Feather White — main background */
  --cream:      #FAF9F6;
  /* Porcelain Mist — alternating sections */
  --cream-dark: #F4F1EA;
  /* Creamed Oat — cards, panels */
  --sand:       #E6DAC8;
  /* Soft Sandstone — borders, accents */
  --sandstone:  #CBB9A4;
  /* Desert Rock — dark sections, footer, headings */
  --ink:        #3D2B1F;
  --ink-soft:   #6B5040;
  --gold:       #A48D78;
  --gold-light: #CBB9A4;
  --sky:        #CBB9A4;
  --sky-light:  #F4F1EA;
  --white:      #FFFFFF;
  --border:     rgba(164,141,120,0.25);
  --shadow:     0 4px 32px rgba(100,70,50,0.10);
  --shadow-lg:  0 12px 60px rgba(100,70,50,0.18);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', system-ui, sans-serif;

  --nav-h: 68px;
  --max-w: 1200px;
  --section-pad: 96px 24px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: var(--sans); }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 8vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); }
p  { font-size: 1rem; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.italic { font-style: italic; color: var(--gold); }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.7); }
.section--dark .eyebrow { color: var(--gold-light); }
.section--dark .eyebrow::before { background: var(--gold-light); }
.section--cream-dark { background: var(--cream-dark); }
.section--sky { background: var(--sky-light); }
.text-center { text-align: center; }
.text-center .eyebrow { justify-content: center; }
.text-center .eyebrow::before { display: none; }
.text-center .eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.section--dark .text-center .eyebrow::after { background: var(--gold-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-dark, .btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover, .btn-primary:hover { background: var(--gold); }
.btn-outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-ghost {
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost .arrow { transition: transform 0.2s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(250,249,246,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 2px;
  transition: background 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  overflow-y: auto;
  padding: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.4rem;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mobile a::after {
  content: '→';
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-mobile a:hover { color: var(--gold); padding-left: 36px; }
.nav-mobile a:hover::after { opacity: 1; }
.nav-mobile-footer {
  padding: 28px;
  margin-top: auto;
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--border);
}
.nav-mobile-footer a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  flex: 1;
  text-align: center;
}
.nav-mobile-footer a.cta {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* Hamburger animation when open */
.nav-hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Footer ── */
.site-footer {
  background: #3D2B1F;
  color: rgba(255,255,255,0.6);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 130px 24px 72px;
  text-align: center;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ── Marquee ── */
.marquee-strip {
  background: #A48D78;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0 32px;
}
.marquee-track span.gold { color: #FAF9F6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Form Elements ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── Divider ── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--gold); opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { margin: 0 8px; opacity: 0.4; }

/* ── Scroll to top ── */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 500;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--gold); }

/* ============================================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ============================================================
   RESPONSIVE — Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --section-pad: 64px 20px;
  }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { padding: 110px 20px 56px; }
  .page-hero p { font-size: 0.95rem; }

  /* Buttons full width on mobile */
  .btn-stack-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .btn-stack-mobile .btn,
  .btn-stack-mobile a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE — Small Mobile (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --section-pad: 52px 16px;
  }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-brand { margin-bottom: 8px; }

  /* Tighter padding */
  .container { padding: 0 16px; }

  /* Ensure no horizontal overflow */
  body { overflow-x: hidden; }
  .site-nav, .nav-mobile { max-width: 100vw; }
}
