/* ================================================
   GLOBAL
================================================ */
*, *::before, *::after {
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1A1A1A;
  }
  
  a {
    text-decoration: none;
  }
  
  /* ================================================
     TYPOGRAPHY
  ================================================ */
  .font-display {
    font-family: 'Poppins', sans-serif;
  }
  
  .section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    color: #1A1A1A;
  }
  
  .section-divider {
    width: 48px;
    height: 3px;
    background: #EB0A1E;
    margin: 12px auto 0;
    border-radius: 2px;
  }
  
  .page-header {
    background: linear-gradient(135deg, #1A1A1A, #2D2D2D);
    color: white;
    padding: 56px 16px;
    text-align: center;
  }
  
  .page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .page-header p {
    color: #9CA3AF;
    font-size: 0.875rem;
  }
  
  /* ================================================
     BUTTONS
  ================================================ */
  .btn-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #EB0A1E;
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
    text-decoration: none;
  }
  
  .btn-red:hover {
    background: #C50819;
  }
  
  .btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
    text-decoration: none;
  }
  
  .btn-wa:hover {
    background: #1DA851;
  }
  
  /* ================================================
     HERO
  ================================================ */
  .hero-bg {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    position: relative;
    overflow: hidden;
  }
  
  .hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(235, 10, 30, 0.06));
    pointer-events: none;
  }
  
  /* ================================================
     CARDS
  ================================================ */
  .car-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
  }
  
  .car-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
  }
  
  .promo-card {
    border-left: 4px solid #EB0A1E;
  }
  
  /* ================================================
     BADGE
  ================================================ */
  .badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
  }
  
  .badge-green  { background: #DCFCE7; color: #16A34A; }
  .badge-blue   { background: #DBEAFE; color: #1D4ED8; }
  .badge-yellow { background: #FEF9C3; color: #CA8A04; }
  .badge-gray   { background: #F3F4F6; color: #374151; }
  .badge-red    { background: #FEE2E2; color: #DC2626; }
  
  /* ================================================
     PRICE TABLE
  ================================================ */
  .price-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .price-table th {
    background: #EB0A1E;
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  
  .price-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.875rem;
    color: #374151;
  }
  
  .price-table tr:hover td {
    background: #FEF2F2;
  }
  
  /* ================================================
     WHATSAPP FLOAT BUTTON
  ================================================ */
  .wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9000;
  }
  
  .wa-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, background 0.2s ease;
    animation: wa-pulse 2.5s infinite;
  }
  
  .wa-float a:hover {
    background: #1DA851;
    transform: scale(1.1);
  }
  
  @keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45); }
    50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75); }
  }
  
  /* ================================================
     SCROLL REVEAL
  ================================================ */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ================================================
     RESPONSIVE
  ================================================ */
  @media (max-width: 768px) {
    .section-title {
      font-size: 1.4rem;
    }
  
    .page-header h1 {
      font-size: 1.5rem;
    }
  
    .btn-red,
    .btn-wa {
      font-size: 13px;
      padding: 10px 20px;
    }
  }
/* Serah Terima — hide slider on desktop, hide grid on mobile */
@media (min-width: 768px) {
  .serah-swiper { display: none !important; }
  .serah-grid   { display: grid !important; }
}
@media (max-width: 767px) {
  .serah-grid { display: none !important; }
}

/* Color thumbnail — force square crop */
.color-thumb {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
}
.color-thumb img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Color main image — responsive height */
@media (min-width: 768px) {
  #gallery-colors .rounded-2xl[style] {
    height: 380px !important;
  }
}

/* Prevent CLS */
#navbar {
  min-height: 96px;
}
.banner-swiper {
  min-height: 200px;
}
.yt-lazy {
  display: block;
  background-color: #1a1a1a;
}
