:root{
    --black:#111111;
    --red:#d90429;
    --gray:#2c2c2c;
    --light:#f5f5f5;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Montserrat', sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--black);
    color:var(--white);
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.logo-icon{
    display:inline-block;
    width:40px;
    height:60px;
    border-radius:50%;
    margin-right:10px;
    margin-bottom:-5px;
}

header{
    position:fixed;
    width:100%;
    z-index:1000;
    background:rgba(0,0,0,0.85);
    backdrop-filter:blur(10px);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.menu-toggle{
    width:35px;
    height:28px;
    display:none;
    flex-direction:column;
    justify-content:space-between;
    cursor:pointer;
}

.logo{
    color:var(--white);
    align-items:center;
    display:flex;
}

.logo span{
    color:var(--red);
}

nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:var(--white);
    transition:.3s;
}

nav a:hover{
    color:var(--red);
}

.hero{
    position:relative;
    height:100vh;
    background:url("../assets/hero-bg.jpg") center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.7);
}

.hero-content{
    position:relative;
    text-align:center;
    max-width:700px;
    z-index:2;
}

.hero h2{
    font-size:3rem;
    margin-bottom:20px;
}

.hero p{
    margin-bottom:30px;
    line-height:1.8;
}

.btn{
    display:inline-block;
    padding:15px 30px;
    background:var(--red);
    color:white;
    text-decoration:none;
    border-radius:5px;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

.hero-btn{
    display:inline-block;
    padding:15px 30px;
    background:var(--red);
    color:white;
    text-decoration:none;
    border-radius:5px;
    transition:.3s;
    margin:10px;
}

.hero-btn:hover{
    transform:translateY(-3px);
}

section{
    padding:100px 0;
}

.services{
    background:var(--gray);
}

.titulo{
    font-size:2.5rem;
    margin-bottom:50px;
    color:var(--red);
}

.cards{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:#1c1c1c;
    padding:30px;
    border-radius:10px;
    border-top:4px solid var(--red);
}

.advantages-grid{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.advantage{
    background:#1a1a1a;
    padding:30px;
    text-align:center;
    border-radius:10px;
}

.contact{
    text-align:center;
    background:var(--gray);
}

.contact h2{
    font-size:2.5rem;
    margin-bottom:20px;
    color:var(--red);
}

.contact p{
    margin-bottom:30px;
    line-height:1.8;
}

footer{
    text-align:center;
    padding:30px;
    background:#000;
}
/* Responsive Styles */
@media(max-width:768px){

    .menu-toggle{
    display:flex;
    height:28px;
    width: 35px;

    flex-direction:column;
    justify-content:space-between;

    cursor:pointer;
    position:relative;

    z-index:1001;
    }

    .menu-toggle span{
    width:100%;
    height:4px;

    background:white;

    border-radius:10px;

    transition:.3s;
}

    .menu-toggle.active span:nth-child(1){
    transform:
        rotate(45deg)
        translate(8px,8px);
}

    .menu-toggle.active span:nth-child(2){
        opacity:0;
    }

    .menu-toggle.active span:nth-child(3){
        transform:
            rotate(-45deg)
            translate(8px,-8px);
    }

    nav{
        position:fixed;
        top:0;
        right:-300px;
        width:250px;
        height:100vh;

        background:rgba(0,0,0,0.85);

        transition:0.4s ease;

        display:flex;
        justify-content:center;
        align-items:center;

        z-index:999;

        box-shadow: -10px 0 25px rgba(0,0,0,.4);
    }

    nav.active{
        right:0;
    }

    nav ul{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    nav a{
        font-size:1.25rem;
    }

    .overlay-menu{
    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.6);

    opacity:0;
    visibility:hidden;

    transition:.3s;

    z-index:998;
    }

    .overlay-menu.active{
        opacity:1;
        visibility:visible;
    }

    body.menu-open main{
    filter:blur(5px);
    }

}