
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

html, body{
  width: 100%;
  height: 100%;
  background: #000;
  font-family:"Space Grotesk", system-ui, sans-serif;

}

#main{
  overflow-x: hidden;
  background-color: #000;
}


.page1{
  min-height: 100vh;
  width: 100%;
  background-image: url("./images/bugatti-la-voiture-noire-worlds-expensive-cars-hypercars-3840x2160-5557.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.page1 h1,
.loader h1{
  font-size: clamp(2.6rem, 7vw, 6.8vw);
  line-height: 1;
  font-weight: 100;
  letter-spacing: -0.15vw;
  color: #fff;

  text-shadow:
    0 0.1vw 0 rgba(0,0,0,0.35),
    0 0.4vw 0 rgba(0,0,0,0.35),
    0 0.8vw 1.2vw rgba(0,0,0,0.35);
}

.page1 h1 em,
.loader h1 em{
  background: linear-gradient(135deg,#2dd4bf,#0f766e);
  -webkit-background-clip: text;
  color: transparent;
  font-style: normal;

  text-shadow:
    0 0.2vw 0 rgba(255,255,255,0.2),
    0 0.8vw 1.8vw rgba(45,212,191,0.45);
}

.page1 h1 span,
.loader h1 span{
  background: linear-gradient(135deg,#38bdf8,#2563eb);
  -webkit-background-clip: text;
  color: transparent;

  text-shadow:
    0 0.2vw 0 rgba(255,255,255,0.25),
    0 0.8vw 2vw rgba(37,99,235,0.55);
}


.car-nav{
  position: fixed;
  top: 4vh;
  left: 50%;
  transform: translateX(-50%);

  width: min(72%, 1100px);
  padding: 1.2vh 3vw;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(1vw);
  border-radius: 2vw;
  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 2vw 4vw rgba(0,0,0,0.6),
    inset 0 1px 1px rgba(255,255,255,0.15);

  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 99;
}

/* LOGO */
.logo{
  display: flex;
  align-items: center;
  gap: 0.8vw;
  transform: translateZ(3vw);
}

.brand{
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  letter-spacing: 0.3em;
  color: #fff;
}

.brand span{
  color: #3a8dff;
}

.logo svg{
  font-size: 1.2vw;
  transition: transform 0.4s ease;
}

.logo:hover svg{
  transform: translateX(0.5vw);
}


.car-nav{
  top: 30px;
  transform: translateX(-50%);
  width: 80%;
  padding: 12px 50px;
position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(16px);
  border-radius: 20px;

  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.6),
    inset 0 1px 1px rgba(255,255,255,0.15);

  perspective: 1200px;
  transform-style: preserve-3d;
  z-index: 99;
}

/* LOGO */
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateZ(40px);
}

.brand{
  color: white;
  font-size: 22px;
  letter-spacing: 3px;
}

.brand span{
  color: #3a8dff;
}

/* NAV LIST */
.nav3d{
  display: flex;
  gap: 45px;
  list-style: none;
  
}

.nav3d li{
  perspective: 800px;
}

/* LINKS */
.nav3d li a{
  text-decoration: none;
  color: white;
  font-size: 13px;
  letter-spacing: 3px;
  position: relative;
  padding: 10px 0;
  display: block;
  transform-style: preserve-3d;
  transition: all 0.4s ease;
}

.nav3d li a span{
  display: block;
  transform: translateZ(30px);
  transition: all 0.4s ease;
  font-size: 0.7vw;
}

/* GLOW LINE */
.nav3d li a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background:linear-gradient(135deg,#1e3cff,#3a8dff);
  box-shadow: 0 0 10px #3a8dff;
  transition: width 0.4s ease;
}

/* HOVER FULL 3D */
.nav3d li:hover a{
  transform: rotateX(19deg) rotateY(-34deg);
}

.nav3d li:hover a span{
  transform: translateZ(55px);
  color: #3a8dff;
}

.nav3d li:hover a::after{
  width: 100%;
}

/* BUTTON */
.nav-btn{
  transform: translateZ(40px);
}

.nav-btn1 button{
  padding: 12px 26px;
  background:linear-gradient(135deg,#1e3cff,#3a8dff);
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 7px 30px rgba(43, 170, 255, 0.4);
  transition: all 0.4s ease;
}

.nav-btn1 button:hover{
  transform: translateZ(25px) scale(1.08);
  box-shadow: 0 15px 50px rgba(60, 159, 245, 0.7);
}

/* ===========================
   RESPONSIVE – FIXED VERSION
=========================== */
/* Tablet (<= 1024px) */
@media (max-width: 1024px){
  .car-nav{
    width: 94%;
    padding: 16px 28px;
  }

  .nav3d{
    gap: 32px;
  }

  .nav3d li a{
    font-size: 18px;
    letter-spacing: 2px;
  }

  .logo,
  .nav-btn{
    transform: translateZ(25px);
  }

  .nav3d li a span{
    transform: translateZ(25px);
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px){
  .car-nav{
    flex-direction: column;
    gap: 18px;
    padding: 16px 20px;
  }

  /* 👇 MAIN FIX: menu ek ke niche ek */
  .nav3d{
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .nav3d li a{
    font-size: 19px;
  }

  .nav3d li:hover a{
    transform: rotateX(6deg) rotateY(-6deg);
  }

  .nav3d li a span{
    transform: translateZ(20px);
  }

  /* 👇 Button width controlled (not full) */
  .nav-btn button{
    width: 70%;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px){
  .brand{
    font-size: 18px;
    letter-spacing: 2px;
  }

  .nav3d{
    gap: 16px;
  }

  .nav3d li a{
    font-size: 20px;
    letter-spacing: 2px;
  }

  /* 👇 Even smaller button */
  .nav-btn button{
    width: 80%;
  }

  .car-nav{
    border-radius: 16px;
  }
}

.inventory-section{
  background:radial-gradient(1200px 600px at top, #0b0b0b 0%, #050505 60%);
  color:#e5e7eb;
  padding:120px 6vw;
  position:relative;
  overflow:hidden;
}

/* soft ambient glow */
.inventory-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(56,189,248,.12), transparent 60%),
    radial-gradient(500px 300px at 80% 20%, rgba(56,189,248,.08), transparent 60%);
  pointer-events:none;
}
/* ---------- HEADER ---------- */
.inventory-header{
  max-width:860px;
  margin-bottom:60px;
}

.inventory-tag{
  background:linear-gradient(90deg,#38bdf8,#0ea5e9);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.inventory-title{
  font-size:clamp(2.4rem,4vw,3.4rem);
  font-weight:600;
  margin-bottom:16px;
}

.inventory-subtitle{
  font-size:1.05rem;
  line-height:1.7;
  color:#9ca3af;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
  font-size:.95rem;
  color:#c7c7c7;
  margin-bottom:80px;
}

/* ---------- GRID ---------- */
.car-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px;
}

/* ---------- CARD ---------- */
.car-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.35)),
    #0a0a0a;
  border-radius:20px;
  overflow:hidden;
  position:relative;
  transition:transform .45s ease, box-shadow .45s ease;
}

/* glow border */
.car-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  background:linear-gradient(135deg,transparent 40%, rgba(91, 189, 255, 0.35), transparent 60%);
  opacity:0;
  transition:.45s ease;
  pointer-events:none;
}

.car-card:hover{
    box-shadow:0 0 0 1px rgba(3, 155, 193, 0.4),
             0 0 20px rgba(80, 226, 255, 0.25);
             transform:translateY(-10px);

}

.car-card:hover::before{
  opacity:1;
}

/* FEATURED */
.car-card{
  box-shadow:0 30px 60px rgba(0,0,0,.6);

}

/* ---------- IMAGE ---------- */
.car-image{
  position:relative;
  height:240px;
  overflow:hidden;
}

.car-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.75), transparent 55%);
}

.car-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .8s ease;
}

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

/* ---------- BADGES ---------- */
.badge{
  position:absolute;
  top:18px;
  left:18px;
  font-size:.7rem;
  padding:7px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,#e4e4e4,#fbd0c7);
  color:#111;
  font-weight:600;
  box-shadow:0 0 18px rgba(61, 211, 240, 0.5);
}

.badge.gold{
background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

/* ---------- AVAILABILITY ---------- */
.availability{
  position:absolute;
  bottom:16px;
  left:18px;
  font-size:.7rem;
  letter-spacing:1.4px;
  text-transform:uppercase;
}



/* ---------- INFO ---------- */
.car-info{
  padding:26px;
}

.car-info h3{
  font-size:1.3rem;
  margin-bottom:8px;
}

.car-specs{
  font-size:.9rem;
  color:#9ca3af;
  margin-bottom:16px;
}

/* ---------- STATS ---------- */
.car-stats{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  font-size:.85rem;
  margin-bottom:16px;
}

.car-stats span{
  background:rgba(255,255,255,.06);
  padding:7px 12px;
  border-radius:10px;
  backdrop-filter:blur(4px);
}

/* ---------- DESCRIPTION ---------- */
.car-desc{
  font-size:.92rem;
  color:#a1a1aa;
  line-height:1.6;
  margin-bottom:22px;
}

/* ---------- FOOTER ---------- */
.car-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.price{
  font-size:1.3rem;
  font-weight:600;
  background:linear-gradient(90deg,#b0b0b0,#9b9b9b);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* CTA BUTTON */
.details-btn{
  position:relative;
  border:none;
  padding:11px 22px;
  border-radius:999px;
  font-size:.85rem;
  color:#111;
background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  text-decoration:none;
  font-weight:600;
  box-shadow:0 0 18px rgba(74, 225, 255, 0.45);
  transition:.35s ease;
}

.details-btn:hover{
  transform:translateY(-2px);
background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

/* ---------- CTA ---------- */
.inventory-cta{
  margin-top:140px;
  text-align:center;
  padding:90px 24px;
  border-radius:24px;
  background:
  radial-gradient(500px 200px at top, rgba(56,189,248,.22), transparent 60%),
  linear-gradient(180deg, #0a0a0a, #111);

}

.inventory-cta h2{
  font-size:2.1rem;
  margin-bottom:14px;
}

.inventory-cta p{
  color:#9ca3af;
  margin-bottom:34px;
}

.cta-btn{
background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color:#111;
  padding:16px 44px;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 0 35px rgba(255,90,0,.6);
}

/* ---------- RESPONSIVE ---------- */
@media(max-width:992px){
  .car-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .car-grid{
    grid-template-columns:1fr;
  }
}


.car-pagination{
  margin-top:80px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
}

/* arrows */
.nav-btn{
  width:46px;
  height:46px;
  border-radius:10px;
  background:#1a1a1a;
  color:#fff;
  font-size:20px;
  border:1px solid #2a2a2a;
  cursor:pointer;
  transition:0.3s ease;
}

.nav-btn:hover{
background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border-color:#4dcce2;
}

/* numbers */
.page-numbers{
  display:flex;
  gap:10px;
  list-style:none;
  padding:0;
  margin:0;
}

.page-numbers li{
  min-width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#151515;
  color:#ccc;
  font-weight:500;
  cursor:pointer;
  transition:0.3s ease;
}

.page-numbers li:hover{
  background:#222;
}

.page-numbers .active{
  background:#fff;
  color:#000;
  font-weight:600;
}

.page-numbers .dots{
  cursor:default;
  background:transparent;
}

.site-footer{
  position:relative;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#eaf0ff;
  font-family:'Inter', sans-serif;
}

.footer-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.7);
  z-index:0;
}

.footer-container{
  position:relative;
  z-index:2;
  padding:120px 6vw 60px;
}

.footer-top{
  display:grid;
  grid-template-columns:2.2fr repeat(4,1fr);
  gap:60px;
}

.footer-brand h2{
  font-size:2.2rem;
  font-weight:700;
  margin-bottom:16px;
  letter-spacing:.5px;
}

.footer-brand p{
  font-size:.95rem;
  line-height:1.7;
  color:#b9caff;
  max-width:380px;
}

.footer-socials{
  margin-top:24px;
  display:flex;
  gap:14px;
}

.footer-socials a{
  width:44px;
  height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9fb6ff;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);

  transition:
    transform .55s cubic-bezier(.4,0,.2,1),
    background .35s ease,
    color .35s ease,
    box-shadow .35s ease;
}

.footer-socials a:hover{
  background:rgba(90,130,255,0.18);
  color:#ffffff;
  transform:translateY(-4px) scale(1.15) rotate(360deg);
  box-shadow:0 14px 26px rgba(0,0,0,0.45);
}

.footer-socials a i{
  font-size:16px;
}

.footer-links h4{
  font-size:1.05rem;
  font-weight:600;
  margin-bottom:18px;
}

.footer-links ul{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  font-size:.9rem;
  color:#b8caff;
  text-decoration:none;
  transition:.25s ease;
}

.footer-links a:hover{
  color:#fff;
  padding-left:6px;
}

.footer-bottom{
  margin-top:80px;
  padding-top:36px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}

.footer-bottom-left p{
  font-size:.85rem;
  color:#9fb6ff;
  margin-bottom:6px;
}

.footer-bottom-right{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}

.footer-bottom-right a{
  font-size:.85rem;
  color:#9fb6ff;
  text-decoration:none;
  transition:.25s ease;
}

.footer-bottom-right a:hover{
  color:#fff;
}



@media(max-width:1200px){
  .footer-top{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:768px){
  .footer-top{
    grid-template-columns:1fr;
    gap:50px;
  }

  .footer-container{
    padding-top:90px;
  }

  .footer-brand p{
    max-width:100%;
  }
}


