/* ============================================
   Little Patch of Heaven RV Park — Styles
   Palette: Terracotta + Sand
   ============================================ */

:root {
  --terra-50:  #fdf0eb;
  --terra-100: #fbe2d6;
  --terra-200: #f5c4b0;
  --terra-300: #ed9e7e;
  --terra-400: #e07550;
  --terra-500: #d4562e;
  --terra-600: #c4411e;
  --terra-700: #a63218;
  --terra-800: #862b19;
  --terra-900: #6e2516;

  --sand-50:   #fdf8f0;
  --sand-100:  #faf0e0;
  --sand-200:  #f3e0c4;
  --sand-300:  #e8c9a0;
  --sand-400:  #d4a972;
  --sand-500:  #bf8f52;
  --sand-600:  #a47642;
  --sand-700:  #855e36;
  --sand-800:  #6b4c2e;
  --sand-900:  #563e27;

  --dark:      #1a1209;
  --dark-mid:  #2e2114;
  --gray-50:   #faf8f5;
  --gray-100:  #f3efe8;
  --gray-200:  #e8e0d4;
  --gray-300:  #d4c9b8;
  --gray-500:  #8a7e70;
  --gray-700:  #4a4038;
  --gray-900:  #2a231c;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 8px rgba(26,18,9,.08);
  --shadow-md: 0 6px 24px rgba(26,18,9,.10);
  --shadow-lg: 0 12px 48px rgba(26,18,9,.14);

  --font-body: 'Nunito', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--sand-50);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(253,248,240,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--terra-100);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--terra-700);
}
.nav-logo-icon {
  width: 28px; height: 28px;
  color: var(--terra-600);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .935rem;
  color: var(--gray-700);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--terra-50); color: var(--terra-700); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  background: var(--terra-700);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-cta {
  background: var(--terra-600);
  color: #fff;
  box-shadow: 0 4px 16px rgba(196,65,30,.3);
}
.btn-cta:hover {
  background: var(--terra-700);
  box-shadow: 0 6px 24px rgba(196,65,30,.4);
}

.btn-outline-light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.25);
  border-color: #fff;
}

.btn-sm { padding: 8px 18px; font-size: .875rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-lg-wide { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   TAG
   ============================================ */
.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terra-700);
  background: var(--terra-100);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 540px;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-sub { margin: 0 auto; }

/* ============================================
   SECTION SPACING
   ============================================ */
.section { padding: 96px 0; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  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(26,18,9,.72) 0%, rgba(110,37,22,.65) 100%);
}

.hero-card {
  position: relative;
  z-index: 1;
  background: rgba(253,248,240,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  max-width: 580px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(253,248,240,.3);
}

.hero-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--terra-700);
  background: var(--terra-100);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 18px;
}
.hero-title .accent {
  color: var(--terra-600);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Floating stat cards */
.hero-stats {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.stat-card {
  position: absolute;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.6);
  text-align: center;
  animation: float 4s ease-in-out infinite;
}
.stat-card:nth-child(1) { top: 12%; left: -40px; animation-delay: 0s; }
.stat-card:nth-child(2) { top: 55%; left: -60px; animation-delay: 1s; }
.stat-card:nth-child(3) { bottom: 18%; right: -50px; animation-delay: 2s; }
.stat-card:nth-child(4) { top: 8%; right: -30px; animation-delay: .5s; }

.stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--terra-600);
  line-height: 1;
}
.stat-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
  margin-top: 4px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--sand-50); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}
.about-img-main {
  width: 75%;
  height: 85%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: absolute;
  top: 0; left: 0;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-float {
  position: absolute;
  bottom: 0; right: 0;
  width: 58%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--sand-50);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }

.about-text .section-title { margin-top: 4px; }
.about-text p { color: var(--gray-700); margin-bottom: 16px; font-size: 1.02rem; }

.check-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .97rem;
  color: var(--gray-700);
}
.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--terra-100);
  border-radius: 50%;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c4411e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================
   AMENITIES
   ============================================ */
.amenities { background: var(--terra-50); }

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.amenity-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--terra-100);
  transition: transform .25s, box-shadow .25s;
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 56px; height: 56px;
  background: var(--terra-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.amenity-icon svg {
  width: 26px; height: 26px;
  color: var(--terra-700);
}

.amenity-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.amenity-card p {
  font-size: .935rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   LOCATION
   ============================================ */
.location { background: var(--sand-50); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.location-text .section-title { margin-top: 4px; }
.location-text p { color: var(--gray-700); margin-bottom: 24px; font-size: 1.02rem; }

.location-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.location-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: .97rem;
  color: var(--gray-700);
}
.location-list li strong { color: var(--terra-700); }

.location-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--terra-50);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  border: 1px solid var(--terra-100);
}
.location-address svg {
  width: 22px; height: 22px;
  color: var(--terra-600);
  flex-shrink: 0;
  margin-top: 2px;
}
.location-address strong { color: var(--gray-900); }
.location-address div { color: var(--gray-700); line-height: 1.6; }

.location-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ============================================
   CTA
   ============================================ */
.cta { background: var(--dark); padding: 80px 0; }

.cta-card {
  background: linear-gradient(135deg, var(--terra-700) 0%, var(--terra-900) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-content .section-title { color: #fff; margin-bottom: 14px; }
.cta-content p { color: var(--terra-200); font-size: 1.05rem; max-width: 460px; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--sand-100); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title { margin-top: 4px; }
.contact-info > p { color: var(--gray-500); margin-bottom: 32px; font-size: 1.02rem; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item svg {
  width: 24px; height: 24px;
  color: var(--terra-600);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-item strong { display: block; color: var(--gray-900); margin-bottom: 3px; }
.contact-item a { color: var(--terra-600); font-weight: 600; transition: color .2s; }
.contact-item a:hover { color: var(--terra-800); }

.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--terra-100);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: .97rem;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--gray-900);
  transition: border-color .2s, background .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terra-400);
  background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: #e8f5e9;
  border-radius: var(--radius-sm);
  color: #2e7d32;
  font-size: .95rem;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--sand-300);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo span { color: var(--sand-200); }
.footer-brand p { font-size: .935rem; line-height: 1.7; color: var(--sand-400); max-width: 300px; }

.footer h4 {
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--terra-300);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: .935rem;
  color: var(--sand-400);
  transition: color .2s;
}
.footer-links a:hover { color: var(--terra-300); }

.footer-contact p { font-size: .935rem; line-height: 1.8; color: var(--sand-400); }
.footer-contact a { color: var(--terra-300); font-weight: 600; transition: color .2s; }
.footer-contact a:hover { color: var(--terra-200); }

.footer-bottom {
  border-top: 1px solid rgba(253,248,240,.1);
  padding-top: 28px;
  text-align: center;
  font-size: .85rem;
  color: var(--sand-700);
}

/* ============================================
   REVEAL ANIMATIONS (below fold only)
   ============================================ */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .stat-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-stats { display: none; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; padding: 48px 36px; }
  .cta-actions { flex-direction: row; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(253,248,240,.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--terra-100);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .nav-toggle { display: flex; }

  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-card { padding: 32px 24px; }
  .hero-title { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: 64px 0; }

  .about-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { height: 360px; }

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

  .location-map iframe { width: 100%; height: 300px; }

  .cta-card { padding: 36px 24px; }
  .cta-actions { flex-direction: column; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-card { padding: 26px 18px; }
  .hero-title { font-size: 1.5rem; }
  .section-title { font-size: 1.6rem; }
}
