/* ============================================
   IRONHORSE CAMPGROUND — Premium Dark Luxury
   Deep Navy (#070e1a) + Warm Gold (#c8a84e)
   ============================================ */

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

:root {
  --navy: #070e1a;
  --navy-light: #0d1a2e;
  --navy-mid: #111f36;
  --gold: #c8a84e;
  --gold-light: #dfc06e;
  --gold-dim: #a08535;
  --cream: #f5f0e8;
  --white: #ffffff;
  --text-light: #d4cfc4;
  --text-muted: #8a8578;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 168, 78, 0.1);
  transition: background var(--transition);
}

.nav.scrolled {
  background: rgba(7, 14, 26, 0.97);
  border-bottom-color: rgba(200, 168, 78, 0.2);
}

.nav-inner {
  max-width: 1280px;
  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: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: transparent !important;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  padding: 8px 20px !important;
  border-radius: 4px !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.06em !important;
  transition: background var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

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

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 14, 26, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--text-light);
  padding: 12px 24px;
  transition: color var(--transition);
}

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

.mobile-phone {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(200, 168, 78, 0.2);
}

.mobile-phone a {
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.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(7, 14, 26, 0.92) 0%,
    rgba(7, 14, 26, 0.75) 40%,
    rgba(7, 14, 26, 0.4) 70%,
    rgba(7, 14, 26, 0.6) 100%
  );
}

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

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
}

.hero-accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 168, 78, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 240, 232, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* Hero Right Card */
.hero-right { display: flex; flex-direction: column; gap: 24px; }

.hero-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.hero-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(7, 14, 26, 0.9));
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-stats {
  display: flex;
  background: var(--navy-light);
  border: 1px solid rgba(200, 168, 78, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.stat {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  background: rgba(200, 168, 78, 0.15);
}

/* Hero Scroll */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: float 2.5s ease-in-out infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

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

/* ---------- SECTIONS ---------- */
.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 20px;
}

.section-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* ---------- ABOUT ---------- */
.about {
  background: var(--navy);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 168, 78, 0.2), transparent);
}

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

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(200, 168, 78, 0.2);
  border-radius: 8px;
  z-index: -1;
}

.about-content { padding: 8px 0; }

.about-content .lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(200, 168, 78, 0.1);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
}

.feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- SITES ---------- */
.sites {
  background: var(--navy-light);
  position: relative;
}

.sites::before,
.sites::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 168, 78, 0.15), transparent);
}

.sites::before { top: 0; }
.sites::after { bottom: 0; }

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

.site-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy-mid);
  border: 1px solid rgba(200, 168, 78, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.site-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(200, 168, 78, 0.2);
}

.site-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.site-card-content {
  padding: 28px;
}

.site-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}

.site-card-content p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ---------- LOCATION ---------- */
.location {
  background: var(--navy);
  position: relative;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.location-content .lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 20px;
}

.location-content p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}

.location-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--text-light);
}

.location-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.location-map {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.location-map img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.map-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(7, 14, 26, 0.9);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid rgba(200, 168, 78, 0.2);
}

.map-overlay svg { width: 20px; height: 20px; flex-shrink: 0; }

.map-overlay span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--navy-light);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 168, 78, 0.15), transparent);
}

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

.contact-info .lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 36px;
}

.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;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-item a:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--navy-mid);
  border: 1px solid rgba(200, 168, 78, 0.1);
  border-radius: 8px;
  padding: 40px;
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 28px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy);
  border: 1px solid rgba(200, 168, 78, 0.15);
  border-radius: 4px;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--cream);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select {
  appearance: none;
  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='%23c8a84e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--navy);
  color: var(--cream);
}

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

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(200, 168, 78, 0.08);
  border: 1px solid rgba(200, 168, 78, 0.2);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--gold);
}

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

.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(200, 168, 78, 0.1);
  padding: 64px 0 32px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-contact a {
  color: var(--gold);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(200, 168, 78, 0.08);
  text-align: center;
}

.footer-bottom span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- SCROLL REVEAL (below fold only) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero-scroll { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-right { max-width: 480px; }

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

  .about-image-wrap img,
  .location-map img { height: 400px; }

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

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

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

  .hero { min-height: auto; padding-bottom: 80px; }

  .hero-inner {
    padding: 100px 24px 60px;
  }

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

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .hero-card img { height: 280px; }

  .hero-stats { flex-direction: column; }
  .stat-divider { height: 1px; width: auto; }

  .section { padding: 80px 0; }

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

  .form-row { grid-template-columns: 1fr; }

  .contact-form-wrap { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { text-align: left; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.75rem; }
  .hero-sub { font-size: 0.9375rem; }
  .section-title { font-size: 1.5rem; }
}
