/* ===================================
   QUALI-DRIVE FAHRSCHULE
   Modern, Dynamic Driving School Website
   =================================== */

/* CSS VARIABLES */
:root {
  /* Colors */
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-light: #E3F2FD;
  --accent: #2196F3;
  --dark: #0A0A0A;
  --dark-2: #1A1A2E;
  --text: #1C1C1C;
  --text-muted: #6B7280;
  --white: #FFFFFF;
  --border: #E5E7EB;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 100px;
  --section-padding-mobile: 60px;

  /* Border Radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow: 0 4px 24px rgba(21, 101, 192, 0.12);
  --shadow-lg: 0 10px 40px rgba(21, 101, 192, 0.15);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* CONTAINER */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 12px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

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

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ===================================
   NAVIGATION
   =================================== */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.main-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--text);
  position: relative;
}

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

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

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  padding: 12px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
}

.mobile-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-cta {
  background: var(--primary);
  color: var(--white) !important;
  text-align: center;
}

.mobile-cta:hover {
  background: var(--primary-dark) !important;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.85) 0%, rgba(10, 10, 10, 0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #64B5F6 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 0.95;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--white));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(10px); }
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

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

.about-content {
  order: 1;
}

.about-image {
  order: 2;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.badge-float strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.badge-float span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.about-content .btn {
  margin-top: 12px;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.stat-item {
  padding: 24px;
}

.stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.stat-icon svg {
  color: var(--accent);
}

/* ===================================
   WHY SECTION
   =================================== */
.why-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-card {
  padding: 40px 32px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  background: var(--white);
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.why-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius);
  margin-bottom: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  color: var(--white);
}

.why-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.why-text {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================
   PRICING PREVIEW SECTION
   =================================== */
.pricing-preview {
  padding: var(--section-padding) 0;
  background: linear-gradient(to bottom, var(--white) 0%, var(--primary-light) 100%);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.price-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}

.price-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.price-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--primary);
}

.price-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.pricing-cta {
  text-align: center;
}

/* ===================================
   REVIEWS SECTION
   =================================== */
.reviews-section {
  padding: 100px 0;
  background: var(--white);
}

.reviews-stat {
  text-align: center;
  margin-bottom: 60px;
}

.stat-stars {
  font-size: 3rem;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.stat-rating {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-count {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.08);
}

.review-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.review-stars {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #FFA000;
  letter-spacing: 2px;
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-align: right;
}

/* ===================================
   SUCCESS PHOTOS SECTION
   =================================== */
.success-section {
  padding: 100px 0;
  background: var(--primary-light);
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.success-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--border);
  transition: var(--transition);
}

.success-photo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.success-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.success-placeholder svg {
  opacity: 0.3;
  margin-bottom: 12px;
}

.success-placeholder p {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.6;
}

/* When real photos are added, use this style:
.success-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
*/

/* ===================================
   CTA BANNER
   =================================== */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   FOOTER
   =================================== */
.main-footer {
  padding: 60px 0 32px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
}

.footer-copyright {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-credit {
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-credit a {
  color: var(--accent);
}

.footer-credit a:hover {
  text-decoration: underline;
}

.footer-contact,
.footer-address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-contact svg,
.footer-address svg {
  flex-shrink: 0;
  color: var(--accent);
}

.footer-contact a {
  color: var(--accent);
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
}

.footer-links a {
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ===================================
   ANIMATIONS - DISABLED FOR CLEANER UX
   =================================== */
.slide-left,
.slide-right,
.fade-in {
  opacity: 1;
  transform: none;
}

.slide-left.visible,
.slide-right.visible,
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .about-grid,
  .why-grid,
  .price-grid,
  .reviews-grid,
  .success-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: 1;
  }

  .about-content {
    order: 2;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

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

  .price-amount {
    font-size: 2rem;
  }

  .stat-rating {
    font-size: 2.5rem;
  }

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

  .review-card {
    padding: 24px;
  }
}
