/* ========================================================================
   Southern Sprigs Outdoors LLC — styles.css
   Rugged Louisiana marsh theme built on the logo's purple + gold palette.
   ======================================================================== */

:root {
  --ink:        #14100f;   /* near-black warm base            */
  --ink-2:      #1c151f;   /* dark plum panel                 */
  --ink-3:      #241b2b;   /* card                            */
  --purple:     #4a2a6b;   /* brand purple                    */
  --purple-lt:  #7a58a0;   /* lighter purple accent           */
  --gold:       #e8b24a;   /* brand gold (primary accent/CTA) */
  --gold-lt:    #f5cd72;
  --cream:      #f0e9dc;   /* primary light text              */
  --muted:      #b3a996;   /* muted text                      */
  --line:       rgba(240, 233, 220, 0.12);

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: 0.01em;
}
h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn .ico { font-size: 1.05em; line-height: 1; }
.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.85rem; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn-xl { padding: 1.15rem 2.2rem; font-size: 1.15rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-gold { background: var(--gold); color: #201503; box-shadow: 0 10px 24px rgba(232, 178, 74, 0.28); }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 178, 74, 0.4); }
.btn-outline { background: transparent; color: var(--cream); border-color: rgba(240, 233, 220, 0.5); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0.55rem 0;
}
.site-header.scrolled {
  background: rgba(20, 16, 15, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-logo { height: 54px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); transform-origin: left center; transition: transform 0.3s ease; }
.scrolled .brand-logo { transform: scale(0.85); }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links > a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  color: var(--cream);
  position: relative;
  padding: 0.25rem 0;
}
.nav-links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links > a:not(.btn):hover { color: var(--gold); }
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background: url("images/hero-group.jpg") center 32% / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,15,0.6) 0%, rgba(20,16,15,0.25) 35%, rgba(20,16,15,0.6) 70%, rgba(20,16,15,0.96) 100%),
    radial-gradient(120% 80% at 50% 40%, rgba(74,42,107,0.35), transparent 70%);
}
.hero-content { position: relative; z-index: 2; padding: 7rem 1.2rem 4rem; max-width: 880px; }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(0.7rem, 1.6vw, 0.9rem);
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.hero-sub {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  color: var(--cream);
  margin: 1.2rem 0 2.2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2; color: var(--cream);
  font-size: 1.2rem; opacity: 0.7;
  animation: scrollNudge 2.4s ease-in-out infinite;
}
@keyframes scrollNudge { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,7px);} }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--ink-2); }
.kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.kicker.gold { color: var(--gold); }
.section-head { margin-bottom: 2.8rem; }
.section-head .sub, .sub { color: var(--muted); font-size: 1.05rem; max-width: 620px; margin-inline: auto; }
.sub.light { color: rgba(240,233,220,0.85); }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: #ddd4c4; }
h2 + .lead { margin-top: 1.4rem; }

/* ---------- location cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: linear-gradient(var(--gold), var(--purple-lt));
}
.card:hover { transform: translateY(-6px); border-color: rgba(232,178,74,0.4); }
.card h3 { color: var(--gold); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.7rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- included ---------- */
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 2.6rem; }
.included-col {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2rem 2.2rem;
}
.section-alt .included-col { background: var(--ink); }
.included-col h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.included-col h3 .ico { color: var(--gold); font-size: 1.2rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.9rem;
  border-bottom: 1px solid var(--line);
  color: #ddd4c4;
}
.ticks li:last-child { border-bottom: 0; }
.ticks li::before {
  content: "\2714";
  position: absolute; left: 0; top: 0.55rem;
  color: var(--gold);
  font-size: 0.95rem;
}
.ticks.alt li::before { content: "\2691"; color: var(--purple-lt); }

.pricing-note {
  display: flex; align-items: center; justify-content: space-between; gap: 1.6rem;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(74,42,107,0.4), rgba(36,27,43,0.6));
  border: 1px solid rgba(232,178,74,0.28);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
}
.pricing-note p { margin: 0; color: var(--cream); font-size: 1.1rem; max-width: 640px; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.9rem;
}
.g-item {
  margin: 0; overflow: hidden; border-radius: 12px; cursor: pointer;
  position: relative; background: var(--ink-3);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(74,42,107,0);
  transition: background 0.3s ease;
}
.g-item:hover img { transform: scale(1.08); }
.g-item:hover::after { background: rgba(74,42,107,0.18); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- book ---------- */
.book-section { position: relative; overflow: hidden; }
.book-section::before {
  content: "";
  position: absolute; inset: 0;
  background: url("images/sunrise.jpg") center / cover no-repeat fixed;
}
.book-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,15,0.9), rgba(28,21,31,0.94)), radial-gradient(100% 100% at 20% 0%, rgba(74,42,107,0.5), transparent 60%);
}
.book-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.book-lead h2 { margin: 0.3rem 0 1.1rem; }
.book-lead .btn { margin: 0.6rem 0 1.4rem; }
.book-note { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0; }

.book-form {
  background: rgba(20,16,15,0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block; margin-bottom: 0.4rem;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 0.8rem; color: var(--muted);
}
input, textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: rgba(240,233,220,0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}
input::placeholder, textarea::placeholder { color: rgba(179,169,150,0.6); }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(240,233,220,0.1);
}
textarea { resize: vertical; }
.form-status { margin: 1rem 0 0; font-size: 0.95rem; min-height: 1.2em; }
.form-status.ok { color: var(--gold-lt); }
.form-status.err { color: #ff9d8a; }

/* ---------- footer ---------- */
.site-footer { background: #0f0c0b; padding: 3.5rem 0 0; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.8rem; }
.footer-logo { height: 74px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.footer-col h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 1rem; font-size: 1rem; }
.footer-col a { display: block; color: var(--muted); padding: 0.3rem 0; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-phone { font-family: var(--font-display); font-size: 1.35rem; color: var(--cream) !important; letter-spacing: 0.02em; }
.footer-phone:hover { color: var(--gold) !important; }
.footer-areas { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  text-align: center;
}
.footer-bottom p { margin: 0.2rem 0; color: var(--muted); font-size: 0.85rem; }
.footer-bottom .fine { font-size: 0.78rem; opacity: 0.7; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 8, 7, 0.94);
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--cream);
  cursor: pointer; opacity: 0.8; transition: opacity 0.2s ease, color 0.2s ease;
}
.lightbox button:hover { opacity: 1; color: var(--gold); }
.lb-close { top: 1.4rem; right: 1.8rem; font-size: 2.6rem; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 2.4rem; padding: 1rem; }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    background: rgba(20,16,15,0.98);
    backdrop-filter: blur(12px);
    padding: 2rem 2.2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 1px solid var(--line);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a:not(.btn) { font-size: 1.15rem; }
  .nav-call { margin-top: 0.5rem; }

  .cards { grid-template-columns: 1fr; }
  .included-grid { grid-template-columns: 1fr; }
  .book-inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; text-align: left; }
  /* fixed backgrounds are janky on mobile */
  .book-section::before { background-attachment: scroll; }
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .pricing-note { flex-direction: column; text-align: center; align-items: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-wide { grid-column: span 1; }
}

/* ---------- accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
