/* ============================================================
   RoadHelp — towtheme.css (enhanced, formatted)
   - Accessibility, mobile nav, utilities, dark mode
   - Styles for booking flash + admin lists
   ============================================================ */

:root {
  --primary: #FF6B35;
  --primary-dark: #E55627;
  --secondary: #4ECDC4;
  --accent: #FFD166;
  --dark: #1A1A2E;
  --light: #F7F7FF;
  --gray: #EDEDED;
  --success: #06D6A0;
  --warning: #EF476F;
  --info: #118AB2;
  --danger: #D90429;
  --muted: #6b7280;

  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Focus ring */
  --ring: rgba(255, 107, 53, 0.35);
  --ring-offset: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: var(--ring-offset);
  border-radius: 6px;
}

.visually-hidden,
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.hidden {
  display: none !important;
}

h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

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

section {
  padding: 100px 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn i {
  margin-right: 8px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: var(--gray);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(255, 209, 102, 0.4);
}

.btn-accent:hover {
  background: #FFC233;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 209, 102, 0.5);
}

/* New variants */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover {
  filter: brightness(0.95);
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: #0b141a;
}

.btn-warning {
  background: var(--warning);
  color: #fff;
}

/* Section title */
.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--gradient);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  font-size: 18px;
}

/* Header / Nav */
header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transition);
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.logo i {
  margin-right: 10px;
  font-size: 32px;
}

.logo span {
  color: var(--dark);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 30px;
  position: relative;
}

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  padding: 8px 0;
  position: relative;
}

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

.nav-links a:hover:after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-sep {
  width: 1px;
  height: 18px;
  background: #ddd;
  margin: 0 14px;
  display: inline-block;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
}

/* Hero background image only */
.hero {
  background: url('../images/car_trouble.png') center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 150px 0 120px;
  position: relative;
  overflow: hidden;
}

/* Put your content above overlays */
.hero > * { position: relative; z-index: 2; }

/* Fixed dimming overlay (strong, readable) */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.68) 0%, rgba(15,23,42,.78) 100%);
  pointer-events: none;
  z-index: 0; /* below the wave & text */
}

/* Keep your existing wave at the bottom */
.hero:before {
  content: '';
  position: absolute;
  bottom: -50px; left: 0; width: 100%; height: 100px;
  background:
    url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23f7f7ff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23f7f7ff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23f7f7ff"/></svg>')
    center / cover no-repeat;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 64px;
  margin: 0 0 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 22px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 36px;
  color: var(--accent);
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
}


/* Services */
.services {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.services:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f7f7ff" fill-opacity="1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>')
      bottom / cover no-repeat;
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover:after {
  opacity: 0.05;
}

.service-icon {
  background: var(--gradient);
  color: #fff;
  font-size: 42px;
  padding: 30px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  margin: 0 0 15px;
  color: var(--dark);
  font-size: 22px;
}

.service-content p {
  color: #666;
  margin: 0 0 20px;
  font-size: 16px;
}

.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.book-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Features */
.features {
  background: var(--light);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 36px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.feature-card p {
  color: #666;
}

/* How It Works */
.how-it-works {
  background: #fff;
  position: relative;
}

.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 60px;
  position: relative;
}

.steps:before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gray);
  z-index: 0;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.step h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.step p {
  color: #666;
}

/* Testimonials */
.testimonials {
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.testimonials:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background:
    url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>')
      center / cover no-repeat;
  z-index: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: rgba(255, 107, 53, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin: 0 0 25px;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--primary);
}

.author-info strong {
  display: block;
  margin-bottom: 5px;
}

.author-info span {
  color: #666;
  font-size: 14px;
}

.rating {
  color: var(--accent);
  margin-top: 5px;
}

/* CTA */
.cta-section {
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>')
      center / cover no-repeat;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 42px;
  margin: 0 0 20px;
}

.cta-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 18px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: var(--dark);
  color: #fff;
  padding: 80px 0 30px;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column h3 {
  font-size: 20px;
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
}

.footer-column p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin: 12px 0;
}

.footer-column a {
  color: #ddd;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-column a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-column a i {
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Booking Screen */
.booking-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: none;
  overflow-y: auto;
}

.booking-screen.open {
  display: block;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.booking-title {
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
}

.booking-title i {
  color: var(--primary);
}

.booking-close {
  background: #f1f1f1;
  border: 0;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.booking-close:hover {
  background: var(--primary);
  color: #fff;
}

.booking-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

.booking-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 25px;
}

#bookingMap {
  height: 520px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.map-placeholder {
  height: 520px;
  border-radius: 12px;
  border: 1px dashed #e5e7eb;
  background:
    repeating-linear-gradient(
      45deg,
      #fafafa,
      #fafafa 10px,
      #f3f4f6 10px,
      #f3f4f6 20px
    );
  display: grid;
  place-items: center;
  color: #6b7280;
  font-size: 14px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.muted {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
}

.price-box {
  background: #f8fafc;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.breakdown {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}

.total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.25rem;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}

.pay-btn {
  width: 100%;
  margin-top: 20px;
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.pay-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.pay-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.inline-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.help {
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}

/* Flash / Toast (used by #bookingFlash) */
#bookingFlash,
.flash {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.flash-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.flash-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}

.flash-warning {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #7c2d12;
}

/* Utilities: cards, tables, badges, grid */
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card-header {
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
}

.card-body {
  padding: 18px;
}

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

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.table th {
  background: #fafafa;
  font-weight: 700;
}

.table tr:hover td {
  background: #fcfcfc;
}

.badge,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-primary {
  background: rgba(255, 107, 53, 0.12);
  color: var(--primary);
}

.badge-success {
  background: rgba(6, 214, 160, 0.12);
  color: #0f5132;
}

.badge-warning {
  background: rgba(239, 71, 111, 0.1);
  color: var(--warning);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.6s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 52px;
  }

  .section-title h2 {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .booking-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #bookingMap,
  .map-placeholder {
    height: 400px;
  }
}

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

  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    overflow-y: auto;
  }

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

  .nav-links li {
    margin: 15px 0;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 18px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .steps {
    flex-direction: column;
  }

  .steps:before {
    display: none;
  }

  .step {
    margin-bottom: 40px;
  }

  .step:after {
    content: '↓';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 24px;
  }

  .step:last-child:after {
    display: none;
  }

  .stat-item {
    padding: 15px 20px;
  }

  .stat-number {
    font-size: 28px;
  }

  .cta-section h2 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .stat-item {
    width: 100%;
    justify-content: center;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title h2:after {
    width: 40px;
    height: 3px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* Motion reduction */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optional dark mode */
@media (prefers-color-scheme: dark) {
  body {
    background: #0f172a;
    color: #e5e7eb;
  }

  header {
    background: #0b1220;
  }

  .nav-links a {
    color: #e5e7eb;
  }

  .service-card,
  .feature-card,
  .booking-card,
  .card {
    background: #0f172a;
    border-color: #172036;
  }

  .table th {
    background: #0b1220;
  }

  .price-box {
    background: #0b1220;
    border-color: #172036;
  }

  .flash {
    background: #0b1220;
    border-color: #172036;
    color: #e5e7eb;
  }
}
