:root {
  /* Dark Premium Palette */
  --bg-dark: #07090f;
  --bg-card: rgba(20, 24, 38, 0.6);
  --text-main: #f0f2f5;
  --text-muted: #a0a4b8;
  --primary: #0ea5e9;
  --primary-hover: #0284c7;
  --glow-primary: rgba(14, 165, 233, 0.4);
  --border-glass: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

.text-glow {
  color: var(--primary);
  text-shadow: 0 0 20px var(--glow-primary);
}

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

/* Base Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-primary);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 1px;
}

.logo-accent {
  color: var(--primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/driving_hero_1775390737275.png') center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(7, 9, 15, 0.95) 0%, rgba(7, 9, 15, 0.7) 50%, rgba(7, 9, 15, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  padding-top: 100px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* About Section */
.about-section {
  padding: 8rem 0;
  position: relative;
}

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

.about-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-list li {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.feature-list h4 {
  margin-bottom: 0.25rem;
}

.feature-list p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.visual-card {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.glow-sphere {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, var(--glow-primary) 0%, transparent 60%);
  opacity: 0.5;
  z-index: 1;
  animation: pulse 8s infinite alternate;
}

.floating-icon {
  width: 80%;
  z-index: 2;
  border-radius: 20px;
  /* animation: float 6s ease-in-out infinite; */
}

/* Packages Section */
.packages-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  color: var(--text-muted);
}

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

.pricing-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.featured {
  border-color: var(--primary);
}

.premium-card {
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.9) 0%, rgba(14, 165, 233, 0.1) 100%);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.2rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.card-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.price {
  margin: 2rem 0;
}

.price h2 {
  font-size: 3rem;
  color: var(--primary);
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.package-features {
  list-style: none;
  flex-grow: 1;
  margin-bottom: 2rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
}

.package-features li {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
}

.package-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.card-btn {
  width: 100%;
}

.terms-text {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 3rem;
  opacity: 0.7;
}

/* Areas & Contact */
.areas-section {
  padding: 8rem 0;
}

.areas-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
}

.pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.glass-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.glass-pill:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.contact-box {
  padding: 3rem;
}

.contact-box h3 {
  margin-bottom: 0.5rem;
}

.contact-box > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon {
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
}

.phone-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
}

.social-links {
  border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.social-btn {
  color: white;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: #1877F2; /* FB Blue */
  border-color: #1877F2;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 3rem 0;
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.brand p, .hours p, .copyright p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.3; }
  100% { transform: scale(1.1); opacity: 0.6; }
}

/* Initial States for Intersection Observer */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.slide-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.appear, .slide-up.appear { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .areas-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: -100%;
    flex-direction: column;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    width: 60%;
    border-radius: 20px;
    padding: 2rem;
    gap: 1.5rem;
    transition: 0.4s;
  }
  
  .nav-links.active {
    right: 2rem;
  }
  
  .nav-btn {
    display: none;
  }
  
  .hamburger {
    display: block;
    z-index: 101;
  }
  
  .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  
  .hero-actions {
    flex-direction: column;
  }
  
  h1 { font-size: 2.5rem; }
}

/* --- PWA: Banner Carousel --- */
.banner-carousel {
  width: 100%;
  overflow: hidden;
  background: var(--primary);
  color: white;
  padding: 0.5rem 0;
  white-space: nowrap;
  position: relative;
  z-index: 99;
}

.banner-track {
  display: inline-flex;
  animation: scrollBanner 20s linear infinite;
}

.banner-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.badge {
  background: white;
  color: var(--primary);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
}

@keyframes scrollBanner {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- PWA: Mobile Bottom Nav & Booking Modal --- */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 9, 15, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  padding: 0.5rem 1rem;
  padding-bottom: env(safe-area-inset-bottom, 1rem);
  z-index: 100;
  justify-content: space-around;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  transition: var(--transition-smooth);
}

.nav-item.active, .nav-item:hover {
  color: var(--primary);
}

.nav-item .icon {
  font-size: 1.5rem;
  background: none;
  border: none;
  width: auto;
  height: auto;
  margin-bottom: 0.2rem;
}

/* Modal */
.booking-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.booking-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 90%;
  max-width: 500px;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.booking-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  padding: 2rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: white;
  font-family: inherit;
}

.form-group input:focus {
  border-color: var(--primary);
  outline: none;
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.success-message {
  text-align: center;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .hamburger {
    display: none !important;
  }
  .bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
  
  .booking-modal {
    top: auto;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    width: 100%;
    border-radius: 24px 24px 0 0;
  }
  
  .booking-modal.active {
    transform: translateY(0);
  }
}
