/* Global Page Background Sync */
body {
  background: var(--bg-main);
}


/* ================= HERO CINEMATIC EFFECT ================= */
.hero {
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  transition: transform 8s ease;
}

.hero:hover img {
  transform: scale(1.1);
}

/* ================= HERO SECTION (HOME) ================= */

/* Hero section styles moved to global common.css */

/* hero car background area */
.hero.hero--home::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("images/blackcar.jpg") no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  opacity: 1;
}

.hero.hero--home::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
  animation: overlayReveal 4s ease forwards;
}

@keyframes overlayReveal {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* CAR ANIMATION */
.hero-car {
  position: absolute;
  bottom: 0;
  right: -150%;
  width: auto;
  height: 92vh;
  z-index: 5;
  opacity: 0;
  animation: carSweep 4s linear forwards;
}

@keyframes carSweep {
  0% {
    right: -150%;
    opacity: 1;
  }

  50% {
    right: 30%;
    opacity: 1;
  }

  100% {
    right: 120%;
    opacity: 1;
  }
}


/* ================= HERO TEXT (HOME) ================= */

.hero.hero--home .hero-content {
  position: absolute;
  top: 52%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 600px;
  z-index: 6;
  opacity: 0;
  animation: textFollow 5.1s ease forwards;
  animation-delay: 2.5s;
}

@keyframes textFollow {
  0% {
    opacity: 0;
    transform: translate(80px, -50%);
  }

  100% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.hero.hero--home .hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #f6f6f6;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 1px;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.9);
}

.hero.hero--home .hero-content p {
  font-size: 20px;
  color: rgba(241, 241, 241, 0.9);
  margin-top: 12px;
  margin-bottom: 25px;
  font-weight: 500;
}


/* ================= BUTTONS ================= */

.hero-buttons {
  display: flex;
  gap: 18px;
}

.btn {
  padding: 15px 34px;
  border-radius: 40px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.25s;
}

.book-btn {
  display: inline-block;
  background: linear-gradient(45deg, #d4af37, #f2d57c);
  color: #000;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.book-btn:hover {
  background: #fff;
  transform: translateY(-3px);
}

.primary {
  background: linear-gradient(135deg, #FFD76A, #D4AF37);
  color: black;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 106, 0.45);
}

.secondary {
  background: transparent;
  color: #111;
  border: 2px solid #FFD76A;
}

.secondary:hover {
  background: #FFD76A;
  color: black;
}

/* ===============================
   PREMIUM SERVICES SECTION (CLEAN UI)
================================ */
.services-section {
  padding: 80px 20px;
  background: #0f0f0f;
  color: #fff;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 5vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #ffd700;
  letter-spacing: 1px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 215, 0, 0.3);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin-bottom: 10px;
  color: #ffd700;
  font-size: 1.2rem;
  font-weight: 700;
}

.service-content p {
  font-size: 14px;
  opacity: 0.8;
  color: #ccc;
  line-height: 1.5;
}

.service-content ul {
  margin-top: 15px;
  padding-left: 0;
  list-style: none;
}

.service-content li {
  font-size: 14px;
  margin: 8px 0;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-content li::before {
  content: "✔";
  color: #ffd700;
  font-weight: bold;
}

/* ================= ABOUT SECTION ================= */

.about {
  padding: 80px 20px;
  text-align: center;
  background: #0b1022;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media(max-width:768px) {
  .hero.hero--home .hero-content h1 {
    font-size: 42px;
  }

  .hero-car {
    height: 48vh;
    right: -45%;
  }
}

/* ================= MOBILE (<=480px) ================= */
@media (max-width: 480px) {
  .hero.hero--home {
    height: 84vh;
    padding-left: 0;
  }

  .hero.hero--home .hero-content {
    left: 6%;
    right: 6%;
    max-width: none;
    top: 54%;
  }

  .hero.hero--home .hero-content h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  .hero.hero--home .hero-content p {
    font-size: 16px;
  }

  .poster-section {
    padding: 28px 14px;
  }

  .services-section {
    margin: 60px auto 70px;
    padding: 0 14px;
  }

  .service-image {
    height: 200px;
  }

  .about-card {
    padding: 26px 18px;
  }
}

/* promo section */
.promo-section {
  padding: 60px 20px;
}

.promo-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.promo-content h1,
.promo-content h3 {
  color: #1e3799;
  margin-bottom: 10px;
}

.promo-content p {
  color: #333;
  margin-bottom: 18px;
}

/* footer columns */
/* ================= POSTER SLIDER ================= */

.poster-section {
  max-width: 1200px;
  margin: 60px auto 40px;
  padding: 40px 20px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: posterReveal 0.8s ease forwards;
  animation-delay: 0.8s;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: #FFD76A;
  margin-bottom: 25px;
}

.updates-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  /* Ensure vertical stability */
  padding: 0 60px;
  /* Space for arrows */
}

.updates-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 1;
  max-width: 980px;
}

.updates-item {
  border-radius: 18px;
  overflow: hidden;
}

.updates-item img {
  display: block;
  width: 100%;
  height: 480px;
  /* Fixed height for stability */
  object-fit: contain;
  /* Show the whole image, no cropping */
  background: rgba(0, 0, 0, 0.4);
  /* Dark background for pillarbox/letterbox areas */
}

.updates-item--main {
  flex: 0 0 55%;
  max-width: 720px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.updates-item--side {
  flex: 0 0 18%;
  max-width: 260px;
  filter: blur(3px) brightness(0.85);
  opacity: 0.7;
  transform: scale(0.92);
}

.updates-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(135deg, #FFD76A, #D4AF37);
  color: #111;
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.updates-arrow--prev {
  left: 10px;
}

.updates-arrow--next {
  right: 10px;
}

.updates-arrow:hover,
.updates-arrow:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.85);
  background: linear-gradient(135deg, #FFE89A, #E2C256);
}

.updates-arrow:focus-visible {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.7),
    0 14px 30px rgba(0, 0, 0, 0.85);
}

.updates-data {
  display: none;
}

@media (max-width: 900px) {
  .updates-slider {
    gap: 10px;
  }

  .updates-frame {
    gap: 8px;
  }

  .updates-item--side {
    display: none;
  }

  .updates-item--main {
    flex: 1 1 auto;
  }
}

@keyframes posterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= ABOUT CARD ================= */

.about-box {
  margin: 50px 0 80px;
}

/* ================= CONTACT ================= */

.contact-box {
  text-align: center;
  margin: 70px 0;
  color: white;
}


.call-btn {
  display: inline-block;
  margin: 20px 0;
  padding: 16px 38px;
  border-radius: 40px;
  background: #27ae60;
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

.call-btn:hover {
  background: #1f8f4c;
}

.email {
  opacity: 0.85;
  margin-top: 10px;
}

/* ===== NAVBAR STYLE ===== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 22px 0;
  font-weight: 500;
}

.nav a {
  text-decoration: none;
  color: #e6e6e6;
  font-size: 17px;
  position: relative;
  transition: 0.3s;
}

/* gold underline animation */
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #d4af37;
  transition: 0.35s;
}

.nav a:hover::after {
  width: 100%;
}

/* Social Icons buttons */
.social-icons {
  margin-left: 40px;
  display: flex;
  gap: 12px;
}

.social-icons a {
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 14px;
  background: #1a1a1a;
  border: 1px solid #333;
}

/* ================= HERO REFLECTION EFFECT ================= */

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  display: block;
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: lightSweep 5s infinite;
}

@keyframes lightSweep {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* ================= PREMIUM FEATURED CARS (HOME) ================= */
.fleet-preview {
  padding-bottom: 120px !important;
}

.fleet-preview .car-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); /* Bigger cards */
  max-width: 1400px;
  gap: 50px;
  padding: 60px 40px;
  margin: 0 auto;
}

/* Glassmorphism & High-End Card Polish */
.fleet-preview .car-card {
  background: rgba(18, 18, 18, 0.75); 
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  padding: 0;
  overflow: hidden;
}

.fleet-preview .car-card:hover {
  transform: translateY(-25px) scale(1.05); /* Smooth Lift & Scale */
  border-color: var(--accent);
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 
              0 0 40px rgba(250, 204, 21, 0.15);
}

/* Heroic Image Container */
.fleet-preview .car-image-container {
  height: 260px; /* Bigger vertical presence */
  background: linear-gradient(180deg, #050505 0%, #151515 100%);
}

.fleet-preview .car-card img {
  height: 260px;
  padding: 20px;
  object-fit: contain;
}

/* Bold Highlighted Pricing */
.fleet-preview .car-card .price {
  font-size: 30px; /* Extra Bold Pricing */
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -0.8px;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
  margin-top: auto;
  margin-bottom: 25px;
}

.fleet-preview .car-card .car-content {
  padding: 40px; /* Premium breathing room */
  display: flex;
  flex-direction: column;
}

.fleet-preview .car-card h3 {
  font-size: 26px; /* Larger Title */
  margin-bottom: 12px;
  font-weight: 800;
}

.fleet-preview .car-card .car-description {
  font-size: 15px;
  line-height: 1.8;
  height: 85px; /* Adjusted for larger text */
  margin-bottom: 30px;
  opacity: 0.9;
}

.fleet-preview .car-card .badge-group {
  margin-bottom: 25px;
}

.fleet-preview .car-card .car-features {
  margin-bottom: 30px;
}

/* Mobile Adjustments for Big Cards */
@media (max-width: 480px) {
  .fleet-preview .car-grid {
    grid-template-columns: 1fr;
    padding: 30px 15px;
    gap: 30px;
  }
}

