*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

/* BODY */
body{
    background:url('../img/camion.jpeg') no-repeat center center/cover;
    color:white;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

/* OVERLAY */
.overlay{
    background:rgba(0,0,0,0.6);
    flex:1;
    display:flex;
    flex-direction:column;
}

/* ========================= */
/* HEADER */
/* ========================= */

header{
    background:#0d1b2a;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 25px;
    flex-wrap:wrap;
    gap:15px;
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    width:60px;
    border-radius:10px;
}

.logo h1{
    font-size:38px;
}

/* MENU */
nav ul{
    list-style:none;
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

nav a:hover{
    color:#00d4ff;
}

/* OFERTAS */
.ofertas{
    display:flex;
    gap:10px;
}

.ofertas img{
    width:70px;
    border-radius:10px;
    transition:0.3s;
}

.ofertas img:hover{
    transform:scale(1.05);
}

/* ========================= */
/* HERO */
/* ========================= */

.hero{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:50px 20px;
}

.buttons{
    text-align:center;
}

button{
    padding:16px 45px;
    margin:10px;
    font-size:20px;
    border:none;
    border-radius:12px;
    background:#0d2b4d;
    color:white;
    cursor:pointer;
    transition:0.3s;
}

button:hover{
    background:#123d6b;
    transform:translateY(-3px);
}

/* ========================= */
/* MODAL */
/* ========================= */

.modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.hidden{
    display:none;
}

.modal-content{
    background:#0b223d;
    width:80%;
    max-height:80%;
    overflow:auto;
    border-radius:15px;
    padding:20px;
}

#closeBtn{
    float:right;
    cursor:pointer;
    font-size:25px;
}

.state{
    margin-bottom:20px;
}

.state h3{
    color:#00ff99;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer{
    background:linear-gradient(to right,#0b1d2d,#0f2c44);
    padding:35px 40px;
    margin-top:auto;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:30px;
}

.footer-section{
    max-width:280px;
}

.footer-section h2,
.footer-section h3{
    margin-bottom:10px;
}

/* DIAMANTE */
.diamond{
    font-size:32px;
    color:#00d4ff;
    margin-bottom:10px;
}

/* REDES */
.social-icons{
    display:flex;
    gap:10px;
}

.social-icons a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:42px;
    height:42px;
    border:1px solid white;
    border-radius:50%;
    color:white;
    transition:.3s;
    text-decoration:none;
}

.social-icons a:hover{
    background:#00d4ff;
    color:#0b1d2d;
    transform:scale(1.1);
}

/* COPYRIGHT */
.copy{
    text-align:center;
    margin-top:25px;
    font-size:13px;
    color:#aaa;
}

/* ================================================= */
/* ================== TABLETA ====================== */
/* ================================================= */

@media(max-width:1024px){

    header{
        flex-direction:column;
        text-align:center;
    }

    nav ul{
        justify-content:center;
    }

    .logo h1{
        font-size:30px;
    }

    .hero{
        padding:40px 20px;
    }

    button{
        width:280px;
        font-size:18px;
    }

    .footer-content{
        justify-content:center;
        text-align:center;
    }

    .social-icons{
        justify-content:center;
    }
}

/* ================================================= */
/* ================== CELULAR ====================== */
/* ================================================= */

@media(max-width:768px){

    header{
        padding:15px;
    }

    .logo{
        flex-direction:column;
    }

    .logo img{
        width:70px;
    }

    .logo h1{
        font-size:24px;
        text-align:center;
    }

    nav ul{
        flex-direction:column;
        gap:12px;
        align-items:center;
    }

    nav a{
        font-size:16px;
    }

    .ofertas{
        justify-content:center;
        flex-wrap:wrap;
    }

    .ofertas img{
        width:60px;
    }

    .hero{
        padding:30px 15px;
    }

    .buttons{
        width:100%;
    }

    button{
        width:100%;
        max-width:320px;
        font-size:17px;
        padding:15px;
    }

    .modal-content{
        width:95%;
        padding:15px;
    }

    footer{
        padding:25px 20px;
    }

    .footer-content{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .footer-section{
        max-width:100%;
    }

    .diamond{
        font-size:28px;
    }

    .social-icons{
        justify-content:center;
    }

    .copy{
        font-size:11px;
    }
}

/* ================================================= */
/* ============== CELULARES PEQUEÑOS =============== */
/* ================================================= */

@media(max-width:480px){

    .logo h1{
        font-size:20px;
    }

    button{
        font-size:15px;
    }

    nav a{
        font-size:15px;
    }

    .ofertas img{
        width:50px;
    }

    .diamond{
        font-size:24px;
    }
}