:root {
  --primary: #2C3E50;
  --secondary: #5D7A8A;
  --accent: #8FA8B8;
  --bg-main: #F5F6F7;
  --bg-card: #FFFFFF;
  --bg-dark: #1E2D3A;
  --text-dark: #2C3E50;
  --text-mid: #5D7A8A;
  --text-light: #8FA8B8;
  --text-white: #FFFFFF;
  --border: #E0E8EE;
  --shadow: 0 4px 24px rgba(44,62,80,0.08);
  --shadow-hover: 0 8px 40px rgba(44,62,80,0.16);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Manrope', sans-serif;
  --font-display: 'Sora', sans-serif;
  --font-main: var(--font-body);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: radial-gradient(circle at top, rgba(143, 168, 184, 0.18), transparent 45%), var(--bg-main);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
}
.navbar{
    position:fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background:rgba(255, 255, 255, 0.92);
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    justify-content: space-between;
  box-shadow: 0 10px 30px rgba(44, 62, 80, 0.08);
  backdrop-filter: blur(12px);
}

.nav-logo{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon{
    width: 38px;
    height: 38px;
    background: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.nav-logo-text{
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    letter-spacing: -0.3px;
}

.nav-links{
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  margin-top: 70px;
  background: linear-gradient(135deg, #4E6C86 0%, #7B95A7 45%, #9AB0BF 100%);
  padding: 4rem 2rem 2rem 2rem;
  color: white;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.28), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.2), transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: fadeInLeft 0.8s ease;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 1.2rem 0;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin: 0 0 2.5rem 0;
  line-height: 1.8;
  opacity: 0.95;
  font-weight: 400;
  max-width: 500px;
}

.btn-hero {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

/* Hero Image & Carousel */
.hero-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInRight 0.8s ease;
}

.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.hero-car-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 380px;
}

.hero-car-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem 2rem 2.5rem;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, 0.25)) brightness(1.08) contrast(1.02);
}

.car-emoji {
  font-size: 140px;
  opacity: 0.25;
  display: block;
  color: white;
}

.hero-car-placeholder.ev-bg {
  background: radial-gradient(ellipse at center, rgba(100,200,255,0.1) 0%, rgba(100,200,255,0) 70%);
}

.slide-label {
  position: absolute;
  bottom: 20px;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
  background: rgba(0,0,0,0.2);
  padding: 8px 16px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.dot:hover {
  background: rgba(255,255,255,0.7);
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero {
    min-height: 500px;
    padding: 3rem 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-image {
    min-height: 350px;
  }

  .car-emoji {
    font-size: 140px;
  }

  .carousel-controls {
    bottom: 60px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 400px;
    padding: 2rem 1rem;
  }

  .hero-container {
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .btn-hero {
    padding: 10px 30px;
    font-size: 0.85rem;
  }

  .hero-image {
    min-height: 280px;
  }

  .carousel {
    min-height: 300px;
  }

  .car-emoji {
    font-size: 100px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .slide-label {
    font-size: 0.9rem;
    bottom: 10px;
  }

  .carousel-controls {
    bottom: 50px;
  }
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 90px 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  background: rgba(93,122,138,0.1);
  color: var(--secondary);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.8px;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== FILTER ===== */
.filter-container {
  margin-bottom: 3rem;
}

.filter-bar {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.filter-icon {
  font-size: 1.3rem;
  display: inline-block;
  line-height: 1;
}

.filter-btn:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(44,62,80,0.15);
}

.katalog-section {
  background: var(--bg-main);
}

/* ===== CAR CARDS ===== */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.car-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1;
}

.car-card.show {
  animation: cardFadeIn 0.5s ease forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(44,62,80,0.2);
  border-color: var(--secondary);
}

.car-card-image {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: linear-gradient(135deg, #EEF2F5, #E8EDF2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.car-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #DDE8F0, #E8EDF2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(44, 62, 80, 0.1);
}

.car-image-placeholder.ev-bg {
  background: linear-gradient(135deg, #E3F2FD, #F0F4F8);
}

.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 18px 30px rgba(44, 62, 80, 0.18));
}

.car-card:hover .car-card-image img {
  transform: scale(1.08);
}

.car-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--secondary);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(44,62,80,0.2);
}

.car-card-body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.car-card-type {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.car-card-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.4px;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.car-card-tagline {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.car-card-specs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-main);
  border-radius: 10px;
}

.car-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.car-spec-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.car-spec-label {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.car-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.price-section {
  flex: 1;
}

.car-price-label {
  font-size: 0.75rem;
  color: var(--text-light);
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.car-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.car-price em {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-detail:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(44,62,80,0.2);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
}

.cta-section h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 0.8rem 0;
  letter-spacing: -0.4px;
}

.cta-section p {
  font-size: 0.95rem;
  margin: 0 0 1.8rem 0;
  opacity: 0.95;
  line-height: 1.6;
}

.btn-cta {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .cars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .filter-bar {
    gap: 0.6rem;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .car-card-body {
    padding: 1.2rem;
  }

  .car-card-name {
    font-size: 1.2rem;
  }

  .car-card-specs {
    gap: 0.6rem;
    padding: 0.8rem;
  }

  .cta-section {
    padding: 2rem 1.5rem;
  }

  .cta-section h3 {
    font-size: 1.4rem;
  }
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}



/* ===== LOCATION SECTION ===== */
.location-section {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.location-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.4px;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.location-subtitle {
  font-size: 0.95rem;
  color: var(--text-mid);
  text-align: center;
  margin: 0 0 2.5rem 0;
  line-height: 1.6;
}

.location-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 450px;
}

.map-wrapper iframe {
  border-radius: 12px;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background: var(--bg-main);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
}

.info-box:hover {
  background: white;
  box-shadow: var(--shadow);
  border-left-color: var(--primary);
  transform: translateX(4px);
}

.info-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.8rem 0;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.info-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

/* Bootstrap Icons Styling */
.bi {
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
}

.carousel-btn i {
  font-size: 1.2rem;
}

.info-title i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* ===== FLOATING WHATSAPP ICON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  z-index: 999;
  animation: floatInUp 0.6s ease;
}

.whatsapp-float:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 16px 50px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
  transform: translateY(-6px) scale(0.95);
}

.whatsapp-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: white;
}

@keyframes floatInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== LOCATION RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-detail-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-cta {
    flex-direction: column;
  }

  .location-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .location-section {
    margin-top: 2rem;
    padding: 2rem 0;
  }

  .location-title {
    font-size: 1.4rem;
  }

  .map-wrapper {
    height: 300px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-icon {
    font-size: 1.5rem;
  }
}
