/*=========================================
        GALLERY.CSS - PART 1
  ANWAR ALKHAN USED AUTO TRADING
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#111;
    color:#fff;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/*==============================
        PAGE BANNER
==============================*/

.page-banner{
    position:relative;
    height:380px;
    background:url("car25.jpg") center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.banner-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.banner-content{
    position:relative;
    z-index:2;
    padding:20px;
}

.banner-content h1{
    font-size:55px;
    font-weight:700;
    margin-bottom:15px;
}

.banner-content p{
    max-width:700px;
    margin:auto;
    color:#ddd;
    font-size:18px;
}

/*==============================
        GALLERY SECTION
==============================*/

.gallery-section{
    padding:90px 8%;
    background:#181818;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h5{
    color:#ff2d2d;
    letter-spacing:2px;
    margin-bottom:10px;
}

.section-title h2{
    font-size:42px;
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:#bbb;
}

/*==============================
        GALLERY GRID
==============================*/

.gallery-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

/*==============================
        GALLERY CARD
==============================*/

.gallery-card{
    background:#222;
    border-radius:18px;
    overflow:hidden;
    transition:.4s;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
}

.gallery-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(255,45,45,.25);
}

.gallery-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    transition:.5s;
}

.gallery-card:hover img{
    transform:scale(1.08);
}

.gallery-info{
    padding:25px;
}

.gallery-info h3{
    font-size:24px;
    margin-bottom:10px;
}

.gallery-info p{
    color:#bbb;
    margin-bottom:10px;
}

.gallery-info h2{
    color:#ff2d2d;
    font-size:28px;
}
/*=========================================
        GALLERY.CSS - PART 2
=========================================*/

/*==============================
        IMAGE OVERLAY
==============================*/

.gallery-card{
    position:relative;
}

.gallery-card::before{
    content:"ANWAR ALKHAN";
    position:absolute;
    top:15px;
    left:15px;
    background:#ff2d2d;
    color:#fff;
    padding:8px 15px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
    letter-spacing:1px;
    z-index:10;
}

/*==============================
        GALLERY BUTTON
==============================*/

.gallery-btn{
    display:inline-block;
    margin-top:18px;
    padding:12px 28px;
    background:#ff2d2d;
    color:#fff;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.gallery-btn:hover{
    background:#d60000;
    transform:translateY(-3px);
}

/*==============================
      CALL TO ACTION
==============================*/

.cta-section{
    background:#111;
    padding:90px 8%;
    text-align:center;
}

.cta-content h2{
    font-size:42px;
    margin-bottom:20px;
}

.cta-content p{
    max-width:700px;
    margin:auto;
    color:#bbb;
    margin-bottom:35px;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.cta-buttons a{
    padding:15px 35px;
    color:#fff;
    border-radius:8px;
    font-size:17px;
    font-weight:600;
    transition:.3s;
}

.whatsapp-btn{
    background:#25D366;
}

.whatsapp-btn:hover{
    background:#1EBE5D;
    transform:translateY(-5px);
}

.call-btn{
    background:#ff2d2d;
}

.call-btn:hover{
    background:#d60000;
    transform:translateY(-5px);
}

/*==============================
      HOVER EFFECTS
==============================*/

.gallery-card:hover .gallery-info h3{
    color:#ff2d2d;
    transition:.3s;
}

.gallery-card:hover .gallery-info h2{
    transform:scale(1.05);
    transition:.3s;
}

.gallery-card:hover{
    border:1px solid #ff2d2d;
}
/*=========================================
        GALLERY.CSS - PART 3
=========================================*/

/*==============================
            FOOTER
==============================*/

.footer{
    background:#0b0b0b;
    padding:70px 8% 20px;
}

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:35px;
}

.footer-box h2,
.footer-box h3{
    color:#ff2d2d;
    margin-bottom:18px;
}

.footer-box p{
    color:#bbb;
    line-height:1.8;
    margin-bottom:10px;
}

.footer-box ul{
    list-style:none;
}

.footer-box ul li{
    margin-bottom:12px;
}

.footer-box ul li a{
    color:#bbb;
    transition:.3s;
}

.footer-box ul li a:hover{
    color:#ff2d2d;
    padding-left:8px;
}

.footer-bottom{
    border-top:1px solid #333;
    margin-top:40px;
    padding-top:20px;
    text-align:center;
    color:#999;
}

.footer-bottom strong{
    color:#fff;
}

/*==============================
        SCROLL BAR
==============================*/

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:#ff2d2d;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#d60000;
}

/*==============================
        RESPONSIVE
==============================*/

@media(max-width:992px){

.banner-content h1{
    font-size:42px;
}

.section-title h2{
    font-size:34px;
}

.cta-content h2{
    font-size:34px;
}

.gallery-container{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.page-banner{
    height:280px;
}

.banner-content h1{
    font-size:32px;
}

.banner-content p{
    font-size:15px;
}

.gallery-container{
    grid-template-columns:1fr;
}

.gallery-card img{
    height:220px;
}

.cta-buttons{
    flex-direction:column;
}

.cta-buttons a{
    width:100%;
    text-align:center;
}

.footer{
    text-align:center;
}

.footer-container{
    grid-template-columns:1fr;
}

}

@media(max-width:480px){

.banner-content h1{
    font-size:28px;
}

.section-title h2{
    font-size:28px;
}

.gallery-info h3{
    font-size:20px;
}

.gallery-info h2{
    font-size:24px;
}

.gallery-section{
    padding:70px 20px;
}

.cta-section{
    padding:70px 20px;
}

}

/*==============================
        SMOOTH SCROLL
==============================*/

html{
    scroll-behavior:smooth;
}

/*==============================
        SELECTION COLOR
==============================*/

::selection{
    background:#ff2d2d;
    color:#fff;
}