﻿/* ==========================================================================
   Boarnerges Prestige Drive - Luxury Car Hire & Sales
   Main Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. ROOT VARIABLES & TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Color Palette */
  --obsidian: #000000;
  --gold: #D4AF37;
  --gold-hover: #b8972e;
  --ivory: #F7F7F7;
  --charcoal: #4A4A4A;
  --dark-bg: #0A0A0A;
  --card-bg: #111111;
  --gold-glow: rgba(212, 175, 55, 0.3);
  --gradient-gold: linear-gradient(135deg, #F9F295, #E0AA3E, #B88A44);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --------------------------------------------------------------------------
   1. RESET & GLOBAL STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--obsidian);
  color: var(--ivory);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ivory);
  font-weight: 700;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.section-padding {
  padding: 100px 0;
}

.gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   2. PRELOADER
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--obsidian);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  animation: autoDismissPreloader 0.4s ease 0.6s forwards;
  pointer-events: none;
}

@keyframes autoDismissPreloader {
  0% {
    opacity: 1;
    visibility: visible;
  }
  99% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}

.preloader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
  pointer-events: none !important;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.preloader-logo {
  max-width: 120px;
  height: auto;
  display: block;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(212, 175, 55, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* --------------------------------------------------------------------------
   3. NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(6, 6, 6, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(4, 4, 4, 0.96);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  transition: all var(--transition-normal);
}

.nav-logo:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
}

.nav-logo img {
  height: 42px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
  transition: transform var(--transition-normal);
}

.navbar.scrolled .nav-logo img {
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ivory);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 2px;
  font-weight: 500;
  font-family: var(--font-body);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-normal);
  opacity: 0.88;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--gold);
  opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
  opacity: 1;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  background: var(--gradient-gold);
  color: var(--obsidian);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 700;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
  transition: transform var(--transition-fast), box-shadow var(--transition-normal);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  color: var(--obsidian);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 110px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1563720223185-11003d516935?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0d0d0d;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 0.8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 35%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: auto;
  padding: 10px 20px;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 3.5px;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
  opacity: 0.95;
}

.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 700;
  font-family: var(--font-heading);
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--ivory);
  letter-spacing: 0.5px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

.hero-title .title-line {
  display: block;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--gold);
  margin-bottom: 16px;
  min-height: 1.6em;
  position: relative;
  display: inline-block;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-tagline::after {
  content: '|';
  color: var(--gold);
  animation: cursorBlink 0.8s infinite;
  margin-left: 4px;
}

.hero-tagline.typing-done::after {
  animation: cursorBlink 1.4s infinite;
}

.hero-description {
  color: rgba(247, 247, 247, 0.85);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.65;
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Primary, Secondary & Common Buttons */
.btn-primary {
  background-color: var(--gold);
  color: var(--obsidian);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-normal), transform var(--transition-fast), box-shadow var(--transition-normal);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  color: var(--obsidian);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--gold-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--gold);
  padding: 14px 32px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color var(--transition-normal), color var(--transition-normal), transform var(--transition-fast);
}

.btn-secondary:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(247, 247, 247, 0.6);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.hero-scroll-indicator i {
  animation: bounce 2s infinite;
  color: var(--gold);
  font-size: 0.75rem;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 65px);
  padding: 12px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.hero-stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.15;
}

.stat-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(247, 247, 247, 0.75);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   5. SECTION HEADERS
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 500;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-divider {
  width: 50px;
  height: 2px;
  background-color: var(--gold);
  margin: 0 auto 20px;
}

.section-divider.left {
  margin-left: 0;
}

.section-desc {
  color: var(--charcoal);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--dark-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 40px 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.service-icon i {
  font-size: 1.3rem;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--charcoal);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.learn-more {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition-normal);
  margin-top: auto;
}

.learn-more:hover {
  gap: 10px;
  color: var(--gold-hover);
}

/* --------------------------------------------------------------------------
   7. CAR SALES SECTION
   -------------------------------------------------------------------------- */
.car-sales-section {
  background-color: var(--obsidian);
}

.car-sales-header {
  text-align: center;
  margin-bottom: 60px;
}

.car-sales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sale-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.sale-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.sale-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #151515, #080808);
}

.sale-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sale-card:hover .sale-card-image img {
  transform: scale(1.05);
}

.sale-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--gold);
  color: var(--obsidian);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.sale-card-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sale-card-info h3 {
  font-size: 1.15rem;
  margin-bottom: 5px;
}

.sale-card-info .sale-category {
  font-size: 0.8rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.sale-card-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}

.sale-card-specs span {
  font-size: 0.8rem;
  color: rgba(247, 247, 247, 0.7);
  display: flex;
  align-items: center;
  gap: 5px;
}

.sale-card-specs i {
  color: var(--gold);
  font-size: 0.75rem;
}

.sale-card-price {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 15px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sale-card-price .price {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.sale-card-actions {
  display: flex;
  gap: 8px;
}

.sale-card-actions .btn-sm {
  font-size: 0.75rem;
}

.sale-placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  color: var(--gold);
  opacity: 0.5;
  background: #151515;
}

/* --------------------------------------------------------------------------
   8. FLEET SECTION
   -------------------------------------------------------------------------- */
.fleet-section {
  background-color: var(--dark-bg);
}

.fleet-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.fleet-filter-btn {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--ivory);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: var(--font-body);
}

.fleet-filter-btn.active,
.fleet-filter-btn:hover {
  background-color: var(--gold);
  color: var(--obsidian);
  border-color: var(--gold);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.fleet-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.fleet-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.fleet-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #141414;
}

.fleet-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fleet-card:hover .fleet-card-image img {
  transform: scale(1.05);
}

.fleet-card-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.fleet-card:hover .fleet-card-overlay {
  opacity: 1;
}

.fleet-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--gold);
  color: var(--obsidian);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.fleet-placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 200px;
  color: var(--gold);
  opacity: 0.5;
  background: #141414;
}

.fleet-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fleet-card-info h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.fleet-category {
  font-size: 0.75rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.fleet-card-details {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
}

.fleet-card-details span {
  font-size: 0.8rem;
  color: rgba(247, 247, 247, 0.6);
  display: flex;
  align-items: center;
  gap: 4px;
}

.fleet-card-details i {
  color: var(--gold);
  font-size: 0.7rem;
}

.fleet-card-price {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.fleet-card-price .price {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.fleet-card-price .price-period {
  color: var(--charcoal);
  font-size: 0.8rem;
}

.fleet-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  border: 1px dashed rgba(212, 175, 55, 0.2);
  border-radius: 8px;
}

.fleet-cta p {
  color: var(--charcoal);
  margin-bottom: 15px;
}

/* --------------------------------------------------------------------------
   9. EXPERIENCE SECTION
   -------------------------------------------------------------------------- */
.experience-section {
  position: relative;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
}

.experience-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.experience-section .container {
  position: relative;
  z-index: 1;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.experience-card {
  background-color: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 35px 25px;
  text-align: center;
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.experience-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-4px);
}

.experience-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience-icon i {
  color: var(--gold);
  font-size: 1.2rem;
}

.experience-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.experience-card p {
  color: var(--charcoal);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--obsidian);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-container {
  position: relative;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image-accent {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  z-index: -1;
}

.about-placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  color: var(--gold);
  background: #141414;
  border-radius: 8px;
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: -15px;
  background-color: var(--gold);
  color: var(--obsidian);
  padding: 18px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-text {
  color: rgba(247, 247, 247, 0.75);
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.about-text strong {
  color: var(--gold);
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 25px 0;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.about-feature i {
  color: var(--gold);
  font-size: 0.9rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  text-align: center;
}

.about-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.about-stat .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(247, 247, 247, 0.6);
}

/* --------------------------------------------------------------------------
   11. TESTIMONIALS SECTION
   -------------------------------------------------------------------------- */
.testimonials-section {
  background-color: var(--dark-bg);
}

.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 40px;
  text-align: center;
  transition: opacity 0.4s ease;
}

.testimonial-quote i {
  font-size: 2.5rem;
  color: rgba(212, 175, 55, 0.3);
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  color: rgba(247, 247, 247, 0.85);
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  overflow: hidden;
}

.author-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--charcoal);
  text-align: left;
}

.testimonial-rating {
  margin-top: 12px;
}

.testimonial-rating i {
  color: var(--gold);
  font-size: 0.85rem;
}

.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 25px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.dot.active {
  background-color: var(--gold);
  width: 25px;
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   12. BOOKING SECTION
   -------------------------------------------------------------------------- */
.booking-section {
  background-color: var(--obsidian);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.booking-info {
  padding: 20px 0;
}

.booking-desc {
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 20px;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 25px;
}

.booking-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-feature i {
  font-size: 1.3rem;
  color: var(--gold);
  width: 35px;
  text-align: center;
  flex-shrink: 0;
}

.booking-feature h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.booking-feature p {
  font-size: 0.8rem;
  color: var(--charcoal);
}

.booking-whatsapp {
  margin-top: 20px;
  padding: 18px;
  background-color: rgba(37, 211, 102, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.booking-whatsapp p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: rgba(247, 247, 247, 0.85);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background-color var(--transition-normal), transform var(--transition-fast);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  color: #ffffff;
  transform: translateY(-2px);
}

.booking-form-container {
  background-color: var(--card-bg);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 35px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.booking-form h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold);
  text-align: center;
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: rgba(247, 247, 247, 0.7);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ivory);
  padding: 12px 15px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.form-group select option {
  background-color: var(--card-bg);
  color: var(--ivory);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  width: 100%;
  background-color: var(--gold);
  color: var(--obsidian);
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color var(--transition-normal), transform var(--transition-fast);
}

.submit-btn:hover {
  background-color: var(--gold-hover);
  color: var(--obsidian);
  transform: translateY(-2px);
}

.form-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--charcoal);
  margin-top: 12px;
}

.form-disclaimer i {
  color: var(--gold);
  margin-right: 4px;
}

.form-status {
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  margin-top: 12px;
  font-size: 0.85rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(40, 167, 69, 0.15);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-status.error {
  display: block;
  background-color: rgba(220, 53, 69, 0.15);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* --------------------------------------------------------------------------
   13. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--dark-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color var(--transition-normal);
}

.contact-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.contact-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  color: var(--gold);
  font-size: 1.1rem;
}

.contact-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.85rem;
  color: rgba(247, 247, 247, 0.7);
}

.contact-card a {
  color: var(--gold);
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.75rem;
  color: var(--charcoal);
  margin-top: 4px;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background-color: #050505;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--ivory);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  height: 45px;
  width: auto;
}

.footer-about {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-size: 0.85rem;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background-color: var(--gold);
  color: var(--obsidian);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(247, 247, 247, 0.6);
  display: inline-block;
  transition: color var(--transition-normal), padding-left var(--transition-normal);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-newsletter-text {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-newsletter {
  display: flex;
  gap: 0;
}

.footer-newsletter input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  color: var(--ivory);
  padding: 10px 12px;
  border-radius: 4px 0 0 4px;
  font-size: 0.85rem;
  font-family: var(--font-body);
}

.footer-newsletter input:focus {
  border-color: var(--gold);
  outline: none;
}

.footer-newsletter button {
  background-color: var(--gold);
  color: var(--obsidian);
  border: none;
  padding: 10px 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.footer-newsletter button:hover {
  background-color: var(--gold-hover);
}

.footer-contact-info p {
  font-size: 0.8rem;
  color: var(--charcoal);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.footer-contact-info i {
  color: var(--gold);
  margin-right: 6px;
  width: 14px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--charcoal);
}

.footer-bottom-links a {
  color: var(--charcoal);
  margin-left: 20px;
  transition: color var(--transition-normal);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   15. WHATSAPP FLOATING BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: whatsapp-pulse 2s infinite;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  color: #333333;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   16. BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 95px;
  right: 33px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show,
.back-to-top:hover {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--gold);
  color: var(--obsidian);
}

/* --------------------------------------------------------------------------
   17. MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #111111;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-normal);
}

.modal-close:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   18. ANIMATIONS & SCROLL UTILITIES
   -------------------------------------------------------------------------- */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes cursorBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Progressive enhancement: hide before scroll only when JS is confirmed loaded */
body.js-ready .animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
}

body.js-ready .animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
/* Tablet Landscape & Medium Desktops (max-width: 1024px) */
@media (max-width: 1024px) {
  .services-grid,
  .fleet-grid,
  .car-sales-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Portrait & Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 240px;
    height: 100vh;
    background-color: var(--obsidian);
    border-left: 1px solid var(--gold);
    flex-direction: column;
    padding-top: 80px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 90px 15px 95px;
    min-height: 100vh;
  }

  .hero-title {
    font-size: clamp(1.9rem, 6vw, 2.6rem);
  }

  .hero-description {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    padding: 10px 18px;
    font-size: 0.78rem;
  }

  .hero-stats {
    gap: 15px;
    padding: 10px 12px;
  }

  .services-grid,
  .fleet-grid,
  .car-sales-grid,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .about-image-container {
    order: -1;
    margin-bottom: 30px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

/* Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}


/* --------------------------------------------------------------------------
   17B. VEHICLE GALLERY MODAL
   -------------------------------------------------------------------------- */
.modal-content.modal-gallery {
  max-width: 850px;
  width: 92%;
  max-height: 90vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  overflow-y: auto;
}

.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  padding-right: 30px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding-bottom: 10px;
}

.gallery-modal-header h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.5rem;
  margin: 0;
}

.gallery-modal-header .gallery-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ivory);
}

.gallery-main-view {
  position: relative;
  width: 100%;
  height: 420px;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
  z-index: 2;
}

.gallery-nav-btn:hover {
  background: var(--gold);
  color: var(--obsidian);
}

.gallery-nav-btn.prev { left: 12px; }
.gallery-nav-btn.next { right: 12px; }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.85rem;
  color: rgba(247, 247, 247, 0.9);
  letter-spacing: 0.5px;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gallery-thumb {
  width: 90px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
  background: #000;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  opacity: 0.9;
  border-color: rgba(212, 175, 55, 0.5);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.gallery-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-view-gallery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-view-gallery:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: var(--ivory);
}

.sale-card-gallery-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: var(--ivory);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s ease;
}

.sale-card-gallery-badge:hover {
  background: var(--gold);
  color: var(--obsidian);
}

@media (max-width: 768px) {
  .modal-content.modal-gallery {
    padding: 16px;
  }
  .gallery-main-view {
    height: 250px;
  }
  .gallery-thumb {
    width: 70px;
    height: 48px;
  }
}
/* --------------------------------------------------------------------------
   TRANSPORT SERVICES SECTION
   -------------------------------------------------------------------------- */
.transport-section {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}

.transport-section .fleet-card-price {
  justify-content: space-between;
  align-items: center;
}

.transport-section .fleet-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}


/* --------------------------------------------------------------------------
   SELL YOUR CAR (CONSIGNMENT & MARKETING) SECTION
   -------------------------------------------------------------------------- */
.sell-car-section {
  background: linear-gradient(180deg, #0A0A0A 0%, #121212 50%, #0A0A0A 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}

.sell-car-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.sell-step-card {
  background: var(--card-bg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 30px 24px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.sell-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
}

.sell-step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.25);
  transition: color var(--transition-normal);
}

.sell-step-card:hover .sell-step-num {
  color: var(--gold);
}

.sell-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.sell-step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--ivory);
  margin-bottom: 12px;
}

.sell-step-card p {
  color: #a3a3a3;
  font-size: 0.92rem;
  line-height: 1.6;
}

.sell-car-banner {
  margin-top: 50px;
  background: radial-gradient(circle at 10% 20%, rgba(30, 25, 10, 0.8) 0%, rgba(15, 15, 15, 0.95) 90%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.sell-banner-left h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--ivory);
  margin-bottom: 12px;
}

.sell-banner-left p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.sell-benefits-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sell-benefits-list li {
  color: var(--ivory);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sell-benefits-list li i {
  color: var(--gold);
  font-size: 0.95rem;
}

.sell-banner-right {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sell-banner-right h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--ivory);
}

.sell-banner-right p {
  color: #a3a3a3;
  font-size: 0.88rem;
  line-height: 1.5;
}

.sell-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   CSR (CORPORATE SOCIAL RESPONSIBILITY) SECTION
   -------------------------------------------------------------------------- */
.csr-section {
  background: linear-gradient(180deg, #0D0D0D 0%, #151515 50%, #0A0A0A 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
}

.csr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.csr-card {
  background: var(--card-bg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.csr-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 20px var(--gold-glow);
}

.csr-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.csr-metric-pill {
  display: inline-block;
  align-self: flex-start;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.csr-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--ivory);
  margin-bottom: 12px;
}

.csr-card p {
  color: #a3a3a3;
  font-size: 0.9rem;
  line-height: 1.6;
}

.csr-quote-banner {
  margin-top: 45px;
  background: radial-gradient(circle at 50% 50%, rgba(25, 20, 8, 0.85) 0%, rgba(12, 12, 12, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 35px 40px;
  text-align: center;
  position: relative;
}

.csr-quote-banner i.quote-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.8;
  display: inline-block;
}

.csr-quote-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ivory);
  max-width: 860px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.csr-quote-author {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   RESPONSIVE OVERRIDES FOR SELL-CAR & CSR
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .sell-car-steps,
  .csr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sell-car-banner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .sell-car-steps,
  .csr-grid {
    grid-template-columns: 1fr;
  }
  .sell-benefits-list {
    grid-template-columns: 1fr;
  }
  .sell-car-banner {
    padding: 24px;
  }
  .csr-quote-banner {
    padding: 24px 18px;
  }
  .csr-quote-text {
    font-size: 1.05rem;
  }
}

/* --------------------------------------------------------------------------
   PHOTO VIEWER — polish & mobile fit
   -------------------------------------------------------------------------- */
.modal-content.modal-gallery,
.modal-content.modal-gallery * {
  box-sizing: border-box;
}
.modal-content.modal-gallery {
  overflow-x: hidden;
}
.gallery-modal-header > div {
  min-width: 0;
}
.gallery-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: rgba(247, 247, 247, 0.65);
}
.gallery-hint b {
  color: var(--gold);
}
.gallery-main-view {
  touch-action: pan-y;
  user-select: none;
}
.gallery-modal-footer {
  gap: 12px;
  flex-wrap: wrap;
}
/* card photos are tappable */
.fleet-card-image img[data-gallery],
.sale-card-image img[data-gallery] {
  cursor: zoom-in;
}

@media (max-width: 600px) {
  .modal-content.modal-gallery {
    width: 96%;
    max-width: 96vw;
    max-height: 92vh;
    padding: 14px;
  }
  .gallery-modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-right: 36px;
  }
  .gallery-modal-header h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }
  .gallery-modal-header .gallery-price {
    font-size: 0.95rem;
    color: var(--gold);
  }
  .gallery-main-view {
    height: 46vh;
    max-height: 340px;
  }
  .gallery-nav-btn {
    width: 38px;
    height: 38px;
  }
  .gallery-modal-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .gallery-modal-footer .btn-primary {
    width: 100%;
    text-align: center;
  }
}
