/*====================================================
                MRC MOTORS
                STYLE.CSS
====================================================*/

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0d0d0d;
    color:#fff;
    line-height:1.7;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

.container{
    width:min(92%,1400px);
    margin:auto;
}

/*====================================================
                    NAVBAR
====================================================*/

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:9999;
    background:rgba(12,12,12,.88);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.navbar .container{
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.logo img{
    width:165px;
    transition:.3s;
}

.logo img:hover{
    transform:scale(1.03);
}

.menu{
    display:flex;
    align-items:center;
    gap:38px;
}

.menu a{
    color:#fff;
    font-size:16px;
    font-weight:500;
    position:relative;
    transition:.3s;
}

.menu a:hover{
    color:#e30613;
}

.menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:#e30613;
    transition:.3s;
}

.menu a:hover::after{
    width:100%;
}

.call-btn,
.location-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:48px;
    padding:0 22px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.call-btn{
    background:#e30613;
    color:#fff;
}

.call-btn:hover{
    background:#ff1f29;
    transform:translateY(-2px);
}

.location-btn{
    border:2px solid #fff;
    color:#fff;
    margin-left:10px;
}

.location-btn:hover{
    background:#fff;
    color:#111;
}

/*====================================================
                    HERO
====================================================*/

.hero{

    position:relative;

    min-height:100vh;

    padding-top:90px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    overflow:hidden;

    background:url("../img/header.jpg") center center/cover no-repeat;

}

.overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.60),
        rgba(0,0,0,.82)
    );

    z-index:1;

}

.hero-content{

    position:relative;

    z-index:2;

    width:92%;

    max-width:900px;

    margin:auto;

}

.hero-logo{

    width:240px;

    margin:0 auto 35px;

    filter:drop-shadow(0 0 30px rgba(227,6,19,.35));

}

.hero h1{

    font-size:74px;

    font-weight:800;

    letter-spacing:3px;

    margin-bottom:10px;

}

.hero h2{

    color:#e30613;

    font-size:32px;

    font-weight:500;

    margin-bottom:25px;

}

.hero p{

    color:#d5d5d5;

    font-size:20px;

    max-width:760px;

    margin:0 auto 45px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:18px;

}

.btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    min-width:220px;

    height:56px;

    padding:0 30px;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    transition:.30s;

}

.btn.red{

    background:#e30613;

    color:#fff;

}

.btn.red:hover{

    background:#ff202a;

    transform:translateY(-3px);

    box-shadow:0 0 30px rgba(227,6,19,.45);

}

.btn.white{

    border:2px solid #fff;

    color:#fff;

}

.btn.white:hover{

    background:#fff;

    color:#111;

}

/*====================================================
                DE CE MRC MOTORS
====================================================*/

section{
    padding:110px 0;
}

.title{
    width:min(90%,800px);
    margin:0 auto 70px;
    text-align:center;
}

.title span{
    display:inline-block;
    color:#e30613;
    font-size:14px;
    font-weight:700;
    letter-spacing:4px;
    margin-bottom:15px;
}

.title h2{
    font-size:52px;
    font-weight:700;
    margin-bottom:20px;
}

.title p{
    color:#bdbdbd;
    font-size:18px;
    line-height:1.8;
}

.why{
    background:#141414;
}

.why-grid{
    width:min(90%,1400px);
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.why-card{
    background:#1b1b1b;
    border:1px solid rgba(255,255,255,.06);
    border-radius:22px;
    padding:45px 35px;
    text-align:center;
    transition:.35s;
}

.why-card:hover{
    transform:translateY(-10px);
    border-color:#e30613;
    box-shadow:0 20px 45px rgba(227,6,19,.18);
}

.icon{
    width:120px;
    height:120px;
    margin:0 auto 30px;
    border-radius:50%;
    background:#232323;
    display:flex;
    justify-content:center;
    align-items:center;
}

.icon img{
    width:70px;
    height:70px;
    object-fit:contain;
}

.why-card h3{
    font-size:28px;
    margin-bottom:18px;
}

.why-card p{
    color:#c7c7c7;
    font-size:17px;
    line-height:1.8;
}

/*====================================================
                    DESPRE NOI
====================================================*/

.about{
    background:#101010;
}

.about-container{
    width:min(90%,1400px);
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:24px;
    box-shadow:0 20px 60px rgba(0,0,0,.45);
    transition:.35s;
}

.about-image img:hover{
    transform:scale(1.02);
}

.about-content{
    color:#fff;
}

.section-tag{
    display:inline-block;
    color:#e30613;
    font-size:14px;
    font-weight:700;
    letter-spacing:4px;
    margin-bottom:18px;
}

.about-content h2{
    font-size:48px;
    line-height:1.3;
    margin-bottom:30px;
}

.about-content p{
    color:#c8c8c8;
    font-size:18px;
    line-height:2;
    margin-bottom:25px;
}

.about-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin:40px 0;
}

.feature{
    background:#1a1a1a;
    border-left:4px solid #e30613;
    border-radius:8px;
    padding:16px 18px;
    transition:.3s;
}

.feature:hover{
    background:#232323;
    transform:translateX(8px);
}

/*====================================================
                    SERVICII
====================================================*/

.services{
    background:#151515;
}

.services-grid{
    width:min(90%,1450px);
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.service-card{
    background:#1b1b1b;
    border:1px solid rgba(255,255,255,.05);
    border-radius:22px;
    padding:45px 35px;
    text-align:center;
    transition:.35s;
    overflow:hidden;
    position:relative;
}

.service-card::before{
    content:"";
    position:absolute;
    left:-100%;
    top:0;
    width:100%;
    height:4px;
    background:#e30613;
    transition:.35s;
}

.service-card:hover::before{
    left:0;
}

.service-card:hover{
    transform:translateY(-10px);
    border-color:#e30613;
    box-shadow:0 20px 45px rgba(227,6,19,.20);
}

.service-card img{
    width:85px;
    height:85px;
    margin:0 auto 30px;
    object-fit:contain;
    transition:.35s;
}

.service-card:hover img{
    transform:scale(1.1);
}

.service-card h3{
    font-size:28px;
    margin-bottom:18px;
}

.service-card p{
    color:#c8c8c8;
    font-size:17px;
    line-height:1.8;
}

/*====================================================
                    VIDEO
====================================================*/

.video-section{
    background:#101010;
}

.video-container{
    width:min(90%,1200px);
    margin:60px auto 0;
    overflow:hidden;
    border-radius:24px;
    border:2px solid #222;
    box-shadow:0 20px 60px rgba(0,0,0,.45);
    transition:.35s;
}

.video-container:hover{
    border-color:#e30613;
    box-shadow:0 0 40px rgba(227,6,19,.25);
}

.video-container video{
    width:100%;
    display:block;
    aspect-ratio:16/9;
    object-fit:cover;
    background:#000;
}

.video-container video:focus{
    outline:none;
}

/*====================================================
                    GALERIE
====================================================*/

.gallery{
    background:#151515;
}

.gallery-grid{
    width:min(90%,1450px);
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.gallery-grid img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:20px;
    cursor:pointer;
    border:2px solid transparent;
    transition:.35s;
}

.gallery-grid img:hover{
    transform:scale(1.04);
    border-color:#e30613;
    box-shadow:0 15px 40px rgba(227,6,19,.28);
}

/*====================================================
                    LIGHTBOX
====================================================*/

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.96);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
    padding:30px;
}

.lightbox.active{
    display:flex;
}

#lightbox-image{
    max-width:92vw;
    max-height:92vh;
    border-radius:18px;
    box-shadow:0 25px 70px rgba(0,0,0,.8);
    animation:zoomIn .35s ease;
}

.close-lightbox{
    position:absolute;
    top:20px;
    right:30px;
    font-size:55px;
    color:#fff;
    cursor:pointer;
    transition:.3s;
    user-select:none;
}

.close-lightbox:hover{
    color:#e30613;
    transform:rotate(90deg);
}

@keyframes zoomIn{

from{
    opacity:0;
    transform:scale(.85);
}

to{
    opacity:1;
    transform:scale(1);
}

}

/*====================================================
                    CONTACT
====================================================*/

.contact{
    background:#101010;
}

.contact-grid{
    width:min(90%,1300px);
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.contact-box{
    background:#1b1b1b;
    border:1px solid rgba(255,255,255,.06);
    border-radius:22px;
    padding:45px 30px;
    text-align:center;
    transition:.35s;
}

.contact-box:hover{
    transform:translateY(-8px);
    border-color:#e30613;
    box-shadow:0 15px 40px rgba(227,6,19,.18);
}

.contact-box h3{
    font-size:26px;
    margin-bottom:18px;
}

.contact-box p{
    color:#c8c8c8;
    line-height:1.8;
}

.contact-box a{
    transition:.3s;
}

.contact-box a:hover{
    color:#e30613;
}

/*====================================================
                    FOOTER
====================================================*/

footer{

    background:#0b0b0b;

    border-top:1px solid rgba(255,255,255,.08);

    padding:45px 20px;

    text-align:center;

}

.footer-content{

    width:min(90%,900px);

    margin:auto;

}

footer h3{

    font-size:30px;

    margin-bottom:10px;

}

footer p{

    color:#bdbdbd;

    line-height:1.8;

}

.footer-copy{

    margin-top:25px;

    font-size:14px;

    color:#777;

}

/*====================================================
                RESPONSIVE
====================================================*/

@media (max-width:768px){

html,
body{

overflow-x:hidden;

}

/* NAVBAR */

.navbar{

height:70px;

}

.navbar .container{

height:70px;

display:flex;

justify-content:space-between;

align-items:center;

}

.logo img{

width:95px;

}

.menu{

display:none;

}

.call-btn{

padding:10px 18px;

height:42px;

font-size:14px;

}

.location-btn{

display:none;

}

/* HERO */

.hero{

min-height:100dvh;

height:auto;

padding:100px 20px 60px;

background-position:center;

background-size:cover;

background-attachment:scroll;

}

.hero-content{

width:100%;

max-width:100%;

padding:0;

}

.hero-logo{

width:120px;

margin:0 auto 20px;

}

.hero h1{

font-size:34px;

letter-spacing:1px;

}

.hero h2{

font-size:20px;

margin-bottom:18px;

}

.hero p{

font-size:16px;

margin-bottom:30px;

}

.hero-buttons{

display:flex;

flex-direction:column;

align-items:center;

gap:12px;

}

.hero-buttons .btn{

width:100%;

max-width:280px;

height:50px;

font-size:15px;

}

/* TITLURI */

.title h2{

font-size:34px;

}

.title p{

font-size:16px;

}

/* GRIDURI */

.about-container{

grid-template-columns:1fr;

gap:40px;

}

.about-features{

grid-template-columns:1fr;

}

.why-grid,
.services-grid,
.gallery-grid,
.contact-grid{

grid-template-columns:1fr;

}

/* CARDURI */

.why-card,
.service-card,
.contact-box{

padding:30px 25px;

}

/* ICONURI */

.icon{

width:90px;

height:90px;

}

.icon img{

width:55px;

height:55px;

}

.service-card img{

width:70px;

height:70px;

}

/* GALERIE */

.gallery-grid img{

height:220px;

}

/* VIDEO */

.video-container{

width:94%;

}

/* FOOTER */

footer{

padding:35px 20px;

}

footer h3{

font-size:24px;

}

}