/* =========================================
   RESET GENERAL
========================================= */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   BODY
========================================= */
body {
    font-family: 'Times New Roman', Times, serif;
    background-color: rgb(254, 235, 212);
    color: #333;
    line-height: 1.6;
    padding-bottom: 50px;
    font-size: 24px;
}

/* =========================================
   HEADER
========================================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    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;
}

/* =========================================
   TITULO
========================================= */
.titulo-principal {
    flex: 1;
    font-size: 32px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
    text-align: left;
    margin: 0;
    line-height: 1.2;
}

/* =========================================
   BOTÓN HAMBURGUESA
========================================= */
.menu-toggle {
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: white;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
}

/* =========================================
   MENÚ FLOTANTE
========================================= */
nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 15px;
    width: 210px;
    min-width: 210px;
    background: rgba(163, 58, 58, 0.95);
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 10px 0;
}

/* =========================================
   MENU ACTIVO
========================================= */
nav.active {
    display: block;
}

/* =========================================
   LISTA DEL MENÚ
========================================= */
nav ul {
    list-style: none;
    display: block;
    padding: 5px 0;
}

nav ul li {
    display: block;
}

/* =========================================
   LINKS DEL MENÚ
========================================= */
nav ul li a {
    display: block;
    padding: 9px 12px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
}

nav ul li a:hover {
    background-color: #ffb300;
    color: #4b0082;
    box-shadow: 0 0 10px #9d00ff;
}

/* =========================================
   CONTENIDO
========================================= */
h1,h3,h4 {
    text-align: center;
    color: rgb(101, 18, 170);
}

p {
    text-align: center;
    font-size: 25px;
    padding: 15px;
    color: #333;
    max-width: 900px;
    margin: auto;
    line-height: 1.8;
}

li {
    text-align: center;
}

/* =========================================
   LISTA VALORES
========================================= */
.valores-lista {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 700px;
}

.valores-lista li {
    background-color: #fdf3e6;
    border-left: 5px solid #481977;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 6px;
    font-size: 22px;
}

/* =========================================
   IMAGEN
========================================= */
.product-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 25px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    border: 3px 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) {

    body {
        font-size: 18px;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        max-width: 100px;
        margin: auto;
    }

    .titulo-principal {
        text-align: center;
        font-size: 22px;
        padding-top: 10px;
    }

    .menu-toggle {
        top: 15px;
        right: 15px;
        font-size: 26px;
    }

    nav {
        width: 210px;
        min-width: 210px;

        top: 60px;
        right: 10px;
    }

    nav ul li a {
        font-size: 20px;
    }

    p {
        font-size: 18px;
        padding: 10px;
    }

    .valores-lista li {
        font-size: 18px;
    }

}

/* =========================================
   RESPONSIVE TABLET
========================================= */
@media (min-width: 769px) and (max-width: 1024px) {

    body {
        font-size: 20px;
    }

    .titulo-principal {
        font-size: 26px;
    }

}
