/* ========================================
   FARLEYS CREEKSIDE RV PARK — Global Styles
   Aesthetic: Warm, natural, creek-inspired
   ======================================== */

:root {
  --color-forest: #1a3c2a;
  --color-forest-light: #2d5e3f;
  --color-sage: #6b8f71;
  --color-sage-light: #a3c4a8;
  --color-creek: #3a6b7c;
  --color-creek-light: #6ba3b5;
  --color-sand: #f5f0e8;
  --color-sand-dark: #e8dfd2;
  --color-bark: #5c4033;
  --color-bark-light: #8b6f5e;
  --color-cream: #faf8f4;
  --color-white: #ffffff;
  --color-charcoal: #2c2c2c;
  --color-text: #3a3530;
  --color-text-light: #6b6560;
  --color-gold: #c8973e;
  --color-gold-light: #e6c77a;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;

  --nav-height: 72px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26, 60, 42, 0.08);
  --shadow-md: 0 8px 32px rgba(26, 60, 42, 0.12);
  --shadow-lg: 0 16px 48px rgba(26, 60, 42, 0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ========== NAVIGATION ========== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 60, 42, 0.08);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-forest);
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--color-forest);
  background: rgba(26, 60, 42, 0.06);
}

.nav-links a.active {
  color: var(--color-white);
  background: var(--color-forest);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-forest);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(107, 163, 181, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(45, 94, 63, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(200, 151, 62, 0.06) 0%, transparent 80%),
    linear-gradient(175deg, var(--color-sand) 0%, var(--color-cream) 40%, var(--color-sand-dark) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a3c2a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--color-forest);
  line-height: 1.05;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-title span {
  display: block;
  color: var(--color-creek);
  font-weight: 600;
  font-size: 0.6em;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s ease-out 1.2s both;
}

.hero-scroll span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-sage), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-forest);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(26, 60, 42, 0.25);
}

.btn-primary:hover {
  background: var(--color-forest-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 42, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
}

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

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

/* ========== SECTION STYLES ========== */

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-forest);
  line-height: 1.15;
  margin-bottom: 20px;
}

/* ========== FEATURES ========== */

.features {
  padding: 120px 0;
  background: var(--color-white);
  position: relative;
}

.features .section-label,
.features .section-title {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid transparent;
  animation: fadeUp 0.6s ease-out var(--delay) both;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-sage-light);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 12px;
}

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

/* ========== HIGHLIGHT ========== */

.highlight {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.highlight-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-forest) 0%, var(--color-creek) 100%);
}

.highlight-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.highlight-content {
  position: relative;
  text-align: center;
  color: var(--color-white);
}

.highlight-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.highlight-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.highlight-content .btn-primary {
  background: var(--color-gold);
  color: var(--color-forest);
}

.highlight-content .btn-primary:hover {
  background: var(--color-gold-light);
}

/* ========== LOCATION ========== */

.location {
  padding: 120px 0;
}

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

.location-info p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  line-height: 1.8;
}

.location-address {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.address-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.address-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.address-item a {
  color: var(--color-creek);
  font-weight: 600;
  transition: var(--transition);
}

.address-item a:hover {
  color: var(--color-forest);
}

.location-map {
  position: relative;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--color-sand);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
}

/* ========== CTA ========== */

.cta {
  padding: 100px 0;
  background: var(--color-sand);
  text-align: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 16px;
}

.cta p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

/* ========== FOOTER ========== */

.footer {
  background: var(--color-forest);
  color: var(--color-white);
  padding: 80px 0 32px;
}

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

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--color-gold-light);
}

.footer-contact p {
  opacity: 0.7;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.5;
  font-size: 0.85rem;
}

/* ========== PAGE HEADERS (inner pages) ========== */

.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header .hero-bg {
  position: absolute;
  inset: 0;
}

.page-header .hero-overlay {
  position: absolute;
  inset: 0;
}

.page-header-content {
  position: relative;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-forest);
  margin-bottom: 12px;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  animation: fadeUp 0.6s ease-out 0.4s both;
}

/* ========== CONTENT SECTIONS ========== */

.content-section {
  padding: 80px 0;
}

.content-section:nth-child(even) {
  background: var(--color-white);
}

.content-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26, 60, 42, 0.06);
}

.content-card + .content-card {
  margin-top: 32px;
}

.content-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 16px;
}

.content-card p,
.content-card li {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.content-card ul {
  list-style: none;
  margin-top: 16px;
}

.content-card ul li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid var(--color-sand);
}

.content-card ul li:last-child {
  border-bottom: none;
}

.content-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-sage);
  font-weight: 700;
}

/* ========== RATES TABLE ========== */

.rates-table-wrap {
  overflow-x: auto;
  margin-top: 24px;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}

.rates-table thead th {
  background: var(--color-forest);
  color: var(--color-white);
  padding: 16px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.rates-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.rates-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.rates-table tbody td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-sand);
}

.rates-table tbody tr:hover {
  background: var(--color-sand);
}

.rates-table .rate-price {
  font-weight: 700;
  color: var(--color-forest);
  font-size: 1.15rem;
}

.rates-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(200, 151, 62, 0.08), rgba(200, 151, 62, 0.03));
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  color: var(--color-bark);
  font-weight: 500;
}

/* ========== RULES PAGE ========== */

.rule-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-sand);
}

.rule-item:last-child {
  border-bottom: none;
}

.rule-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--color-forest);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.rule-text {
  padding-top: 8px;
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.rule-text strong {
  color: var(--color-text);
}

/* ========== CONTACT FORM (visual only) ========== */

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

.contact-info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-sand);
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--color-text-light);
}

.contact-detail a {
  color: var(--color-creek);
  font-weight: 600;
}

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

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
  background: var(--color-sand);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* ========== CONTACT FORM ========== */

.contact-form {
  margin-top: 32px;
}

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

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

.form-group label .required {
  color: #c44;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-sand-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-cream);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c4033' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 4px rgba(107, 143, 113, 0.15);
  background: var(--color-white);
}

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

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

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

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
  font-size: 1.1rem;
  padding: 18px 32px;
}

.form-note {
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-forest);
  margin-bottom: 12px;
}

.form-success p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.form-success a {
  color: var(--color-creek);
  font-weight: 600;
}

/* Form validation states */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #d4614b;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: var(--color-sage);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ========== ANIMATIONS ========== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: var(--transition);
    border-bottom: 1px solid var(--color-sand-dark);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    border-radius: var(--radius);
  }

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

  .hero {
    min-height: 90vh;
  }

  .hero-scroll {
    display: none;
  }

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

  .content-card {
    padding: 32px 24px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}
