/* =========================
   GLOBAL
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Montserrat', sans-serif;
  background:#0b0b0b;
  color:white;
  padding-top:80px;
}
/* GLOBAL CONTAINER FIX */
.section-padding{
  padding: 100px 0;
  text-align: center;

}

.container{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
/* =========================
   HEADER
========================= */

.main-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 40px;
  background:#0b0b0b;
  z-index:9999;
}

.logo img{
  height:45px;
}

#nav{
  display:flex;
  gap:30px;
}

#nav a{
  color:white;
  text-decoration:none;
  font-weight:500;
  transition:0.3s;
}

#nav a:hover{
  color:#e10600;
}

.hamburger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.hamburger span{
  width:25px;
  height:3px;
  background:white;
}

/* =========================
   MOBILE NAVIGATION
========================= */

@media(max-width:768px){

  #nav{
    position:fixed;
    top:0;
    right:-100%;
    height:100vh;
    width:260px;
    background:#111;
    flex-direction:column;
    padding-top:120px;
    padding-left:30px;
    gap:25px;
    transition:0.4s ease;
    box-shadow:-10px 0 25px rgba(0,0,0,0.5);
  }

  #nav.active{
    right:0;
  }

  .hamburger{
    display:flex;
  }

}



/* =========================
   HERO SLIDER
========================= */

.hero-slider{
  position:relative;
  height:100vh;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity 1s ease-in-out;
}

.slide.active{
  opacity:1;
  z-index:1;
}

.slide-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85));
}

.hero-content{
  position:absolute;
  bottom:15%;
  left:50%;
  transform:translateX(-50%);
  text-align:center;
  z-index:2;
  width:90%;
  max-width:900px;
}

.hero-content h1{
  font-family:'Poppins', sans-serif;
  font-size:60px;
  font-weight:800;
}

.hero-content p{
  margin-top:15px;
}

.btn-red{
  background:#e10600;
  padding:12px 30px;
  text-decoration:none;
  color:white;
  display:inline-block;
  margin-top:20px;
  transition:0.3s;
}

.btn-red:hover{
  background:white;
  color:#e10600;
}

/* =========================
   MOBILE HERO FIX
========================= */

@media(max-width:768px){

  .hero-slider{
    height:30vh;   /* balanced height */
  }

  .slide-img{
    object-fit:contain;  /* full image visible */
    background:#000;
  }

  .hero-content{
    bottom:8%;
    width:92%;
    padding:0 15px;
  }

  .hero-content h1{
    font-size:26px;
    line-height:1.3;
  }

  .hero-content p{
    font-size:14px;
  }

}

/* =========================
   FLEET SECTION
========================= */

.home-fleet{
  padding:10px 40px;
}

.section-title{
  text-align:center;
  margin-bottom:50px;
}

.section-title h2{
  font-size:40px;
  font-family:'Poppins';
}

.fleet-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.car-card{
  background:#111;
  overflow:hidden;
  border:1px solid #1a1a1a;
  transition:0.4s;
}

.car-card:hover{
  transform:translateY(-10px);
  border-color:#e10600;
}

.car-img{
  position:relative;
}

.car-img img{
  width:100%;
}

.price{
  position:absolute;
  bottom:15px;
  left:15px;
  background:#e10600;
  padding:8px 15px;
  font-weight:bold;
}

.car-info{
  padding:20px;
  text-align:center;
}

.view-all{
  text-align:center;
  margin-top:50px;
}

/* =========================
   BOOKING
========================= */

.booking{
  padding:10px 40px;
  text-align:center;
  
}
.booking h2{
  font-size: 36px;
  margin-bottom: 20px;
}


.booking form{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  justify-content:center;
}

.booking input{
  padding:12px;
  width:220px;
}

@media(max-width:768px){

  .booking{
    padding:60px 20px;
  }

  .booking form{
    flex-direction:column;
  }

  .booking input,
  .booking button{
    width:100%;
  }
/* =========================
  about-section
========================= */
}
.about-sect{
  padding: 120px 0;
  text-align:center;
}

.about-sect h2{
  font-size: 36px;
  margin-bottom: 20px;
}

.about-sect p{
  font-size: 16px;
  color: #ccc;
  max-width: 800px;
}
/* =========================
   CONTACT
========================= */

.contact{
  padding:80px 40px;
  text-align:center;
}

.contact iframe{
  width:100%;
  height:300px;
  border:0;
  margin-top:20px;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#e10600;
  padding:16px;
  border-radius:50%;
  font-size:22px;
  color:white;
  box-shadow:0 5px 20px rgba(225,6,0,0.4);
  z-index:999;
}

/* =========================
   FOOTER
========================= */

footer{
  text-align:center;
  padding:20px;
  background:#111;
}

/* =========================
   FLEET PAGE
========================= */

.fleet-hero{
  height:35vh;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.fleet-hero h1{
  font-size:40px;
  font-family:'Poppins';
}

.fleet-filter{
  text-align:center;
  padding:40px 0;
}

.fleet-filter button{
  background:#111;
  border:1px solid #e10600;
  color:white;
  padding:10px 20px;
  margin:5px;
  cursor:pointer;
  transition:0.3s;
}

.fleet-filter button:hover,
.fleet-filter button.active{
  background:#e10600;
}

.fleet-container{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:30px;
  padding:50px 40px;
}

@media(max-width:1024px){
  .fleet-container{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:768px){
  .fleet-container{
    grid-template-columns: 1fr;
    padding:30px 20px;
  }
}

.car-slider{
  position:relative;
  height:220px;
  overflow:hidden;
}

.car-slide{
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity 0.4s ease;
}

.car-slide.active{
  opacity:1;
}

.car-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.prev, .next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.6);
  border:none;
  color:white;
  font-size:20px;
  padding:5px 10px;
  cursor:pointer;
}

.prev{ left:10px; }
.next{ right:10px; }

.close-btn{
  display:none;
  font-size:24px;
  text-align:right;
  padding:20px;
  cursor:pointer;
}

@media (max-width: 992px){

  #nav{
    position:fixed;
    right:-100%;
    top:0;
    width:250px;
    height:100vh;
    background:#111;
    transition:0.3s;
  }

  #nav.active{
    right:0;
  }

  .close-btn{
    display:block;
  }
}

/* =========================
   ABOUT PAGE
========================= */

/* HERO */
.about-hero{
  position:relative;
  height:50vh;
  background:url('images/about-bg.jpg') center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.about-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

.about-hero h1{
  position:relative;
  font-size:42px;
  font-weight:700;
  z-index:2;
}

/* SECTION */
.about-section{
  padding:80px 10%;
  background:#0b0b0b;
}

.container{
  max-width:1100px;
  margin:auto;
}

.about-section h2{
  font-size:32px;
  margin-bottom:20px;
}

.about-section p{
  color:#ccc;
  margin-bottom:20px;
  line-height:1.7;
}

/* WHY SECTION */
.why-section{
  padding:80px 10%;
  background:#111;
}

.why-section h2{
  font-size:32px;
  margin-bottom:40px;
  text-align:center;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.why-box{
  background:#1a1a1a;
  padding:30px;
  border-radius:8px;
  transition:0.3s;
}

.why-box:hover{
  transform:translateY(-5px);
  background:#222;
}

.why-box h3{
  margin-bottom:10px;
  font-size:20px;
}

/* CTA */
.about-cta{
  background:#e10600;
  padding:60px 20px;
  text-align:center;
}

.about-cta h2{
  margin-bottom:20px;
  font-size:28px;
}

.about-cta .btn-red{
  display:inline-block;
  padding:12px 30px;
  background:white;
  color:black;
  text-decoration:none;
  font-weight:600;
  border-radius:5px;
}

/* FOOTER */
.footer{
  text-align:center;
  padding:20px;
  background:#000;
  font-size:14px;
  color:#aaa;
}

/* MOBILE */
@media(max-width:768px){
  .about-hero h1{
    font-size:28px;
  }

  .about-section,
  .why-section{
    padding:60px 20px;
  }
}

/* =========================
   ABOUT BANNER
========================= */

.about-banner{
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 300px;
 background: url('../images/Elentra2017-se-4.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.banner-content{
  position: relative;
  z-index: 2;
  text-align: center;
}

.banner-content h1{
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

/* MOBILE OPTIMIZATION */
@media(max-width: 768px){

  .about-banner{
    height: 40vh;
    min-height: 220px;
  }

  .banner-content h1{
    font-size: 28px;
  }

}
/* =========================
   CONTACT PAGE
========================= */

.contact-banner{
  position: relative;
  height: 50vh;
  background: url('../images/Elentra2017-se-4.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page{
  padding: 100px 0;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-box h2,
.contact-form-box h2{
  margin-bottom: 20px;
  font-size: 28px;
}

.contact-info-box p{
  margin-bottom: 15px;
  font-size: 16px;
  color: #ccc;
}

.contact-form-box form{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form-box input,
.contact-form-box textarea{
  padding: 12px;
  background: #111;
  border: 1px solid #222;
  color: white;
  border-radius: 5px;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus{
  outline: none;
  border-color: #e10600;
}

.map-section{
  margin-top: 80px;
}

.map-section iframe{
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: 8px;
}

/* MOBILE */
@media(max-width:768px){

  .contact-grid{
    grid-template-columns: 1fr;
  }

  .contact-page{
    padding: 60px 20px;
  }

}
/* =========================
   LANGUAGE SWITCH
========================= */

.lang-switch{
  margin-top:20px;
  display:flex;
  gap:10px;
}

.lang-switch button{
  background:transparent;
  border:1px solid #e10600;
  color:white;
  padding:5px 12px;
  cursor:pointer;
  font-size:12px;
  transition:0.3s;
}

.lang-switch button:hover{
  background:#e10600;
}