/* =========================================
   Karen Motors - Cars Page
========================================= */

body{
    background:#000;
    color:#fff;
}

/* ================= Hero ================= */

.hero-content{

    text-align:center;

    padding:120px 20px 50px;

}

.hero-content h1{

    font-size:42px;

    color:#d4af37;

    margin-bottom:15px;

}

.hero-content p{

    color:#ccc;

    font-size:18px;

}

.line{

    width:90px;

    height:3px;

    background:#d4af37;

    margin:20px auto;

}

/* ================= Brands ================= */

.brands-section{

    width:100%;

    max-width:1300px;

    margin:60px auto;

    padding:0 20px;

    text-align:center;

}

.brands-title{

    color:#d4af37;

    font-size:34px;

}

.brands-subtitle{

    color:#bbb;

    margin-top:12px;

    margin-bottom:40px;

}

.brands-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    column-gap:18px;

    row-gap:28px;

    justify-items:center;

}

/* ================= Brand Buttons ================= */

.brand-card{

    width:150px;

    height:42px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:999px;

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(16px);

    -webkit-backdrop-filter:blur(16px);

    border:1px solid rgba(212,175,55,.35);

    cursor:pointer;

    transition:.35s;

    user-select:none;

    box-shadow:
        0 8px 20px rgba(0,0,0,.35),
        inset 0 0 10px rgba(255,255,255,.05);

}

.brand-card h3{

    color:#d4af37;

    font-size:16px;

    font-weight:700;

    margin:0;

    transition:.35s;

}

.brand-card:hover{

    transform:translateY(-3px);

    border-color:#d4af37;

    background:rgba(255,255,255,.08);

    box-shadow:
        0 0 18px rgba(212,175,55,.30),
        0 8px 20px rgba(0,0,0,.40);

}

.brand-card:hover h3{

    color:#ffe08a;

}

.brand-card.active{

    background:#d4af37;

    border-color:#d4af37;

    box-shadow:
        0 10px 25px rgba(212,175,55,.35);

}

.brand-card.active h3{

    color:#000;

}


/* ================= Cars ================= */

.cars-grid{

    width:100%;

    max-width:1300px;

    margin:60px auto;

    padding:0 20px 80px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));

    gap:30px;

}

.car-card{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(15px);

    -webkit-backdrop-filter:blur(15px);

    border:1px solid rgba(212,175,55,.18);

    border-radius:24px;

overflow:visible;

    transition:.35s;

    box-shadow:0 15px 35px rgba(0,0,0,.35);

}

.car-card:hover{

    transform:translateY(-8px);

    border-color:#d4af37;

    box-shadow:
        0 20px 45px rgba(0,0,0,.45),
        0 0 18px rgba(212,175,55,.20);

}

.car-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    display:block;

transition: .3s ease;
cursor: pointer;

}


.car-card img:hover{

   
    transform:scale(1.6);
   transform-origin: center center;
    position:relative;
    z-index:999;
    box-shadow:0 20px 45px rgba(0,0,0,.6);

}



.car-info{

    padding:22px;

}

.car-info h2{

    color:#d4af37;

    font-size:22px;

    margin-bottom:3px;

}

.car-info p{

    color:#ddd;

    font-size:10px;

    margin:2px 0;

    line-height:1.5;

}

/* ===== وضعیت ===== */

.status{

    display:inline-block;

    margin-top:7px;

    padding:4px 10px;

    border-radius:999px;

    background:rgba(212,175,55,.12);

    border:1px solid rgba(212,175,55,.35);

    color:#d4af37;

    font-weight:400;

  font-size:10px;
  
}

/* ===== دکمه ها ===== */

.car-buttons{

    display:flex;

    gap:10px;

    margin-top:16px;

}

.car-buttons a{

    flex:1;

    padding:10px 12px;

    text-align:center;

    text-decoration:none;

    border-radius:10px;

    font-size:13px;

    font-weight:600;

    transition:.30s;

}

/* مشاهده جزئیات */

.car-buttons a:first-child{

    background:rgba(255,255,255,.08);

    color:#fff;

    border:1px solid rgba(255,255,255,.15);

}

.car-buttons a:first-child:hover{

    background:#fff;

    color:#000;

}

/* استعلام قیمت */

.car-buttons a:last-child{

    background:#d4af37;

    color:#000;

    border:1px solid #d4af37;

}

.car-buttons a:last-child:hover{

    background:#f6d66b;

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(212,175,55,.30);

}


@media (max-width:768px){

    .car-info{
        padding:10px;
    }

    .car-info h2{
        font-size:20px;
        margin-bottom:7px;
    }

    .car-info p{
        font-size:9px;
        line-height:1.5;
    }

    .status{
        font-size:9px;
        padding:2px 6px;
    }

    .car-buttons{
        gap:8px;
        margin-top:9px;
    }

    .car-buttons a{
        padding:4px 7px;
        font-size:8px;
    }

}