/* ========================================
   Spencer H&C RV Park — Stylesheet
   ======================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --cream-50: #fefdf8;
  --cream-100: #fefce8;
  --cream-200: #fef9c3;
  --cream-300: #fde68a;
  --sand-100: #faf6f0;
  --sand-200: #f5efe5;
  --sand-300: #e8dfd3;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Nunito', sans-serif;
  color: var(--stone-800);
  background-color: var(--cream-50);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  line-height: 1.25;
  color: var(--stone-900);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

.text-center { text-align: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-600);
  color: #fff;
  border-color: var(--emerald-600);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  background: var(--emerald-700);
  border-color: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.btn-outline-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--emerald-700);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--emerald-600);
  color: #fff;
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-nav:hover {
  background: var(--emerald-700);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

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

/* ---------- SECTION HELPERS ---------- */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald-600);
  background: var(--emerald-50);
  border: 1.5px solid var(--emerald-200);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.text-emerald {
  color: var(--emerald-600);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--stone-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 253, 248, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(254, 253, 248, 0.96);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--stone-800);
}

.amp {
  color: var(--emerald-600);
  font-style: italic;
}

/* ---------- NAV ---------- */
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--stone-700);
  transition: all var(--transition);
}

.nav-list a:not(.btn):hover {
  background: var(--emerald-50);
  color: var(--emerald-700);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.nav-toggle:hover {
  background: var(--emerald-50);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--stone-700);
  position: relative;
  transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: 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(
    to bottom,
    rgba(4, 30, 20, 0.55) 0%,
    rgba(5, 50, 35, 0.50) 50%,
    rgba(4, 25, 18, 0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.text-gradient {
  background: linear-gradient(135deg, var(--emerald-200), var(--cream-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
}

.trust-item svg {
  color: var(--emerald-400);
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0;
  background: var(--cream-50);
}

.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-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img {
  transform: scale(1.03);
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--cream-50);
}

.about-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  right: 30px;
  background: var(--emerald-600);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.exp-number {
  display: block;
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.exp-label {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.9;
  line-height: 1.3;
}

.about-content .section-title {
  margin-top: 8px;
}

.about-text {
  color: var(--stone-600);
  font-size: 1.02rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--emerald-50);
  border: 1.5px solid var(--emerald-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-feature strong {
  display: block;
  font-size: 0.95rem;
  color: var(--stone-800);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 0.88rem;
  color: var(--stone-500);
  line-height: 1.6;
}

/* ---------- AMENITIES ---------- */
.amenities {
  padding: 100px 0;
  background: var(--sand-100);
}

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

.amenity-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
  transition: all var(--transition);
}

.amenity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-200);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.amenity-card:hover .amenity-icon {
  background: var(--emerald-600);
  color: #fff;
  transform: scale(1.05);
}

.amenity-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--stone-800);
  margin-bottom: 10px;
}

.amenity-card p {
  font-size: 0.92rem;
  color: var(--stone-500);
  line-height: 1.7;
}

/* ---------- GALLERY ---------- */
.gallery {
  padding: 100px 0;
  background: var(--cream-50);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 56px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item--large {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.gallery-item--large img {
  height: 100%;
  min-height: 420px;
}

.gallery-item:not(.gallery-item--large) img {
  height: 200px;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ---------- LOCATION ---------- */
.location {
  padding: 100px 0;
  background: var(--sand-100);
}

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

.location-content .section-title {
  margin-top: 8px;
}

.location-text {
  color: var(--stone-600);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

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

.location-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.location-detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--emerald-50);
  border: 1.5px solid var(--emerald-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-detail strong {
  display: block;
  font-size: 0.9rem;
  color: var(--stone-800);
  margin-bottom: 4px;
}

.location-detail p {
  font-size: 0.9rem;
  color: var(--stone-500);
  line-height: 1.6;
  white-space: pre-line;
}

.location-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}

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

/* ---------- CONTACT ---------- */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-700) 50%, var(--emerald-600) 100%);
  color: #fff;
}

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

.contact .section-tag {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: var(--emerald-200);
}

.contact .section-title {
  color: #fff;
  margin-top: 8px;
}

.contact-text {
  color: rgba(255,255,255,0.82);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact-method:hover {
  background: rgba(255,255,255,0.14);
  transform: translateX(6px);
}

.contact-method-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-method strong {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
}

.contact-method p {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
}

/* ---------- FORM ---------- */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--stone-800);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--stone-700);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--stone-200);
  border-radius: var(--radius-md);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  color: var(--stone-800);
  background: var(--cream-50);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--emerald-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone-300);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--emerald-50);
  border: 1.5px solid var(--emerald-200);
  border-radius: var(--radius-md);
  margin-top: 16px;
}

.form-success.show {
  display: flex;
}

.form-success p {
  font-size: 0.92rem;
  color: var(--emerald-700);
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--stone-900);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.3rem;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 300px;
  color: rgba(255,255,255,0.55);
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--emerald-400);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer-contact a {
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--cream-50);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 28px 40px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-list a {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 1rem;
  }

  .nav-list a:not(.btn):hover {
    background: var(--emerald-50);
  }

  .btn-nav {
    text-align: center;
    margin-top: 12px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }

  .nav-overlay.show {
    display: block;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    max-width: 500px;
  }

  .about-img-secondary {
    right: -10px;
    bottom: -20px;
    width: 160px;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-item--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-item--large img {
    min-height: 260px;
  }

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

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .hero-content {
    padding: 100px 18px 80px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  .about {
    padding: 70px 0;
  }

  .amenities {
    padding: 70px 0;
  }

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

  .gallery {
    padding: 70px 0;
  }

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

  .gallery-item:not(.gallery-item--large) img {
    height: 220px;
  }

  .location {
    padding: 70px 0;
  }

  .contact {
    padding: 70px 0;
  }

  .contact-form-wrap {
    padding: 28px 22px;
  }

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
