/* ============================================
   Marsh Masters RV Park — Styles
   Palette: Deep Navy #1e3a5f · Warm Gold #c8a44e
   Fonts: Playfair Display (headings) + Inter (body)
============================================ */

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

:root {
  --navy:    #1e3a5f;
  --navy-dk: #142943;
  --navy-lt: #2a5280;
  --gold:    #c8a44e;
  --gold-dk: #b08d3a;
  --gold-lt: #dfc078;
  --white:   #ffffff;
  --off-white:#f7f5f0;
  --gray-50: #f9fafb;
  --gray-100:#f3f4f6;
  --gray-200:#e5e7eb;
  --gray-400:#9ca3af;
  --gray-600:#4b5563;
  --gray-800:#1f2937;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(30,58,95,.08);
  --shadow-md: 0 4px 16px rgba(30,58,95,.10);
  --shadow-lg: 0 8px 32px rgba(30,58,95,.14);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* SKIP LINK */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--navy); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius);
  z-index: 9999; font-size: .875rem;
}
.skip-link:focus { top: 12px; }

/* ============================================
   HEADER
============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex; align-items: center;
  height: 72px; gap: 32px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-footer { color: var(--white); }
.logo-accent { color: var(--gold); }
.logo-icon { flex-shrink: 0; }

.main-nav ul {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 16px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: var(--navy); background: var(--gray-100); }

/* NAV TOGGLE */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  position: relative; flex-shrink: 0;
}
.hamburger, .hamburger::before, .hamburger::after {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger { position: relative; margin: 0 auto; }
.hamburger::before { content: ''; position: absolute; top: -7px; left: 0; }
.hamburger::after  { content: ''; position: absolute; top:  7px; left: 0; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer; border: 2px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold); color: var(--navy-dk); border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dk); border-color: var(--gold-dk); color: var(--white); }

.btn-outline-light {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-outline-navy {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   SECTION HELPERS
============================================ */
.section-eyebrow {
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700; line-height: 1.2;
  color: var(--navy); margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--gray-600);
  max-width: 560px; line-height: 1.7;
}
.centered { text-align: center; }
.centered .section-subtitle { margin: 0 auto; }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,41,67,.82) 0%, rgba(30,58,95,.65) 50%, rgba(30,58,95,.45) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 720px; padding-top: 72px;
}
.hero-eyebrow {
  font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold); margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 700; line-height: 1.12;
  color: var(--white); margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  line-height: 1.7; margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  display: flex; justify-content: center;
}
.hero-scroll span {
  width: 4px; height: 8px;
  background: rgba(255,255,255,.7);
  border-radius: 2px; margin-top: 8px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%       { opacity: .3; transform: translateY(8px); }
}

/* ============================================
   ABOUT
============================================ */
.about { padding: 100px 0; background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-images { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-img-secondary {
  position: absolute; bottom: -32px; right: -24px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 4px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 280px; object-fit: cover; }
.about-badge {
  position: absolute; top: -20px; left: -16px;
  background: var(--navy); color: var(--white);
  padding: 16px 20px; border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: .85rem; font-weight: 600; line-height: 1.4;
}
.about-badge svg { flex-shrink: 0; color: var(--gold); }

.about-text .section-title { margin-bottom: 20px; }
.about-text > p {
  color: var(--gray-600); margin-bottom: 16px; line-height: 1.75;
}
.about-features {
  margin-top: 28px; display: grid; gap: 14px;
}
.about-features li {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem; font-weight: 500; color: var(--gray-800);
}

/* ============================================
   AMENITIES
============================================ */
.amenities {
  padding: 100px 0;
  background: var(--off-white);
}
.amenities-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.amenity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.amenity-icon {
  width: 56px; height: 56px;
  background: rgba(30,58,95,.06);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.amenity-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem; font-weight: 700;
  color: var(--navy); margin-bottom: 10px;
}
.amenity-card p {
  font-size: .9rem; color: var(--gray-600); line-height: 1.7;
}

/* ============================================
   LOCATION
============================================ */
.location { padding: 100px 0; background: var(--white); }
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.location-address {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 1.05rem; color: var(--gray-800);
  margin: 24px 0; line-height: 1.7;
}
.location-details { margin: 24px 0; display: grid; gap: 12px; }
.location-details li {
  display: flex; align-items: center; gap: 12px;
  font-size: .95rem;
}
.location-details a {
  color: var(--navy); font-weight: 500;
  transition: color var(--transition);
}
.location-details a:hover { color: var(--gold-dk); }
.location-note {
  font-size: .9rem; color: var(--gray-600);
  line-height: 1.75; margin-top: 24px;
  padding-top: 24px; border-top: 1px solid var(--gray-200);
}
.location-map {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.location-map img { width: 100%; height: 520px; object-fit: cover; }

/* ============================================
   CTA BANNER
============================================ */
.cta-banner {
  padding: 88px 0;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(200,164,78,.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 280px; }
.cta-title { color: var(--white); margin-bottom: 16px; }
.cta-text > p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem; line-height: 1.75;
  max-width: 480px;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ============================================
   CONTACT
============================================ */
.contact { padding: 100px 0; background: var(--off-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: start;
}
.contact-info .section-title { margin-bottom: 16px; }
.contact-info > p { color: var(--gray-600); margin-bottom: 28px; line-height: 1.75; }
.contact-details { display: grid; gap: 16px; }
.contact-details li {
  display: flex; align-items: center; gap: 14px;
  font-size: .95rem; color: var(--gray-800);
}
.contact-details a {
  color: var(--navy); font-weight: 500;
  transition: color var(--transition);
}
.contact-details a:hover { color: var(--gold-dk); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: grid; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: .85rem; font-weight: 600;
  color: var(--gray-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem; color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,164,78,.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  margin-top: 16px; padding: 14px 18px;
  background: rgba(30,58,95,.06);
  border: 1px solid rgba(30,58,95,.12);
  border-radius: var(--radius);
  font-size: .9rem; color: var(--navy);
  font-weight: 500;
}
.form-success.show { display: block; }

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--navy-dk);
  color: rgba(255,255,255,.7);
}
.footer-inner {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand p { margin-top: 16px; font-size: .9rem; line-height: 1.7; max-width: 300px; }
.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
}
.footer-links ul { display: grid; gap: 10px; }
.footer-links a {
  font-size: .9rem; color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: .9rem; line-height: 1.8; }
.footer-contact a {
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.4);
}

/* ============================================
   BACK TO TOP
============================================ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--navy); color: var(--white);
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--gold); color: var(--navy-dk); }

/* ============================================
   ANIMATIONS
============================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .location-grid,
  .contact-grid { gap: 40px; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .main-nav ul {
    flex-direction: column; gap: 4px;
    margin-left: 0;
  }
  .main-nav a { width: 100%; padding: 12px 16px; }

  .hero-content { padding-top: 88px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .about-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-img-secondary { right: 16px; bottom: -20px; }
  .about-img-main img { height: 320px; }

  .amenities-grid { grid-template-columns: 1fr; }

  .location-map img { height: 300px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-text > p { margin: 0 auto; }
  .cta-actions { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .about, .amenities, .location, .contact { padding: 72px 0; }
  .hero-title { font-size: 1.85rem; }
  .about-badge { top: -12px; left: -8px; padding: 12px 14px; font-size: .78rem; }
}
