/* =============================================
   BUNNDLE – styles.css
   Mobile-first, pure CSS, no frameworks
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --primary: #f5a623;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --blue: #1a5fa8;
  --white: #ffffff;
  --light-bg: #f7f8fa;
  --text-muted: #888888;
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.16);
  --radius: 12px;
  --font: 'Poppins', sans-serif;
  --transition: 0.3s ease;
  --nav-height: 70px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Logo ---- */
.logo { display: flex; align-items: center; }

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-col .logo-img {
  height: 52px;
}

/* Text fallback logo */
.logo-text {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
}
.logo-b    { color: #1a5fa8; }
.logo-u    { color: #f5a623; }
.logo-rest { color: #1a5fa8; }

/* ---- Utility ---- */
.highlight {
  color: var(--primary);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #e0941a;
  border-color: #e0941a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ---- Image Placeholder ---- */
.img-placeholder {
  background: #2a2a2a;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  font-family: monospace;
}

/* ---- Fade-in Animation ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav open */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: var(--dark);
  padding: 24px;
  gap: 20px;
}

/* =============================================
   HERO
   ============================================= */
#hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
  gap: 48px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  max-width: 600px;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  color: #aaaaaa;
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

/* Store Badges */
.store-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 10px 18px;
  color: var(--white);
  transition: border-color var(--transition);
}

.badge:hover {
  border-color: var(--primary);
}

.badge svg {
  color: var(--primary);
  flex-shrink: 0;
}

.badge-sub {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1;
}

.badge-main {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 520px;
  min-width: 0;
  overflow: hidden;
}

.hero-placeholder {
  width: 100%;
  height: 280px;
  border: 1px solid #333;
}

/* =============================================
   HERO CAROUSEL
   ============================================= */
.carousel {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  user-select: none;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #1a1a1a;
}

.carousel-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  border-radius: 0;
  font-size: 0.9rem;
}

/* Mobile carousel height */
@media (max-width: 640px) {
  .carousel-slide img {
    height: 240px;
  }
  .carousel-placeholder {
    height: 240px;
  }
}



.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.75);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  z-index: 2;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.carousel-btn svg {
  width: 22px; height: 22px;
  stroke-width: 2.5;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* =============================================
   FEATURES
   ============================================= */
#features {
  background: var(--light-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(245,166,35,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
#how-it-works {
  background: var(--dark-2);
}

#how-it-works .section-title {
  color: var(--white);
}

.steps-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.step {
  background: var(--dark-3);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  max-width: 260px;
  width: 100%;
  border: 1px solid #2e2e2e;
  transition: border-color var(--transition);
}

.step:hover {
  border-color: var(--primary);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: #999;
}

/* Connector (vertical on mobile) */
.step-connector {
  width: 2px;
  height: 40px;
  background: repeating-linear-gradient(
    to bottom,
    var(--primary) 0,
    var(--primary) 6px,
    transparent 6px,
    transparent 12px
  );
}

/* =============================================
   CAR SHOWCASE
   ============================================= */
#cars {
  background: var(--light-bg);
}

.cars-header { text-align: center; }
.cars-subtext { color: #666; font-size: 0.95rem; margin-top: -32px; margin-bottom: 32px; }

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
}
.trust-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.cars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.car-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.car-card:hover {
  transform: scale(1.02);
  box-shadow: var(--card-shadow-hover);
}

.car-verified-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.car-img-placeholder {
  width: 100%;
  height: 200px;
  border-radius: 0;
}

.car-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.car-info h3 {
  font-size: 1rem;
  font-weight: 600;
}

.car-desc {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
}

.rent-badge {
  display: inline-block;
  background: rgba(245, 166, 35, 0.12);
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  width: fit-content;
}

/* =============================================
   LIST YOUR CAR (SECONDARY)
   ============================================= */
#list-car {
  background: linear-gradient(135deg, var(--dark) 0%, #0d2a4a 60%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}

#list-car::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,95,168,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.list-car-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.list-car-tag {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--primary);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.list-car-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}

.list-car-content p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  max-width: 480px;
  margin-bottom: 24px;
}

.list-car-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.list-car-perks li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-car-image { width: 100%; max-width: 480px; }
.list-car-placeholder { width: 100%; aspect-ratio: 16/9; }

/* =============================================
   HERO TAG
   ============================================= */
.hero-tag {
  display: inline-block;
  background: rgba(245,166,35,0.12);
  color: var(--primary);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

/* =============================================
   SOCIAL MEDIA
   ============================================= */
#social {
  background: var(--white);
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
  color: var(--white);
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.social-btn.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-btn.whatsapp  { background: #25D366; }
.social-btn.facebook  { background: #1877F2; }
.social-btn.linkedin  { background: #0A66C2; }
.social-btn.twitter   { background: #000000; }

/* =============================================
   CONTACT
   ============================================= */
#contact {
  background: var(--dark-2);
}

#contact .section-title {
  color: var(--white);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-subtext {
  color: #aaa;
  text-align: center;
  font-size: 0.92rem;
  margin-top: -36px;
  margin-bottom: 36px;
}

.form-group select {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
  cursor: pointer;
}

.form-group select:focus { border-color: var(--primary); }
.form-group select option { background: #1e1e1e; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-success {
  margin-top: 12px;
  padding: 14px 18px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.95rem;
  text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
#footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 48px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Brand col */
.footer-brand-desc {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 260px;
}

.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-size: 0.88rem;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.7;
}

/* Column headings */
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Links */
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Contact col */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-col p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  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.5);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 40px;
  text-align: center;
  max-width: 100%;
}

.footer-bottom p {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
}

/* =============================================
   RESPONSIVE – Tablet (≥ 640px)
   ============================================= */
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   RESPONSIVE – Desktop (≥ 1024px)
   ============================================= */
@media (min-width: 1024px) {
  /* Navbar */
  .nav-links {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  /* Hero */
  #hero {
    flex-direction: row;
    justify-content: center;
    gap: 64px;
    padding: calc(var(--nav-height) + 60px) 48px 80px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-cta,
  .store-badges {
    justify-content: flex-start;
  }

  .hero-placeholder {
    height: 380px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* How It Works – horizontal layout */
  .steps-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }

  .step-connector {
    width: 60px;
    height: 2px;
    margin-top: 52px;
    background: repeating-linear-gradient(
      to right,
      var(--primary) 0,
      var(--primary) 6px,
      transparent 6px,
      transparent 12px
    );
  }

  /* Cars */
  .cars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* List Your Car */
  .list-car-inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .list-car-content { flex: 1; }
  .list-car-image { flex: 1; }
}

/* Footer mobile — stack to single column */
@media (max-width: 767px) {
  .footer-container {
    grid-template-columns: 1fr;
    padding: 48px 24px 32px;
    gap: 36px;
  }

  .footer-tagline { max-width: 100%; }

  .footer-bottom { padding: 16px 24px; }
}
