/* =========================
   RESET GENERAL
========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */

body{
    font-family: 'Times New Roman', Times, serif;
    background: rgb(254, 235, 212);
    color: #333;
    line-height: 1.6;
    padding-bottom: 50px;
    overflow-x: hidden;
}

/* =========================
   HEADER
========================= */

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, rgb(255, 153, 0), rgb(163, 58, 58));
    padding: 20px;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-bottom: 3px solid orange;
    position: relative;
}

/* =========================
   LOGO
========================= */

.logo{
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-right: 15px;
}

/* =========================
   TITULO
========================= */

.titulo-principal{
    font-size: 32px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
    text-align: left;
    line-height: 1.2;
    flex: 1;
}

/* =========================
   BOTON HAMBURGUESA
========================= */

.menu-toggle{
    display: block;
    font-size: 32px;
    cursor: pointer;
    color: white;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
}

/* =========================
   MENU DESPLEGABLE
========================= */

nav{
    display: none;
    position: absolute;
    top: 70px;
    right: 15px;
    width: 210px;
    background: rgba(163, 58, 58, 0.96);
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 10px 0;
}

nav.active{
    display: block;
}

nav ul{
    list-style: none;
}

nav ul li{
    display: block;
}

nav ul li a{
    display: block;
    padding: 10px 15px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    transition: 0.3s;
}

nav ul li a:hover{
    background-color: #ffb300;
    color: #4b0082;
    box-shadow: 0 0 10px #9d00ff;
}

/* =========================
   CONTENIDO
========================= */

h4{
    text-align: center;
    font-size: 29px;
    margin: 25px 0;
    color: #4b0082;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h5{
    text-align: center;
    font-size: 25px;
    margin: 25px 0;
    color: #4b0082;
    text-transform: uppercase;
    letter-spacing: 2px;
}

p{
    text-align: justify;
    font-size: 25px;
    padding: 15px;
    color: #333;
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
}

/* =========================
   IMAGEN
========================= */

.product-image{
    display: block;
    max-width: 50%;
    height: auto;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    border: 5px solid #4b0082;
}

/* =========================
   FOOTER
========================= */

footer{
    text-align: center;
    font-size: 13px;
    margin-top: 40px;
    padding: 15px 0;
    color: #333;
}

footer a{
    color: #333;
    text-decoration: none;
}

footer a:hover{
    text-decoration: underline;
}

/* =========================
   RESPONSIVE CELULAR
========================= */

@media (max-width: 768px){

    header{
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 25px;
    }

    .logo{
        max-width: 100px;
        margin: 0 auto;
    }

    .titulo-principal{
        font-size: 24px;
        text-align: center;
        margin-top: 10px;
    }

    .menu-toggle{
        top: 15px;
        right: 15px;
        font-size: 28px;
    }

    nav{
        width: 210px;
        right: 10px;
        top: 60px;
    }

    nav ul li a{
        font-size: 22px;
    }

    p{
        font-size: 20px;
        padding: 12px;
    }

    h4{
        font-size: 22px;
    }

    h5{
        font-size: 20px;
    }
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (min-width: 769px) and (max-width: 1024px){

    .titulo-principal{
        font-size: 28px;
    }

    nav ul li a{
        font-size: 21px;
    }

    p{
        font-size: 22px;
    }
}