/* ================================
CATALOGUE PAGE
================================ */

.page-hero{
padding:120px 20px;
text-align:center;
background:linear-gradient(120deg,#0f172a,#1e293b);
color:white;
}

.page-hero h1{
font-size:48px;
margin-bottom:20px;
font-weight:700;
}

.page-hero p{
max-width:700px;
margin:auto;
opacity:.9;
}


/* ================================
FILTERS
================================ */

.catalogue-filters{
padding:40px 20px;
background:#f5f7fa;
}

.filter-form{
display:flex;
flex-wrap:wrap;
gap:15px;
justify-content:center;
}

.filter-form select{
padding:12px 14px;
border-radius:8px;
border:1px solid #ddd;
min-width:180px;
}

.filter-form button{
background:#111827;
color:white;
padding:12px 30px;
border-radius:30px;
cursor:pointer;
transition:.3s;
}

.filter-form button:hover{
background:#2563eb;
}


/* ================================
GRID
================================ */

.catalogue-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:35px;
padding:60px 40px;
}


/* ================================
CARDS
================================ */

.catalogue-card{

background:white;

border-radius:16px;

overflow:hidden;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:all .4s;

position:relative;

}

.catalogue-card:hover{

transform:translateY(-8px);

box-shadow:0 20px 50px rgba(0,0,0,.15);

}


/* ================================
IMAGE
================================ */

.catalogue-img{
height:220px;
overflow:hidden;
position:relative;
}

.catalogue-img img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .6s;
}

.catalogue-card:hover img{
transform:scale(1.08);
}


/* badge */

.badge{

position:absolute;

top:15px;

left:15px;

background:#111827;

color:white;

padding:6px 12px;

border-radius:20px;

font-size:12px;

}


/* ================================
BODY
================================ */

.catalogue-body{
padding:25px;
}

.catalogue-body h3{
font-size:20px;
margin-bottom:10px;
}

.car-meta{
font-size:14px;
color:#666;
margin-bottom:5px;
}

.car-fuel{
font-size:14px;
color:#888;
margin-bottom:15px;
}

.catalogue-price{
font-size:24px;
font-weight:700;
color:#111827;
margin-bottom:20px;
}

.btn-card{

display:inline-block;

background:#111827;

color:white;

padding:10px 20px;

border-radius:30px;

text-decoration:none;

transition:.3s;

}

.btn-card:hover{

background:#2563eb;

}


/* ================================
PAGINATION
================================ */

.pagination{

display:flex;

justify-content:center;

gap:10px;

padding:40px;

}

.page-btn{

width:40px;

height:40px;

display:flex;

align-items:center;

justify-content:center;

border-radius:8px;

background:#f1f5f9;

text-decoration:none;

color:#111;

transition:.3s;

}

.page-btn:hover{

background:#2563eb;

color:white;

}

.page-btn.active{

background:#111827;

color:white;

}


/* ================================
VEHICLE DETAILS
================================ */

.vehicle-details{

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

padding:80px;

}

.vehicle-gallery img{

width:100%;

border-radius:12px;

}

.gallery-thumbs{

display:flex;

gap:10px;

margin-top:10px;

}

.gallery-thumbs img{

width:80px;

height:60px;

object-fit:cover;

cursor:pointer;

border-radius:6px;

}


/* ================================
FAQ
================================ */

.faq{
max-width:800px;
margin:auto;
padding:80px 20px;
}

.faq-item{

border-bottom:1px solid #ddd;

padding:20px 0;

cursor:pointer;

}

.faq-item h3{
font-size:18px;
}

.faq-item p{
max-height:0;
overflow:hidden;
transition:.4s;
}

.faq-item.active p{
max-height:200px;
margin-top:10px;
}


/* ================================
COMPARE
================================ */

.compare-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

gap:40px;

padding:80px;

}

.compare-box{

background:white;

padding:30px;

border-radius:12px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

text-align:center;

}


/* ================================
FINANCE
================================ */

.finance-calculator{

max-width:500px;

margin:auto;

padding:80px 20px;

}

.finance-calculator form{

display:flex;

flex-direction:column;

gap:15px;

}

.finance-calculator input{

padding:14px;

border-radius:8px;

border:1px solid #ddd;

}

.finance-calculator button{

background:#111827;

color:white;

padding:14px;

border-radius:30px;

cursor:pointer;

}


/* ================================
RESPONSIVE
================================ */

@media(max-width:900px){

.vehicle-details{

grid-template-columns:1fr;

padding:40px;

}

.catalogue-grid{

padding:40px 20px;

}

.page-hero h1{

font-size:34px;

}

}





/* VEHICLE PAGE */

.vehicle-page{
padding:80px 40px;
}

.vehicle-grid{
display:grid;
grid-template-columns:1.2fr 1fr;
gap:60px;
}

/* galerie */

.vehicle-gallery img{
width:100%;
border-radius:12px;
}

.thumbs{
display:flex;
gap:10px;
margin-top:10px;
}

.thumbs img{
width:90px;
height:70px;
object-fit:cover;
cursor:pointer;
border-radius:6px;
opacity:.7;
transition:.3s;
}

.thumbs img:hover{
opacity:1;
}

/* info */

.vehicle-info h1{
font-size:36px;
margin-bottom:10px;
}

.vehicle-meta{
display:flex;
gap:15px;
margin-bottom:20px;
color:#666;
}

/* sticky price */

.vehicle-price-sticky{

background:#111827;

color:white;

padding:25px;

border-radius:12px;

margin-bottom:30px;

}

.price{
font-size:32px;
font-weight:700;
margin-bottom:15px;
}

.btn-primary{

display:block;

background:#2563eb;

padding:12px;

text-align:center;

border-radius:8px;

margin-bottom:10px;

color:white;

text-decoration:none;

}

.btn-test{

display:block;

border:1px solid white;

padding:12px;

text-align:center;

border-radius:8px;

cursor:pointer;

}

/* finance */

.finance-box{

background:#f5f7fa;

padding:25px;

border-radius:12px;

margin-bottom:30px;

}

.finance-box input,
.finance-box select{

width:100%;

padding:10px;

margin-bottom:10px;

border-radius:6px;

border:1px solid #ddd;

}

.finance-box button{

background:#111827;

color:white;

padding:10px;

border-radius:6px;

cursor:pointer;

}

/* specs */

.vehicle-specs{

margin-top:40px;

}

.spec-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.spec-grid div{

background:#f5f7fa;

padding:15px;

border-radius:8px;

}

/* similar */

.similar-vehicles{

padding:80px 40px;

background:#f5f7fa;

}

.similar-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

}

.similar-card{

background:white;

padding:20px;

border-radius:10px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

text-align:center;

}

.similar-card img{

width:100%;

border-radius:8px;

margin-bottom:10px;

}

/* responsive */

@media(max-width:900px){

.vehicle-grid{
grid-template-columns:1fr;
}

}