/* DV Rides - Fresh Site Builds Demo */

:root {
  --navy: #1b2d5c;
  --navy-dark: #111e3d;
  --green: #2d5a1b;
  --green-light: #3a7024;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --gold: #c8a030;
  --text: #1a1a2e;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* ── NAV ─────────────────────────────────────── */

.site-nav {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 4px;
}

.nav-logo span {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 6px !important;
}

.nav-cta:hover {
  background: var(--green-light) !important;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

/* ── HERO ─────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1568605117036-5fe5e7bab0b7?w=1600&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center 60%;
  opacity: 0.28;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
  max-width: 760px;
}

.hero-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  border-radius: 8px;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-motto {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

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

.btn-primary:hover {
  background: var(--green-light);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

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

.btn-navy:hover {
  background: var(--navy-dark);
}

/* ── MOTTO STRIPE ──────────────────────────────── */

.motto-stripe {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.motto-stripe span {
  color: var(--gold);
}

/* ── SECTIONS ─────────────────────────────────── */

.section {
  padding: 5rem 1.5rem;
}

.section-alt {
  background: var(--off-white);
}

.section-dark {
  background: var(--navy-dark);
  color: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.section-dark .section-label {
  color: var(--gold);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--navy-dark);
}

.section-dark h2 {
  color: var(--white);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-dark .section-intro {
  color: rgba(255,255,255,0.75);
}

/* ── CARDS GRID ───────────────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

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

.card-body {
  padding: 1.5rem;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.6rem;
}

.card-body p {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.card-link:hover {
  color: var(--green-light);
}

/* ── TWO COL SPLIT ────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.split-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.split-content .section-label {
  display: block;
  margin-bottom: 0.5rem;
}

.split-content h2 {
  margin-bottom: 1rem;
}

.split-content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

/* ── SCHEDULE TABLE ───────────────────────────── */

.schedule-list {
  list-style: none;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
}

.schedule-list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-time {
  font-weight: 700;
  color: var(--navy);
  min-width: 80px;
  font-size: 0.88rem;
}

.schedule-event {
  color: var(--text);
}

/* ── FEATURES LIST ────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.feature p {
  font-size: 0.88rem;
  color: var(--gray);
}

/* ── INFO BAND ────────────────────────────────── */

.info-band {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 1.5rem;
}

.info-band .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.info-band-item h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.info-band-item p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.info-band-item span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.15rem;
}

/* ── CTA BLOCK ────────────────────────────────── */

.cta-block {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--green) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 1.5rem;
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-block p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── PAGE HERO (inner pages) ──────────────────── */

.page-hero {
  background: var(--navy-dark);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero .section-label {
  color: var(--gold);
  font-size: 0.75rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 auto;
}

/* ── VENDORS GRID ─────────────────────────────── */

.vendors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.vendor-chip {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-dark);
  text-align: center;
}

/* ── CONTACT FORM ─────────────────────────────── */

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

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.contact-detail-icon {
  font-size: 1.2rem;
  width: 28px;
  text-align: center;
}

.contact-form {
  background: var(--off-white);
  border-radius: 12px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-light);
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
}

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

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

/* ── FOOTER ───────────────────────────────────── */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
}

.footer-brand span {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 280px;
}

.footer-motto {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ── RESPONSIVE ───────────────────────────────── */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.65rem 1rem;
    border-radius: 8px;
    width: 100%;
    display: block;
  }

  .nav-hamburger {
    display: block;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-img img {
    height: 240px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: 480px;
  }

  .hero-logo {
    width: 80px;
    height: 80px;
  }
}
