/* ==========================================================================
   CSS Variables - WHITE / RED / BLACK SPORTY COMMERCIAL THEME
   ========================================================================== */
:root {
  /* Colors */
  --bg-color: #f8f9fa; /* Off-white for slight contrast */
  --surface: #ffffff; /* Pure white for cards */
  --dark: #121212;
  --dark-hover: #222222;
  --primary: #CC0000; /* Striking Red */
  --primary-hover: #aa0000;
  --text-main: #333333;
  --text-light: #666666;
  --border: #e0e0e0;
  --white: #ffffff;
  
  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.text-red { color: var(--primary) !important; }
.text-center { text-align: center; }

/* ==========================================================================
   Sticky WhatsApp
   ========================================================================== */
.sticky-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366; /* WhatsApp Green */
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s;
  animation: pulse-green 2s infinite;
}

.sticky-whatsapp svg {
  width: 32px;
  height: 32px;
}

.sticky-whatsapp:hover {
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
  background-color: var(--dark);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.6rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-specs {
  display: flex;
  gap: 1.5rem;
  color: #cccccc;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  background: none;
  border: none;
  color: #888888;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.lang-btn.active, .lang-btn:hover {
  color: var(--primary);
}

.divider {
  color: #444444;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  background: var(--surface);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -1px;
  color: var(--dark);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0.8rem 1.8rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.3s, transform 0.1s;
}

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

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.banner {
  height: auto;
  min-height: 95vh;
  background: url('assets/images/hero_car.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0) 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 700px;
}

.banner-subtitle {
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  max-width: 500px;
}

.banner-btn {
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
}

/* Level 3.0 Lead Generation Booking Widget */
.booking-widget {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-top: 2rem;
  border-left: 4px solid var(--primary);
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 1.5rem;
  align-items: end;
}

.widget-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.widget-field label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
}

.widget-field input,
.widget-field select {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  height: 48px; /* Increased height slightly */
}

.widget-field input:focus,
.widget-field select:focus {
  border-color: var(--primary);
}

.widget-btn {
  padding: 0.8rem 2rem;
  height: 48px; /* match input height */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   USPs Banner Sub-header
   ========================================================================== */
.usp-bar {
  background-color: var(--dark);
  padding: 1.5rem 0;
}

.usp-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.usp-item {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Fleet Section & Filters
   ========================================================================== */
.fleet-section {
  padding: 5rem 0;
}

.fleet-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Filter Buttons */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.2s;
  text-transform: uppercase;
}

.filter-btn:hover {
  border-color: var(--dark);
}

.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

/* ==========================================================================
   Car Grid (Vertical Layout)
   ========================================================================== */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.car-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  border-color: #cccccc;
  transform: translateY(-3px);
}

.car-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  z-index: 10;
}

.image-wrapper {
  width: 100%;
  height: 220px;
  background: #fdfdfd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15); /* Baseline zoom to crop AI edges */
  transition: transform 0.4s ease-out;
}

.car-card:hover .image-wrapper img {
  transform: scale(1.22); /* Extra dynamic zoom on hover */
}

.car-details {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.car-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.car-class {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Micro-interaction Specs */
.car-specs-icons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.car-specs-icons span {
  font-size: 0.85rem;
  color: #777;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #f1f1f1;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

/* Outline style WA button for clean aesthetic */
.btn-wa-outline {
  display: block;
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0.8rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: all 0.3s;
  width: 100%;
}

.btn-wa-outline:hover {
  background: #25d366; /* Specific WhatsApp Green on hover */
  border-color: #25d366;
  color: var(--white);
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-accordion {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-btn:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s;
}

.faq-btn.active .faq-icon {
  transform: rotate(45deg); /* turns + into x */
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-content p {
  padding-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   About Us Section (Level 3.0)
   ========================================================================== */
.about-section {
  padding: 5rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

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

.about-content {
  max-width: 650px;
}

.about-text-wrap p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-highlight {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark) !important;
  margin-top: 2rem;
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
}

/* Floating animation for the car image in About */
.floating-img {
  animation: float-up-down 4s ease-in-out infinite;
}

@keyframes float-up-down {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   Marquee Reviews
   ========================================================================== */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: var(--primary);
  color: var(--white);
  padding: 1.2rem 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-block {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.footer-p {
  color: #aaaaaa;
  max-width: 400px;
  line-height: 1.6;
}

.footer-contact h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #dddddd;
  font-weight: 500;
}

.footer-bottom {
  background: #080808;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #777;
  font-weight: 600;
}

/* ==========================================================================
   GDPR Cookie Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(5px);
  color: var(--white);
  padding: 1rem 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s ease-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.9rem;
  color: #ccc;
  max-width: 800px;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner .btn-primary {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .booking-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .contact-specs { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
  .booking-grid { grid-template-columns: 1fr 1fr; }
  .widget-btn { grid-column: 1 / -1; }
  .banner-overlay {
      background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.9));
  }
}

@media (max-width: 600px) {
  .banner-title { font-size: 2.2rem; }
  .car-grid { grid-template-columns: 1fr; }
  .filter-group { justify-content: center; }
  .usp-grid { flex-direction: column; align-items: flex-start; }
  .sticky-whatsapp { bottom: 1rem; right: 1rem; width: 50px; height: 50px; }
  .booking-grid { grid-template-columns: 1fr; gap: 1rem; }
  .widget-btn { width: 100%; height: 50px; margin-top: 0.5rem; }
}
