/* ==========================================================================
   APEX360 AUTO SPA - Complete Car Wash & All-Parts Cleaning Specialist
   Theme: Black (#09090B), White (#FFFFFF), Bright Yellow (#FFD400)
   ========================================================================== */

:root {
  --bg-black: #09090b;
  --bg-dark: #111115;
  --bg-card: #18181e;
  --bg-card-hover: #202028;
  --bg-light: #f5f6f8;
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-yellow: rgba(255, 212, 0, 0.4);
  --yellow: #ffd400;
  --yellow-hover: #ffdf33;
  --yellow-glow: rgba(255, 212, 0, 0.28);
  --text-white: #ffffff;
  --text-muted-light: #b6b9c4;
  --text-dark: #111115;
  --text-muted-dark: #525665;
  --font-display: "Barlow Condensed", "Impact", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: #2c2c35;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

/* Utilities */
.text-yellow {
  color: var(--yellow) !important;
}
.bg-yellow {
  background-color: var(--yellow) !important;
  color: var(--bg-black) !important;
}
.bg-dark-section {
  background-color: var(--bg-dark);
}
.bg-black-section {
  background-color: var(--bg-black);
}
.bg-light-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
}
.section-pad {
  padding: 90px 0;
}
@media (max-width: 767.98px) {
  .section-pad {
    padding: 60px 0;
  }
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(255, 212, 0, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(255, 212, 0, 0.32);
  margin-bottom: 14px;
}

.bg-light-section .section-badge {
  background: #111115;
  color: var(--yellow);
  border-color: #111115;
}

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted-light);
  max-width: 680px;
}
.bg-light-section .section-subtitle {
  color: var(--text-muted-dark);
}

/* Buttons */
.btn-yellow {
  background-color: var(--yellow);
  color: var(--bg-black);
  font-weight: 700;
  border: 2px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}
.btn-yellow:hover,
.btn-yellow:focus {
  background-color: var(--yellow-hover);
  border-color: var(--yellow-hover);
  color: var(--bg-black);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--yellow-glow);
}

.btn-outline-yellow {
  background-color: transparent;
  color: var(--yellow);
  font-weight: 700;
  border: 2px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}
.btn-outline-yellow:hover {
  background-color: var(--yellow);
  color: var(--bg-black);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #091a0f;
  font-weight: 700;
  border: 2px solid #25d366;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}
.btn-whatsapp:hover {
  background-color: #2ce471;
  border-color: #2ce471;
  color: #06130a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

/* Topbar & Navbar */
.top-utility-bar {
  background: #040406;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.82rem;
  color: var(--text-muted-light);
  padding: 7px 0;
}
.top-utility-bar a {
  color: var(--text-muted-light);
}
.top-utility-bar a:hover {
  color: var(--yellow);
}

.navbar-apex {
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
  transition: var(--transition);
}
.navbar-apex.scrolled {
  background: rgba(9, 9, 11, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  border-bottom-color: rgba(255, 212, 0, 0.25);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
}
.brand-badge-360 {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--bg-black);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0;
  box-shadow: 0 0 18px var(--yellow-glow);
}
.brand-text-wrap {
  line-height: 1.05;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: block;
}
.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yellow);
  font-weight: 700;
  display: block;
}

.navbar-apex .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  border-radius: 6px;
}
.navbar-apex .nav-link:hover,
.navbar-apex .nav-link.active {
  color: var(--yellow);
  background: rgba(255, 212, 0, 0.08);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0 70px;
  background: var(--bg-black);
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: contrast(1.08) saturate(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9, 9, 11, 0.96) 0%,
    rgba(9, 9, 11, 0.84) 50%,
    rgba(9, 9, 11, 0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: clamp(2.8rem, 6.2vw, 5.1rem);
  font-weight: 800;
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-subtitle {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: #e2e4ec;
  font-weight: 500;
  max-width: 620px;
  margin-bottom: 26px;
}
.hero-usp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.hero-usp-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-usp-pill i {
  color: var(--yellow);
}

.hero-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 212, 0, 0.35);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75);
  background: var(--bg-card);
}
.hero-showcase-card img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  display: block;
}
.hero-showcase-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-yellow);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

/* Stats Strip */
.stats-strip {
  background: var(--yellow);
  color: var(--bg-black);
  padding: 24px 0;
}
.stat-item-num {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}
.stat-item-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Interactive 360 Car Parts Diagram */
.car360-wrapper {
  background: radial-gradient(circle at 50% 45%, #20212a 0%, #101014 70%);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.car360-grid-bg {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(255, 212, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 212, 0, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: var(--radius-md);
  padding: 20px 10px;
}
.car-svg-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}
.car-svg-diagram {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.65));
}
.hotspot-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--bg-black);
  border: 3px solid var(--bg-black);
  font-weight: 800;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.7);
  animation: pulseYellow 2.2s infinite;
  transition: var(--transition);
}
.hotspot-dot:hover,
.hotspot-dot.active {
  background: var(--text-white);
  color: var(--bg-black);
  border-color: var(--yellow);
  transform: translate(-50%, -50%) scale(1.22);
  z-index: 8;
}
.hotspot-label {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(9, 9, 11, 0.94);
  color: var(--text-white);
  border: 1px solid var(--border-yellow);
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.hotspot-dot:hover .hotspot-label,
.hotspot-dot.active .hotspot-label {
  opacity: 1;
}

@keyframes pulseYellow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.65);
  }
  70% {
    box-shadow: 0 0 0 13px rgba(255, 212, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 212, 0, 0);
  }
}

.car360-inspector {
  background: var(--bg-card);
  border: 1px solid var(--border-yellow);
  border-radius: var(--radius-lg);
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.car360-part-pill {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.car360-part-pill:hover,
.car360-part-pill.active {
  background: var(--yellow);
  color: var(--bg-black);
  border-color: var(--yellow);
}

/* Service Cards */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  border-color: var(--yellow);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}
.service-card-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255, 212, 0, 0.2);
  line-height: 1;
}
.service-card:hover .service-card-num {
  color: rgba(255, 212, 0, 0.7);
}
.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 212, 0, 0.12);
  border: 1px solid rgba(255, 212, 0, 0.3);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.service-zone-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 6px;
}
.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-white);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  margin-bottom: 16px;
  flex-grow: 1;
}
.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-dark);
  padding-top: 12px;
  font-size: 0.84rem;
}

/* Filter Buttons */
.filter-btn {
  background: var(--bg-card);
  color: var(--text-muted-light);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--yellow);
  color: var(--bg-black);
  border-color: var(--yellow);
}

/* Before & After Slider */
.ba-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-yellow);
  user-select: none;
  background: #000;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.ba-before-wrap img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--yellow);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--bg-black);
  border: 3px solid var(--bg-black);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65);
}
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
  margin: 0;
}
.ba-tag {
  position: absolute;
  top: 16px;
  z-index: 5;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ba-tag-before {
  left: 16px;
  background: rgba(9, 9, 11, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.ba-tag-after {
  right: 16px;
  background: var(--yellow);
  color: var(--bg-black);
}

/* Package Cards */
.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.package-card.featured {
  border: 2px solid var(--yellow);
  background: linear-gradient(180deg, #1d1d24 0%, #131318 100%);
  box-shadow: 0 24px 50px rgba(255, 212, 0, 0.1);
}
.package-card:hover {
  transform: translateY(-6px);
}
.package-popular-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--bg-black);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.package-price {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.package-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  flex-grow: 1;
}
.package-list li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: #dcdfe8;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.package-list li i {
  color: var(--yellow);
  margin-top: 4px;
}

/* Process Steps */
.process-card {
  background: var(--bg-white, #fff);
  color: var(--text-dark);
  border: 1px solid #e4e6ed;
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  position: relative;
  transition: var(--transition);
}
.process-card:hover {
  border-color: var(--bg-black);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(17, 17, 21, 0.08);
}
.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-black);
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 26px;
  height: 100%;
}
.testimonial-stars {
  color: var(--yellow);
  margin-bottom: 12px;
}

/* Gallery Card */
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--bg-card);
  cursor: pointer;
}
.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-caption {
  padding: 14px 16px;
  background: var(--bg-card);
}

/* Page Banner */
.page-hero {
  background: linear-gradient(135deg, #09090b 0%, #17171f 100%);
  border-bottom: 1px solid var(--border-yellow);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

/* Footer */
.site-footer {
  background: #050507;
  border-top: 2px solid var(--yellow);
  padding: 64px 0 28px;
  color: var(--text-muted-light);
}
.site-footer h5 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 9px;
}
.footer-links a {
  color: var(--text-muted-light);
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

/* Floating Action Buttons */
.floating-cta-group {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1030;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.floating-btn-wa {
  background: #25d366;
  color: #06130a;
}
.floating-btn-wa:hover {
  background: #2ce471;
  color: #06130a;
  transform: scale(1.08);
}
.floating-btn-top {
  background: var(--bg-card);
  color: var(--yellow);
  border-color: var(--yellow);
  display: none;
}
.floating-btn-top:hover {
  background: var(--yellow);
  color: var(--bg-black);
}

/* Forms & Modals */
.modal-dark .modal-content {
  background: #141419;
  color: var(--text-white);
  border: 1px solid var(--border-yellow);
  border-radius: var(--radius-lg);
}
.modal-dark .modal-header,
.modal-dark .modal-footer {
  border-color: var(--border-dark);
}
.form-control-dark,
.form-select-dark {
  background-color: #0b0b0f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
}
.form-control-dark:focus,
.form-select-dark:focus {
  background-color: #0e0e14;
  border-color: var(--yellow);
  color: var(--text-white);
  box-shadow: 0 0 0 0.2rem rgba(255, 212, 0, 0.18);
}
.form-control-dark::placeholder {
  color: #7d8190;
}

/* Scroll Reveal Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
