/* ============================================
   D&S Driving School — Bold Road Sign Theme
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --asphalt: #141414;
  --asphalt-light: #1a1a1a;
  --asphalt-mid: #222222;
  --highway-yellow: #FFD700;
  --highway-yellow-dim: rgba(255, 215, 0, 0.15);
  --highway-yellow-glow: rgba(255, 215, 0, 0.08);
  --white: #ffffff;
  --white-dim: rgba(255, 255, 255, 0.85);
  --white-muted: rgba(255, 255, 255, 0.6);
  --lane-stripe: rgba(255, 255, 255, 0.12);
  --green-go: #22c55e;
  --green-go-dark: #16a34a;
  --red-stop: #ef4444;
  --amber-caution: #f59e0b;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--asphalt);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   HEADER — Sticky with road-stripe bottom
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--highway-yellow);
  padding: 12px 0;
}

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

.header-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--highway-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
}

.header-logo span {
  color: var(--white);
  font-weight: 400;
}

.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  color: var(--white-dim);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s;
}
.header-nav a:hover { color: var(--highway-yellow); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-go);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.header-cta:hover {
  background: var(--green-go-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--highway-yellow);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ============================================
   HERO — Road-inspired, centered, bold
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 215, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(34, 197, 94, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt-mid) 100%);
}

/* Road stripe decorations */
.hero::before {
  content: '';
  position: absolute;
  left: 8%;
  top: 15%;
  bottom: 15%;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--highway-yellow) 0px,
    var(--highway-yellow) 40px,
    transparent 40px,
    transparent 70px
  );
  opacity: 0.3;
}

.hero::after {
  content: '';
  position: absolute;
  right: 8%;
  top: 15%;
  bottom: 15%;
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--highway-yellow) 0px,
    var(--highway-yellow) 40px,
    transparent 40px,
    transparent 70px
  );
  opacity: 0.3;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--highway-yellow-dim);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--highway-yellow);
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s ease-out;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 8px;
  animation: fadeSlideUp 0.8s ease-out 0.1s both;
}

.hero-title .highlight {
  color: var(--highway-yellow);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--white-muted);
  margin-bottom: 28px;
  font-weight: 300;
  animation: fadeSlideUp 0.8s ease-out 0.2s both;
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

.stars {
  display: flex;
  gap: 4px;
}
.star {
  width: 24px;
  height: 24px;
  background: var(--highway-yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.rating-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white-dim);
  letter-spacing: 1px;
}
.rating-text strong { color: var(--highway-yellow); font-size: 1.3rem; }

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-go);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(34, 197, 94, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}
.btn-primary:hover {
  background: var(--green-go-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--highway-yellow);
  padding: 16px 36px;
  border-radius: 8px;
  border: 2px solid var(--highway-yellow);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: var(--highway-yellow);
  color: var(--asphalt);
  transform: translateY(-2px);
}

/* Trust badges below hero */
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s ease-out 0.5s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white-muted);
}
.trust-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--highway-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--asphalt);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   SECTION DIVIDER — Road stripe
   ============================================ */
.road-divider {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--highway-yellow) 0px,
    var(--highway-yellow) 60px,
    transparent 60px,
    transparent 90px
  );
  opacity: 0.4;
}

/* ============================================
   ABOUT / WHY US SECTION
   ============================================ */
.section {
  padding: 80px 0;
  position: relative;
}

.section--dark {
  background:
    radial-gradient(ellipse at 80% 50%, var(--highway-yellow-glow) 0%, transparent 60%),
    var(--asphalt-light);
}

.section--darker {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(34, 197, 94, 0.04) 0%, transparent 60%),
    var(--asphalt-mid);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--highway-yellow);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--highway-yellow);
  opacity: 0.4;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1.1;
}

/* About split */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--white-dim);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.stat-card {
  background: var(--asphalt-mid);
  border: 1px solid var(--lane-stripe);
  border-left: 4px solid var(--highway-yellow);
  padding: 24px;
  border-radius: 8px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--highway-yellow);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white-muted);
  margin-top: 4px;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--lane-stripe);
}

.about-photo-grid img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--asphalt-mid);
  border: 1px solid var(--lane-stripe);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--highway-yellow);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--highway-yellow-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--highway-yellow);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--white-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.featured-testimonial {
  background: var(--asphalt-mid);
  border: 1px solid var(--lane-stripe);
  border-left: 6px solid var(--highway-yellow);
  padding: 48px;
  border-radius: 12px;
  margin-bottom: 40px;
  position: relative;
}

.featured-testimonial::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--highway-yellow);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 30px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.15rem;
  color: var(--white-dim);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--highway-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--asphalt);
}

.author-info strong {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  display: block;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--white-muted);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  background: var(--asphalt-mid);
  border: 1px solid var(--lane-stripe);
  padding: 32px;
  border-radius: 12px;
  transition: border-color 0.3s;
}
.testimonial-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
}

.testimonial-card .stars {
  margin-bottom: 16px;
}
.testimonial-card .star { width: 16px; height: 16px; }

.testimonial-card p {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

/* ============================================
   PHOTO GALLERY
   ============================================ */
.photo-band {
  display: flex;
  gap: 8px;
  overflow: hidden;
  padding: 0;
}

.photo-band img {
  flex: 0 0 auto;
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

/* ============================================
   HOURS & CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--lane-stripe);
}

.hours-table td {
  padding: 14px 0;
  font-size: 1rem;
}

.hours-table td:first-child {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white-dim);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--white);
  font-weight: 600;
}

.hours-table tr.closed td:last-child {
  color: var(--red-stop);
}

.contact-info-block {
  background: var(--asphalt-mid);
  border: 1px solid var(--lane-stripe);
  border-radius: 12px;
  padding: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-item:last-child { margin-bottom: 0; }

.contact-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--highway-yellow-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--highway-yellow);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}
.contact-item a:hover { color: var(--white); }

.contact-item .label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white-muted);
  margin-bottom: 4px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 60%),
    var(--asphalt);
  border-top: 4px solid var(--highway-yellow);
}

.cta-section .section-title { margin-bottom: 16px; }

.cta-section p {
  color: var(--white-muted);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone-big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--highway-yellow);
  text-decoration: none;
  display: block;
  margin-bottom: 24px;
  transition: color 0.3s;
}
.cta-phone-big:hover { color: var(--green-go); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--asphalt);
  border-top: 1px solid var(--lane-stripe);
  padding: 40px 0 24px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--highway-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--highway-yellow); }

.footer-copy {
  color: var(--white-muted);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============================================
   FLOATING CTA (Mobile)
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--green-go);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
  font-size: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: pulse-glow 2s ease-in-out infinite;
}
.floating-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.5);
}

/* Chevron decorative element */
.chevron-deco {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 20px 0;
  opacity: 0.3;
}
.chevron-deco span {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-right: 3px solid var(--highway-yellow);
  border-bottom: 3px solid var(--highway-yellow);
  transform: rotate(-45deg);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 24px rgba(34, 197, 94, 0.3); }
  50% { box-shadow: 0 4px 32px rgba(34, 197, 94, 0.5); }
}

/* Counter animation */
.counter { display: inline-block; }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

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

@media (max-width: 768px) {
  .header-nav { display: none; }
  .mobile-menu-btn { display: block; }

  .hero { min-height: 100svh; padding: 100px 20px 60px; }
  .hero::before, .hero::after { display: none; }

  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }

  .hero-trust { gap: 16px; }
  .trust-item { font-size: 0.75rem; }

  .section { padding: 60px 0; }
  .section-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }

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

  .featured-testimonial { padding: 28px; }
  .featured-testimonial::before { font-size: 4rem; top: 5px; left: 15px; }
  .testimonial-text { font-size: 1rem; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .about-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-photo-grid img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .about-photo-grid img:first-child {
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .photo-band img { width: 200px; height: 150px; }
  .photo-band .scroll-dupe { display: none; }

  .stat-number { font-size: 2rem; }

  .cta-phone-big { font-size: clamp(1.6rem, 6vw, 2.5rem); }
}

@media (max-width: 480px) {
  .header-logo { font-size: 1.2rem; letter-spacing: 1px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 16px; }
  .stat-number { font-size: 1.6rem; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--asphalt); }
::-webkit-scrollbar-thumb {
  background: var(--highway-yellow);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #e6c200; }
