/* ==========================================
   GOOGLE FONT
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   RESET
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#0b0b0b;

    color:#fff;

    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

    color:white;

}

ul{

    list-style:none;

}

.container{

    width:90%;

    max-width:1300px;

    margin:auto;

}

/* ==========================================
   HEADER
========================================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(10,10,10,.82);

    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(255,255,255,.05);

}

header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:90px;

}

/* LOGO */

.logo img{

    height:65px;

    transition:.4s;

}

.logo img:hover{

    transform:scale(1.05);

}

/* MENU */

nav ul{

    display:flex;

    gap:40px;

}

nav ul li a{

    color:#fff;

    font-size:15px;

    font-weight:500;

    transition:.3s;

    position:relative;

}

nav ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#e50914;

    transition:.3s;

}

nav ul li a:hover::after{

    width:100%;

}

nav ul li a:hover{

    color:#e50914;

}

.active{

    color:#e50914;

}

/* PHONE */

.header-phone{

    display:flex;

    align-items:center;

    gap:15px;

}

.header-phone i{

    width:50px;

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#e50914;

    border-radius:50%;

    font-size:20px;

}

.header-phone span{

    font-size:12px;

    color:#999;

}

.header-phone h4{

    font-size:17px;

    font-weight:600;

}

/* ==========================================
   HERO
========================================== */

.hero{

    position:relative;

    height:100vh;

    display:flex;

    align-items:center;

    background:url("images/hero.jpg") center center/cover no-repeat;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(to right,
    rgba(0,0,0,.85),
    rgba(0,0,0,.45),
    rgba(0,0,0,.70));

}

.hero-content{

    position:relative;

    z-index:2;

}

.hero .left{

    max-width:650px;

}

/* SMALL TITLE */

.small-title{

    color:#e50914;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:20px;

}

/* HERO TITLE */

.hero h1{

    font-size:68px;

    line-height:1.1;

    font-weight:800;

    margin-bottom:25px;

}

/* RED TEXT */

.hero h1 span{

    color:#e50914;

}

/* HERO PARAGRAPH */

.hero-text{

    color:#d8d8d8;

    font-size:18px;

    line-height:1.9;

    margin-bottom:40px;

    max-width:620px;

}

/* ==========================================
   BUTTONS
========================================== */

.buttons{

    display:flex;

    gap:20px;

}

.btn-red{

    background:#e50914;

    color:white;

    padding:18px 38px;

    border-radius:6px;

    font-weight:600;

    transition:.35s;

    display:inline-block;

}

.btn-red:hover{

    transform:translateY(-5px);

    background:#ff1d29;

    box-shadow:0 12px 35px rgba(229,9,20,.35);

}

.btn-dark{

    border:2px solid white;

    padding:18px 38px;

    border-radius:6px;

    font-weight:600;

    transition:.35s;

}

.btn-dark:hover{

    background:white;

    color:black;

}

/* ==========================================
   HERO SCROLL EFFECT
========================================== */

.hero::after{

    content:"";

    position:absolute;

    bottom:0;

    left:0;

    width:100%;

    height:120px;

    background:linear-gradient(to top,#0b0b0b,transparent);

}

/* ==========================================
   ANIMATION
========================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero .left>*{

    animation:fadeUp .8s ease forwards;

}

.hero .left h1{

    animation-delay:.2s;

}

.hero-text{

    animation-delay:.4s;

}

.buttons{

    animation-delay:.6s;

}

/* ==========================================
   SERVICES
========================================== */

.services{

    background:#111;

    padding:120px 0;

}

.services .container{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.service-card{

    background:#181818;

    border:1px solid rgba(255,255,255,.05);

    border-radius:18px;

    padding:45px 35px;

    transition:.4s;

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:100%;

    height:4px;

    background:#e50914;

    transform:scaleX(0);

    transition:.4s;

}

.service-card:hover::before{

    transform:scaleX(1);

}

.service-card:hover{

    transform:translateY(-12px);

    background:#1f1f1f;

    box-shadow:0 20px 45px rgba(0,0,0,.35);

}

.service-card i{

    font-size:55px;

    color:#e50914;

    margin-bottom:25px;

}

.service-card h3{

    font-size:24px;

    margin-bottom:18px;

    font-weight:700;

}

.service-card p{

    color:#bdbdbd;

    line-height:1.8;

    font-size:15px;

}


/* ==========================================
   ABOUT
========================================== */

.about{

    padding:140px 0;

    background:#0d0d0d;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.about-text span{

    color:#e50914;

    text-transform:uppercase;

    letter-spacing:2px;

    font-weight:600;

}

.about-text h2{

    margin-top:15px;

    margin-bottom:30px;

    font-size:48px;

    line-height:1.2;

}

.about-text p{

    color:#cfcfcf;

    line-height:2;

    margin-bottom:20px;

    font-size:16px;

}

.about-image{

    position:relative;

}

.about-image img{

    width:100%;

    border-radius:20px;

    object-fit:cover;

    transition:.5s;

}

.about-image:hover img{

    transform:scale(1.04);

}

.about-image::after{

    content:"";

    position:absolute;

    right:-20px;

    bottom:-20px;

    width:180px;

    height:180px;

    border:4px solid #e50914;

    border-radius:18px;

    z-index:-1;

}


/* ==========================================
   COUNTER
========================================== */

.counter{

    background:#161616;

    padding:90px 0;

}

.counter .container{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.counter-box{

    background:#1e1e1e;

    border-radius:16px;

    text-align:center;

    padding:45px 20px;

    transition:.35s;

}

.counter-box:hover{

    transform:translateY(-10px);

    background:#252525;

}

.counter-box h2{

    color:#e50914;

    font-size:58px;

    margin-bottom:12px;

    font-weight:800;

}

.counter-box p{

    color:#cfcfcf;

    font-size:18px;

    font-weight:500;

}


/* ==========================================
   SECTION TITLES
========================================== */

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:#e50914;

    text-transform:uppercase;

    letter-spacing:2px;

    font-weight:600;

}

.section-title h2{

    font-size:46px;

    margin-top:15px;

    font-weight:700;

}

.section-title p{

    max-width:700px;

    margin:20px auto 0;

    color:#bdbdbd;

    line-height:1.8;

}


/* ==========================================
   GENERAL HOVER EFFECTS
========================================== */

.service-card,
.counter-box,
.about-image img{

    transition:all .4s ease;

}

.btn-red,
.btn-dark{

    cursor:pointer;

}


/* ==========================================
   SIMPLE FADE ANIMATION
========================================== */

@keyframes floatUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.service-card{

    animation:floatUp .8s ease both;

}

.service-card:nth-child(2){

    animation-delay:.15s;

}

.service-card:nth-child(3){

    animation-delay:.3s;

}

.service-card:nth-child(4){

    animation-delay:.45s;

}

/* ==========================================
   CTA (CALL TO ACTION)
========================================== */

.cta{

    position:relative;

    padding:140px 0;

    background:url("images/garage-bg.jpg") center center/cover no-repeat;

    text-align:center;

}

.cta::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.72);

}

.cta .container{

    position:relative;

    z-index:2;

}

.cta h2{

    font-size:52px;

    font-weight:700;

    margin-bottom:20px;

}

.cta p{

    max-width:700px;

    margin:auto;

    color:#d5d5d5;

    line-height:1.9;

    margin-bottom:45px;

    font-size:17px;

}


/* ==========================================
   GALLERY
========================================== */

.gallery{

    padding:140px 0;

    background:#101010;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    cursor:pointer;

}

.gallery-item img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.5s;

}



.gallery-overlay{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

}

.gallery-item:hover .gallery-overlay{

    opacity:1;

}

.gallery-overlay i{

    font-size:42px;

    color:white;

}


/* ==========================================
   CONTACT
========================================== */

.contact{

    padding:140px 0;

    background:#0d0d0d;

}

.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

}

.contact-info h2{

    font-size:46px;

    margin-bottom:25px;

}

.contact-info p{

    color:#bdbdbd;

    line-height:1.9;

    margin-bottom:25px;

}

.info-box{

    display:flex;

    align-items:center;

    gap:25px;

    margin-bottom:35px;

}

.info-box div{

    flex:1;

}

.info-box i{

    width:60px;

    height:60px;

    background:#e50914;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

}

.info-box h4{

    margin-bottom:6px;

}

.info-box span{

    color:#bdbdbd;

}

.contact-map iframe{

    width:100%;

    height:500px;

    border:none;

    border-radius:15px;

}


/* ==========================================
   FOOTER
========================================== */

footer{

    background:#080808;

    padding-top:80px;

    border-top:1px solid rgba(255,255,255,.05);

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    padding-bottom:50px;

}

.footer-logo{

    width:170px;

    margin-bottom:25px;

}

.footer-grid p{

    color:#9f9f9f;

    line-height:1.8;

}

.footer-grid h3{

    margin-bottom:20px;

}

.footer-grid ul li{

    margin-bottom:15px;

}

.footer-grid ul li a{

    color:#bdbdbd;

    transition:.3s;

}

.footer-grid ul li a:hover{

    color:#e50914;

    padding-left:6px;

}

.copyright{

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

    padding:25px;

    color:#888;

    font-size:14px;

}


/* ==========================================
   WHATSAPP FLOAT BUTTON
========================================== */

.whatsapp{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    color:white;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

    z-index:9999;

    transition:.35s;

}

.whatsapp:hover{

    transform:scale(1.12);

}


/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:#e50914;

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:#ff2936;

}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1100px){

    .services .container,
    .counter .container,
    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .about-grid,
    .contact-grid,
    .footer-grid{

        grid-template-columns:1fr;

    }

    .hero h1{

        font-size:52px;

    }

}

@media(max-width:768px){

    nav{

        display:none;

    }

    .header-phone{

        display:none;

    }

    .hero{

        text-align:center;

    }

    .hero .left{

        margin:auto;

    }

    .buttons{

        justify-content:center;

        flex-wrap:wrap;

    }

    .services .container,
    .gallery-grid,
    .counter .container{

        grid-template-columns:1fr;

    }

    .hero h1{

        font-size:40px;

    }

    .about h2,
    .cta h2,
    .contact-info h2{

        font-size:34px;

    }

}

@media(max-width:500px){

    .hero h1{

        font-size:32px;

    }

    .btn-red,
    .btn-dark{

        width:100%;

        text-align:center;

    }

}