/* ===========================
   Kigali Riders Group Ltd.
   style.css
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

:root{

    --primary:#0A1F44;
    --secondary:#D4AF37;
    --light:#f7f9fc;
    --white:#ffffff;
    --dark:#222;
    --gray:#777;

}

html{
    scroll-behavior:smooth;
}

body{

    background:var(--light);
    color:var(--dark);

}

.container{

    width:92%;
    max-width:1400px;
    margin:auto;

}

/* ===========================
   HERO
=========================== */

.hero{

    height:70vh;

    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("images/hero.jpg") center center/cover no-repeat;

}

.overlay{

    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

}

.hero-content{

    color:white;
    max-width:900px;

}

.logo{

    width:130px;
    margin-bottom:25px;

}

.hero h1{

    font-size:58px;
    font-weight:700;
    margin-bottom:20px;

}

.hero p{

    font-size:20px;
    line-height:1.8;
    margin-bottom:35px;

}

/* ===========================
   BUTTONS
=========================== */

.hero-buttons,
.contact-buttons{

    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:wrap;

}

.btn{

    text-decoration:none;
    padding:15px 32px;
    border-radius:8px;
    font-weight:600;
    transition:.35s;

}

.whatsapp{

    background:#25D366;
    color:white;

}

.call{

    background:var(--secondary);
    color:#111;

}

.whatsapp:hover{

    transform:translateY(-3px);

}

.call:hover{

    background:#c59d1c;
    transform:translateY(-3px);

}

/* ===========================
   SECTION
=========================== */

.fleet-section{

    padding:70px 0;

}

.fleet-section h2{

    text-align:center;
    font-size:40px;
    color:var(--primary);

}

.subtitle{

    text-align:center;
    color:var(--gray);
    margin:15px 0 35px;

}

/* ===========================
   SEARCH
=========================== */

.search-box{

    display:flex;
    justify-content:center;
    margin-bottom:40px;

}

.search-box input{

    width:550px;
    max-width:100%;
    padding:16px 20px;
    border:1px solid #ddd;
    border-radius:50px;
    font-size:16px;
    outline:none;

}

.search-box input:focus{

    border-color:var(--secondary);

}

/* ===========================
   GRID
=========================== */

.fleet-grid{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;

}

/* ===========================
   CARD
=========================== */

.vehicle-card{

    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
    transition:.35s;
    cursor:pointer;

}

.vehicle-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.vehicle-card img{

    width:100%;
    height:220px;
    object-fit:cover;

}

.vehicle-info{

    padding:20px;

}

.vehicle-info h3{

    color:var(--primary);
    margin-bottom:12px;

}

.vehicle-meta{

    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:18px;

}

.vehicle-meta span{

    background:#eef2f8;
    padding:6px 12px;
    border-radius:30px;
    font-size:13px;
    color:#555;

}

.vehicle-status{

    color:#27ae60;
    font-weight:600;
    margin-bottom:18px;

}

/* ===========================
   CARD BUTTONS
=========================== */

.vehicle-buttons{

    display:flex;
    gap:10px;

}

.vehicle-buttons a{

    flex:1;
    text-align:center;
    padding:12px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;

}

.vehicle-buttons .wa{

    background:#25D366;
    color:white;

}

.vehicle-buttons .phone{

    background:var(--primary);
    color:white;

}

.vehicle-buttons .wa:hover{

    background:#1faa52;

}

.vehicle-buttons .phone:hover{

    background:#071630;

}

/* ===========================
   CONTACT
=========================== */

.contact-section{

    background:var(--primary);
    color:white;
    text-align:center;
    padding:70px 0;

}

.contact-section h2{

    font-size:38px;
    margin-bottom:15px;

}

.contact-section p{

    margin-bottom:30px;
    color:#ddd;

}

/* ===========================
   FOOTER
=========================== */

footer{

    background:#071630;
    color:white;
    text-align:center;
    padding:45px 20px;

}

.footer-logo{

    width:90px;
    margin-bottom:15px;

}

footer h3{

    margin-bottom:10px;

}

footer p{

    color:#ccc;
    line-height:1.8;

}

.copyright{

    margin-top:25px;
    font-size:14px;
    color:#999;

}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1200px){

.fleet-grid{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:900px){

.hero h1{

font-size:42px;

}

.hero p{

font-size:18px;

}

.fleet-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:600px){

.hero{

height:60vh;

}

.logo{

width:90px;

}

.hero h1{

font-size:32px;

}

.hero p{

font-size:16px;

}

.hero-buttons,
.contact-buttons{

flex-direction:column;

}

.btn{

width:100%;

}

.fleet-grid{

grid-template-columns:1fr;

}

.vehicle-card img{

height:220px;

}

.search-box input{

width:100%;

}

}