/* ========================================
   Stoney Hill RV Park — Styles
   ======================================== */

/* --- Custom Properties --- */
:root {
  --forest: #3A5A40;
  --forest-light: #58815B;
  --forest-dark: #2C4530;
  --cream: #F5F1E8;
  --cream-light: #FAF8F3;
  --cream-dark: #E8E2D4;
  --sage: #A3B18A;
  --sage-light: #DAD7CD;
  --moss: #58815B;
  --sand: #D4C5A9;
  --bark: #3E2723;
  --white: #FFFFFF;
  --text-dark: #1A2E1A;
  --text-mid: #3D4F3D;
  --text-light: #6B7F6B;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(58, 90, 64, 0.06);
  --shadow-md: 0 8px 30px rgba(58, 90, 64, 0.1);
  --shadow-lg: 0 20px 60px rgba(58, 90, 64, 0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--cream-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  line-height: 1.2;
  color: var(--text-dark);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* --- Section Eyebrow --- */
.section-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--sage);
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-ghost:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(58, 90, 64, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(250, 248, 243, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
}

.nav-logo-icon {
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--forest);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--forest);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--forest) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--forest-dark) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--forest);
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--forest);
  padding: 8px;
}

.mobile-link {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  color: var(--text-dark);
  padding: 12px 24px;
  transition: var(--transition);
}

.mobile-link:hover {
  color: var(--forest);
}

.mobile-cta {
  margin-top: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem !important;
  background: var(--forest);
  color: var(--white) !important;
  padding: 14px 32px;
  border-radius: 50px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 50%, #EEF2E8 100%);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(163, 177, 138, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(58, 90, 64, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--forest-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--sage);
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 28px;
  color: var(--text-dark);
}

.hero-headline .accent {
  color: var(--forest);
  position: relative;
}

.hero-headline .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(163, 177, 138, 0.35);
  z-index: -1;
  border-radius: 4px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--sage-light);
}

.hero-image {
  position: relative;
  min-height: 600px;
}

.hero-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 680/860;
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-float {
  position: absolute;
  bottom: -30px;
  left: -40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 260px;
  border: 4px solid var(--cream-light);
}

.hero-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--forest);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

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

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

.about-images {
  position: relative;
}

.about-img-1 {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 520/640;
}

.about-img-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-2 {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 260px;
  border: 4px solid var(--cream-light);
}

.about-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-accent-box {
  position: absolute;
  top: -20px;
  right: 40px;
  background: var(--forest);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-md);
}

.about-accent-box svg {
  margin-bottom: 4px;
}

.about-accent-box span {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.about-content .section-eyebrow {
  margin-bottom: 12px;
}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

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

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-mid);
}

.about-features li svg {
  flex-shrink: 0;
}

/* --- Sites --- */
.sites {
  background: var(--cream);
  padding: 100px 0;
}

.sites-header {
  text-align: center;
  margin-bottom: 60px;
}

.sites-header .section-eyebrow {
  justify-content: center;
}

.sites-header .section-eyebrow::before {
  display: none;
}

.sites-header .section-subtitle {
  margin: 0 auto;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.site-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.site-card-img {
  overflow: hidden;
  aspect-ratio: 560/340;
}

.site-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-card:hover .site-card-img img {
  transform: scale(1.05);
}

.site-card-body {
  padding: 28px 32px 32px;
}

.site-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.site-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Surroundings --- */
.surroundings {
  background: var(--cream-light);
  padding: 100px 0;
}

.surroundings-header {
  text-align: center;
  margin-bottom: 60px;
}

.surroundings-header .section-eyebrow {
  justify-content: center;
}

.surroundings-header .section-eyebrow::before {
  display: none;
}

.surroundings-header .section-subtitle {
  margin: 0 auto;
}

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

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

.surroundings-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.surroundings-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.surroundings-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(26, 46, 26, 0.8) 0%, transparent 100%);
  color: var(--white);
}

.surroundings-item-content h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.surroundings-item-content p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* --- Testimonial --- */
.testimonial {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonial-quote {
  margin: 0 auto 28px;
  opacity: 0.5;
}

.testimonial-text {
  font-family: 'Lora', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  margin-bottom: 36px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.author-detail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Contact --- */
.contact {
  background: var(--cream-light);
  padding: 100px 0;
}

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

.contact-intro {
  color: var(--text-light);
  font-size: 1.02rem;
  margin-bottom: 36px;
}

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

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

.contact-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.detail-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.detail-link {
  transition: var(--transition);
}

.detail-link:hover {
  color: var(--forest);
}

.contact-map {
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream-light);
  transition: var(--transition);
  outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(58, 90, 64, 0.08);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  background: rgba(58, 90, 64, 0.06);
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

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

.form-success p {
  font-size: 0.95rem;
  color: var(--forest);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-logo {
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 40px;
    padding: 60px 24px 100px;
  }

  .hero-image {
    min-height: 480px;
  }

  .about-grid {
    gap: 56px;
  }

  .sites-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 60px 24px 80px;
    gap: 48px;
  }

  .hero-image {
    order: -1;
    min-height: 360px;
  }

  .hero-img-float {
    width: 180px;
    left: -10px;
    bottom: -20px;
  }

  .hero-stats {
    gap: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-2 {
    width: 200px;
    right: -10px;
    bottom: -20px;
  }

  .about-accent-box {
    right: 20px;
    top: -10px;
  }

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

  .surroundings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero-headline {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-stat-divider {
    display: none;
  }

  .site-card-body {
    padding: 20px 24px 24px;
  }
}
