/* Base */
* { box-sizing: border-box; margin:0; padding:0; }

html, body { 
  height:100%; 
}

body {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  flex-direction: column;

  font-family: "Poppins", sans-serif;
  background:#f8f8f9;
  color:#111;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* NAV */
.navbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 60px;
  position:relative;
  z-index:20;
}

.container {
  width: 1200px;
}

.logo { 
  font-weight:700; 
  color:#0b0b3b; 
}

.logo span { color:#a60d21; }

.nav-links { 
  display:flex; 
  gap:18px; 
  align-items:center; 
}
.nav-links a { text-decoration:none; color:#555; font-weight:500; padding:8px; }
.nav-links a:hover { color:#000; }

/* Hamburger */
.hamburger { display:none; cursor:pointer; gap:6px; flex-direction:column; }
.hamburger span { display:block; width:26px; height:3px; background:#333; border-radius:3px; transition:0.25s; }
.hamburger.active span:nth-child(1){ transform: rotate(45deg) translateY(6px); }
.hamburger.active span:nth-child(2){ opacity:0; transform: scaleX(0); }
.hamburger.active span:nth-child(3){ transform: rotate(-45deg) translateY(-6px); }

/* HERO */
.hero {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:60px 60px;
  position:relative;
  overflow:visible;
  /* capture touch gestures reliably */
  touch-action: none;
}

.hero-text { flex:1; min-width:260px; transition: transform .35s cubic-bezier(.22,.9,.29,1), opacity .35s; }
.hero-text h1 { font-size:56px; line-height:1.05; color:#101029; }
.hero-text h1 span { color:#a60d21; }



.hero-buttons {
  position: absolute;
  right: 60px;
  bottom: 40px;
  display: flex;
  
  gap: 10px;
  z-index: 15;
}

.hero-btn {
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #111;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #a60d21;
  color: #fff;
  transform: translateY(-2px);
}

.hero-btn:active {
  transform: scale(0.95);
}


.order-btn { 
  font-size: 1.2rem;
  margin-top:22px; 
  background:#0b0b3b; 
  color:#fff; 
  border-radius:30px; 
  padding:10px 26px; 
  border:0; 
  cursor:pointer; 
  transition: all 0.5s ease-in-out;
}

.order-btn:hover {
  background: #a60d21;
} 

/* hero car */
.hero-car { flex:1; min-width:300px; text-align:right; position:relative; }
.hero-car img { width:100%; max-width:520px; transition: transform .42s ease, opacity .42s ease; display:block; margin-left:auto; }

.bg-text {
  position: absolute;
  left: 50%;
  top: -50px;
  transform: translateX(-50%);
  font-size:200px;
  color:rgba(0,0,0,0.05);
  letter-spacing:20px;
  pointer-events:none;
  user-select:none;
  transition: opacity .35s, transform .42s;
}

/* dots */
.dots {
  position:absolute;
  right:28px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:15;
}
.dot {
  width:12px; height:12px; border-radius:50%;
  background:rgba(0,0,0,0.08); border: none; cursor:pointer;
  transition: transform .25s, background .25s, box-shadow .25s;
}
.dot.active { background:#a60d21; transform:scale(1.12); box-shadow:0 6px 14px rgba(166,13,33,0.15); }

/* swipe hint */
.swipe-hint { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); color:#9aa; font-size:13px; }

/* search bar */

/* Search Section */
.search-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(90deg, #f8f8f9, #f3f3f6);
}

.search-bar {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  padding: 22px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  max-width: 980px;
  width: 100%;
  transition: 0.3s ease;
}

.search-bar:hover {
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.12);
}

.select {
  display: flex;
  flex-direction: column;
  flex: 1 1 180px;
  min-width: 150px;
}

.select label {
  font-size: 13px;
  color: #777;
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.select select {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 15px;
  font-weight: 600;
  color: #0b0b3b;
  background: #fafafa;
  transition: 0.25s;
}

.select select:hover,
.select select:focus {
  border-color: #000000;
  background: #fff;
  outline: none;
}

.search-btn {
  background: #fff;
  color: #000;
  border: none;
  /* box-shadow: 0 0 1px 1px rgba(139, 139, 139, 0.5); */
  border-radius: 14px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s ease;
}

.search-btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(142, 142, 142, 0.2);
}

.search-btn i {
  font-size: 15px;
}



/* fade helpers */
.fade-out { opacity:0; transform: translateY(18px); }
.fade-in { opacity:1; transform: translateY(0); }

/* Responsive */
@media (max-width:1024px) {
  .hero { padding:40px; }
  .bg-text { font-size:150px; left:0; top:28%; }
  .hero-text h1 { font-size:44px; }
  .hero-car img { max-width:420px; }
}
@media (max-width:768px) {
  .container {
    width: 100%;
  }
  .navbar { padding:16px 20px; }
  .hamburger { display:flex; }
  .nav-links {
    display: none;
    position:absolute; top:62px; right:20px; background:#fff; flex-direction:column; padding:10px 6px; border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08); max-height:0; overflow:hidden; transition: max-height .28s ease;
  }
  .nav-links.active { 
    display: block; 
    max-height:260px; 
  }
  .nav-links a { padding:8px 14px; display:block; color:#333; }

  .hero { flex-direction:column-reverse; text-align:center; padding:30px 20px; }
  .hero-text { order:2; }
  .hero-car { order:1; text-align:center; }
  .hero-car img { max-width:320px; margin:0 auto; }
  .bg-text {
    font-size:80px; left:50%; transform:translateX(-50%);
    top:30%;
  }
  .dots { right:14px; }


  .search-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .search-btn {
    justify-content: center;
    width: 100%;
  }

  .select {
    flex: 1;
  }

  .hero-btn {
    width: 30px;
    height: 30px;
  }
}

/* small screens */
@media (max-width:420px){
  .hero-text h1 { font-size:30px; }
  .bg-text { font-size:80px; }
}
