/* ================= GLOBAL RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI', Arial, sans-serif;
}

html, body{
  width:100%;
  overflow-x:hidden;
  background:#f4f6f9;
}

/* ================= HERO SECTION ================= */

.hero{
  margin-top:0px; /* header height */
  height:92vh;
  background:url('/assets/images/hero-car.jpg') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* dark overlay */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.55);
}

/* glass content */
.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  color:#fff;
  padding:45px 60px;
  border-radius:20px;
  backdrop-filter:blur(12px);
  background:rgba(0,0,0,0.35);
  box-shadow:0 25px 70px rgba(0,0,0,.4);
}

.hero-content h1{
  font-size:48px;
  font-weight:700;
  margin-bottom:12px;
}

.hero-content p{
  font-size:18px;
  margin-bottom:28px;
  letter-spacing:.4px;
}

/* HERO BUTTON */
.btn{
  display:inline-block;
  padding:14px 42px;
  border-radius:40px;
  background:linear-gradient(45deg,#6a5cff,#7a6cff);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  transition:.3s;
}

.btn:hover{
  transform:translateY(-2px) scale(1.05);
  box-shadow:0 10px 25px rgba(106,92,255,.6);
}

/* ================= CAR LISTING ================= */

.container{
  max-width:1200px;
  margin:auto;
  padding:20px;
}

.car-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:25px;
}

.car-card{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.08);
  transition:.3s;
  display:flex;
  flex-direction:column;
}

.car-card:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.car-img{
  width:100%;
  height:200px;
  overflow:hidden;
}

.car-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ================= BOOK BUTTON ================= */

.book-btn{
  width:100%;
  padding:14px;
  background:#ff4d1c;
  color:#fff;
  border:none;
  border-radius:28px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
}

.book-btn:hover{
  opacity:.9;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px){
  .hero-content{
    padding:30px 25px;
  }

  .hero-content h1{
    font-size:30px;
  }

  .hero-content p{
    font-size:15px;
  }

  .car-img{
    height:180px;
  }
}
