/*
Theme Name: Tal Bonvida Driving School
Theme URI: https://talbonvida.com
Description: Modern, immersive landing page for driving instructor Tal Bonvida
Author: Tal Bonvida
Version: 1.0
*/

/* CSS Variables - Design System */
:root {
  --background: 220 20% 8%;
  --foreground: 210 40% 98%;
  --card: 220 20% 10%;
  --card-foreground: 210 40% 98%;
  --primary: 210 100% 60%;
  --primary-foreground: 210 40% 98%;
  --accent: 160 60% 45%;
  --muted: 217 20% 25%;
  --muted-foreground: 215 20% 65%;
  --border: 217 20% 20%;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  direction: rtl;
}

/* Background Component */
.dashboard-background {
  position: fixed;
  inset: 0;
  z-index: -20;
  overflow: hidden;
}

.car-dashboard-image {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10;
}

.background-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, 
    hsla(var(--background), 0.95) 0%, 
    hsla(var(--background), 0.85) 50%, 
    hsla(var(--background), 0.95) 100%);
  z-index: -9;
}

.glowing-orb-1 {
  position: fixed;
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: hsla(var(--primary), 0.05);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -10;
  animation: pulse 4s ease-in-out infinite;
}

.glowing-orb-2 {
  position: fixed;
  bottom: 20%;
  right: 20%;
  width: 32rem;
  height: 32rem;
  background: hsla(var(--accent), 0.03);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -10;
  animation: pulse 6s ease-in-out infinite;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, 
    hsla(var(--background), 0.5), 
    hsla(var(--card), 0.5), 
    hsla(var(--background), 0.5));
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  animation: fade-in 0.6s ease-out;
}

.badge {
  display: inline-block;
  font-size: 1.125rem;
  padding: 0.5rem 1rem;
  background: hsla(var(--primary), 0.2);
  color: hsl(var(--primary));
  border: 1px solid hsla(var(--primary), 0.5);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(to left, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.5rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.description {
  font-size: 1.25rem;
  color: hsla(var(--foreground), 0.8);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* Buttons & Links */
.cta-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: hsl(var(--primary));
  opacity: 0.9;
  transform: translateY(-2px);
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.phone-link:hover {
  opacity: 0.8;
}

/* Card Component */
.card {
  background: hsl(var(--card));
  border: 1px solid hsla(var(--primary), 0.3);
  border-radius: 1rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.card-content {
  padding: 3rem;
}

/* Hero Image */
.hero-image-section {
  padding: 3rem 0;
  animation: slide-in-right 0.6s ease-out;
}

.hero-image-placeholder {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid hsla(var(--primary), 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  max-width: 56rem;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: hsla(var(--card), 0.5);
  backdrop-filter: blur(10px);
}

.placeholder-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.placeholder-icon {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1rem;
  background: hsla(var(--primary), 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About Section */
.about-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

.feature-list {
  list-style: none;
  max-width: 48rem;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: hsla(var(--foreground), 0.9);
}

.check-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-highlight {
  color: hsl(var(--primary));
  font-weight: 600;
}

.price-text {
  font-size: 1.125rem;
  color: hsla(var(--foreground), 0.9);
  margin-top: 1rem;
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  transition: all 0.3s ease;
  animation: fade-in 0.6s ease-out;
}

.stat-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  color: hsl(var(--primary));
  margin: 0 auto 1rem;
}

.stat-value {
  font-size: 2.25rem;
  font-weight: bold;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: hsla(var(--foreground), 0.8);
}

/* Testimonials */
.testimonials-section {
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  animation: fade-in 0.6s ease-out;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.star {
  color: hsl(var(--primary));
  font-size: 1.25rem;
}

.testimonial-text {
  color: hsla(var(--foreground), 0.9);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: hsl(var(--primary));
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
}

.cta-card {
  background: linear-gradient(to bottom right, 
    hsl(var(--card)), 
    hsla(var(--card), 0.5));
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  color: hsla(var(--foreground), 0.8);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  margin-top: 5rem;
  padding: 2rem 0;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive */
@media (min-width: 640px) {
  .cta-container {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 4.5rem;
  }
  
  .subtitle {
    font-size: 1.875rem;
  }
  
  .stats-grid,
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .cta-title {
    font-size: 3rem;
  }
}

/* Icon styles */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
}
