/* =============================================
   ANUGRAH RENT CAR - Premium CSS
   Luxury Gold Premium Theme
   ============================================= */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap");

/* ====== CSS VARIABLES ====== */
:root {
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #b8941e;
  --gold-glow: rgba(212, 175, 55, 0.3);
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-3: #334155;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray: #94a3b8;
  --gray-dark: #475569;
  --font-main: "Poppins", sans-serif;
  --font-display: "Playfair Display", serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====== RESET & BASE ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ====== UTILITY CLASSES ====== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-gold {
  color: var(--gold);
}
.text-dark {
  color: var(--dark);
}
.text-white {
  color: var(--white);
}
.text-center {
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
}

.btn-white:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

.btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Section Header */
.section-header {
  margin-bottom: 60px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--gold);
}

.section-subtitle {
  color: var(--gray-dark);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Gold Divider */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 20px 0;
}

.gold-divider.center {
  margin: 20px auto;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold);
}

.nav-link.active::after {
  width: 100%;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--dark);
  z-index: 2000;
  padding: 80px 30px 30px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-link:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ====== HERO SECTION ====== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/hero3.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.75) 50%,
    rgba(15, 23, 42, 0.85) 100%
  );
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 60%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);

  /* mobile: allow badge to wrap to next line instead of causing horizontal scroll */
  max-width: 100%;
  flex-wrap: wrap;
  white-space: normal;

  animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

/* ====== CITY SECTION ====== */
.cities-section {
  background: var(--gray-light);
  padding: 100px 0;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.city-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: var(--transition);
}

.city-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.city-card:hover img {
  transform: scale(1.08);
}

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.2) 60%,
    transparent 100%
  );
  transition: var(--transition);
}

.city-card:hover .city-card-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.4) 60%,
    rgba(212, 175, 55, 0.05) 100%
  );
}

.city-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}

.city-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.9);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.city-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.city-highlights {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.city-card:hover .city-highlights {
  opacity: 1;
  transform: translateY(0);
}

.city-highlight-tag {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.city-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.city-card:hover .city-arrow {
  opacity: 1;
  transform: scale(1);
}

/* Large card for first item */
.city-card.featured {
  grid-column: span 2;
}

/* ====== KEUNGGULAN SECTION ====== */
.keunggulan-section {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.keunggulan-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.06) 0%,
    transparent 70%
  );
}

.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.keunggulan-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.keunggulan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.keunggulan-card:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.25);
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(212, 175, 55, 0.1);
}

.keunggulan-card:hover::before {
  transform: scaleX(1);
}

.keunggulan-icon {
  width: 64px;
  height: 64px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 1.6rem;
  transition: var(--transition);
}

.keunggulan-card:hover .keunggulan-icon {
  background: rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.keunggulan-title {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.keunggulan-desc {
  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ====== LAYANAN SECTION ====== */
.layanan-section {
  padding: 100px 0;
  background: var(--white);
}

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.layanan-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.layanan-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.layanan-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}

.layanan-card:hover::after {
  transform: scaleX(1);
}

.layanan-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.layanan-card:hover .layanan-icon {
  background: var(--gold);
  color: var(--dark);
}

.layanan-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.layanan-desc {
  color: var(--gray-dark);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ====== ARMADA SECTION ====== */
.armada-section {
  padding: 100px 0;
  background: var(--gray-light);
}

.armada-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vehicle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.vehicle-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-light);
}

.vehicle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vehicle-card:hover .vehicle-img-wrap img {
  transform: scale(1.06);
}

.vehicle-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.vehicle-body {
  padding: 24px;
}

.vehicle-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.vehicle-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.service-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-lepas {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.badge-driver {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.badge-allin {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.vehicle-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-dark);
  font-size: 0.82rem;
}

.vehicle-spec i {
  color: var(--gold);
  font-size: 0.9rem;
  width: 16px;
}

.vehicle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.vehicle-price {
  display: flex;
  flex-direction: column;
}

.vehicle-price-label {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vehicle-price-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold-dark);
}

.btn-detail {
  background: var(--dark);
  color: var(--white);
  font-size: 0.82rem;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}

.btn-detail:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ====== GALLERY SECTION ====== */
.galeri-section {
  padding: 100px 0;
  background: var(--dark);
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.galeri-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.galeri-item.tall {
  grid-row: span 2;
}

.galeri-item.wide {
  grid-column: span 2;
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeri-item:not(.tall) img {
  height: 220px;
}

.galeri-item.tall img {
  height: 100%;
}

.galeri-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white);
  font-size: 2rem;
}

.galeri-item:hover img {
  transform: scale(1.08);
}

.galeri-item:hover .galeri-overlay {
  background: rgba(15, 23, 42, 0.6);
}

/* ====== ARTICLE SECTION ====== */
.artikel-section {
  padding: 100px 0;
  background: var(--white);
}

.artikel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.artikel-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.artikel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.artikel-img {
  height: 200px;
  overflow: hidden;
}

.artikel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.artikel-card:hover .artikel-img img {
  transform: scale(1.05);
}

.artikel-body {
  padding: 24px;
}

.artikel-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.artikel-category {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.artikel-date {
  color: var(--gray);
  font-size: 0.78rem;
}

.artikel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s;
}

.artikel-card:hover .artikel-title {
  color: var(--gold-dark);
}

.artikel-excerpt {
  color: var(--gray-dark);
  font-size: 0.83rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

.artikel-read {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.artikel-card:hover .artikel-read {
  gap: 10px;
}

/* ====== TESTIMONIAL SECTION ====== */
.testimoni-section {
  padding: 100px 0;
  background: var(--gray-light);
  overflow: hidden;
}

.testimoni-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 20px 0;
  cursor: grab;
}

.testimoni-slider::-webkit-scrollbar {
  display: none;
}

.testimoni-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimoni-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimoni-quote {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--gold);
  font-size: 3rem;
  opacity: 0.3;
  font-family: var(--font-display);
  line-height: 1;
}

.testimoni-stars {
  display: flex;
  gap: 4px;
  color: var(--gold);
  margin-bottom: 16px;
}

.testimoni-text {
  color: var(--gray-dark);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimoni-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimoni-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.testimoni-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}

.testimoni-position {
  color: var(--gray);
  font-size: 0.75rem;
}

.testimoni-city-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 4px;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
  background: transparent;
  color: var(--gold-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* ====== CTA SECTION ====== */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, #1a2744 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 60%
  );
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.05) 0%,
    transparent 60%
  );
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.cta-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-title span {
  color: var(--gold);
}

.cta-desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.wa-number-display {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
}

.wa-number-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wa-number-value {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand-sub {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.footer-heading {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.footer-copy span {
  color: var(--gold);
}

/* ====== MODAL ====== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-body {
  padding: 32px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gold);
  color: var(--dark);
}

.modal-img-wrap {
  position: relative;
}

.modal-vehicle-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.modal-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.modal-price-box {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.modal-price-box:hover,
.modal-price-box.selected {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

.modal-price-duration {
  font-size: 0.75rem;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.modal-price-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.modal-spec-item {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.modal-spec-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.modal-spec-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}

.modal-spec-label {
  font-size: 0.7rem;
  color: var(--gray);
  margin-top: 2px;
}

/* ====== FILTER BAR ====== */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

/* ====== VEHICLE SEARCH ====== */
.search-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.filter-search-input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--dark);
  font-size: 0.95rem;
  min-width: 260px;
  outline: none;
  transition: var(--transition);
}

.filter-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

@media (max-width: 768px) {
  .filter-search-input {
    min-width: 100%;
    width: 100%;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.filter-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: var(--gray-dark);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* ====== CITY PAGE HERO ====== */
.city-hero {
  min-height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.city-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.6) 100%
  );
}

.city-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* ====== BREADCRUMB ====== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 20px;
  /* default breadcrumb untuk halaman konten terang */
  color: rgba(15, 23, 42, 0.6);
}

.breadcrumb a {
  color: rgba(15, 23, 42, 0.6);
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb-sep {
  color: rgba(15, 23, 42, 0.3);
}

/* breadcrumb di area hero/header gelap */
.dark .breadcrumb,
header .breadcrumb,
.navbar ~ .breadcrumb {
  color: rgba(255, 255, 255, 0.6);
}

.dark .breadcrumb a,
header .breadcrumb a,
.navbar ~ .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.dark .breadcrumb-sep,
header .breadcrumb .breadcrumb-sep,
.navbar ~ .breadcrumb .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ====== WHATSAPP FLOAT ====== */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: pulse-wa 2.5s ease infinite;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wa-float:hover {
  transform: scale(1.1);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
  .keunggulan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .layanan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta-desc {
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .city-card.featured {
    grid-column: span 1;
  }
  .armada-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .artikel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .galeri-item.wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  /* City info strip (section tepat setelah hero): rapikan jadi 2 kolom agar tidak bertumpuk 4 baris */
  .city-hero + section[style*="background: var(--gold)"] > .container > div {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    justify-content: center;
  }

  .navbar-menu,
  .navbar-cta {
    display: none;
  }
  .navbar-toggle {
    display: flex;
  }
  .hero-stats {
    gap: 24px;
  }
  .keunggulan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Modal: rapikan konten saat mobile */
  .modal-box {
    max-height: 92vh;
    border-radius: 16px;
  }
  .modal-body {
    padding: 18px;
  }
  .modal-img {
    height: 220px;
  }
  .modal-specs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 14px 0;
  }
  .modal-spec-item {
    padding: 12px 10px;
  }
  .modal-pricing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 16px 0;
  }
  .modal-price-box {
    padding: 14px;
  }

  /* Tombol WhatsApp di modal: pastikan icon & teks rapi */
  #vehicleModal .btn-wa {
    width: 100%;
    justify-content: center;
    gap: 10px;
    white-space: normal;
    flex-wrap: nowrap;
    padding: 14px 16px;
  }
  #vehicleModal .btn-wa i {
    font-size: 1.15rem;
    flex: 0 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* City info strip: cukup ubah background saja (teks sudah inline pakai var(--dark)). */
.city-hero + section[style*="background: var(--gold)"] {
  background: rgba(212, 175, 55, 0.12) !important;
}

@media (max-width: 580px) {
  .section-padding {
    padding: 70px 0;
  }
  .cities-grid {
    grid-template-columns: 1fr;
  }
  .armada-grid {
    grid-template-columns: 1fr;
  }
  .artikel-grid {
    grid-template-columns: 1fr;
  }
  .keunggulan-grid {
    grid-template-columns: 1fr;
  }
  .layanan-grid {
    grid-template-columns: 1fr;
  }
  .galeri-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    display: none;
  }
  .testimoni-card {
    flex: 0 0 300px;
  }

  /* SEO CONTENT SECTION (bagian grid 1fr 1fr yang inline style)
     Kita paksa grid 2 kolom jadi 1 kolom untuk layar kecil supaya tidak ada scroll kesamping.
     Targetnya: div inline style yang punya display:grid + grid-template-columns:1fr 1fr + gap:60px
  */
  div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"][style*="gap: 60px"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* city hero badge rapih */
  .hero-badge {
    padding: 8px 14px;
    margin-bottom: 20px;
  }
}
