/* ===== Wellington Ridge Offroad Park – Core Styles ===== */
:root {
  --orange: #e85d04;
  --orange-dark: #d00000;
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --gray: #2a2a2a;
  --light-gray: #e5e5e5;
  --white: #ffffff;
  --text: #f0f0f0;
  --muted: #a0a0a0;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4, .logo-mark {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--orange);
  color: white;
}
.btn-primary:hover {
  background: var(--orange-dark);
}
.btn-outline {
  border-color: white;
  color: white;
  background: transparent;
}
.btn-outline:hover {
  background: white;
  color: var(--black);
}
.btn-secondary {
  background: var(--gray);
  color: white;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #333;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-mark {
  background: var(--orange);
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}
.logo-text {
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 600;
}
.main-nav {
  display: flex;
  gap: 1.75rem;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: var(--orange);
}
.header-cta { display: none; }
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 75vh;
  min-height: 520px;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.7)),
              url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?w=1600') center/cover;
  display: flex;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Features */
.features {
  padding: 4rem 0;
  background: var(--dark);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--gray);
  padding: 2rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  margin-bottom: 0.5rem;
  color: var(--orange);
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}
.section-header p {
  color: var(--muted);
}

/* Trail cards */
.trail-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.trail-card {
  background: var(--gray);
  padding: 1.75rem;
  border-radius: 8px;
  border-left: 4px solid var(--orange);
}
.trail-card h4 {
  margin-bottom: 0.5rem;
  color: var(--orange);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}
.cta-banner p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.location-list {
  list-style: none;
  margin: 1.5rem 0;
}
.location-list li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.location-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--orange);
}
.map-placeholder {
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray);
}

/* Footer */
.site-footer {
  background: var(--dark);
  padding-top: 3.5rem;
  border-top: 1px solid #333;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-logo { margin-bottom: 1rem; }
.footer-tagline { color: var(--muted); font-size: 0.9rem; }
.site-footer h4 {
  margin-bottom: 1rem;
  color: var(--orange);
}
.site-footer a {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #333;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta { display: inline-block; }
  .mobile-menu-btn { display: block; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { height: 65vh; }
}

/* ===== Trails Page Specific ===== */
.trail-map-container {
  background: var(--gray);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 3rem;
  overflow: auto;
}
.trail-map-svg {
  width: 100%;
  min-width: 700px;
  height: auto;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.legend-swatch {
  width: 18px;
  height: 18px;
  border-radius: 3px;
}

/* ===== Tickets Page ===== */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.ticket-card {
  background: var(--gray);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.ticket-card.featured {
  border: 2px solid var(--orange);
  position: relative;
}
.ticket-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}
.ticket-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0.5rem 0;
}
.ticket-price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 400;
}
.ticket-features {
  list-style: none;
  margin: 1.25rem 0 2rem;
  flex-grow: 1;
}
.ticket-features li {
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}
.ticket-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--dark);
  border: 1px solid #444;
  border-radius: 6px;
  color: white;
  font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

/* Shop */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}
.product-card {
  background: var(--gray);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-image {
  height: 220px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.product-info {
  padding: 1.25rem;
}
.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.product-price {
  color: var(--orange);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
}
