/* RESET */
*{
    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;
    font-size: 24px;
    overflow-x: hidden;
}

/* 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;
    border-bottom: 3px solid orange;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* LOGO y TITULO */
.header-left{
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo{
    width: 100%;
    max-width: 180px;
    height: auto;
}

.titulo-principal{
    font-size: 32px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
    line-height: 1.3;
}

/* MENÚ HAMBURGUESA */
.menu-toggle{
    display: block;
    font-size: 30px;
    cursor: pointer;
    color: white;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
}

/* NAV */
nav{
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 210px;
    background: rgba(163, 58, 58, 0.95);
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 1000;
}

nav.active{
    display: block;
}

nav ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    gap: 10px;
}

nav ul li a{
    display: block;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 22px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

nav ul li a:hover{
    background-color: #ffb300;
    color: #4b0082;
    box-shadow: 0 0 10px #9d00ff;
}

/* PÁRRAFOS */
p{
    text-align: center;
    font-size: 24px;
    padding: 15px;
    color: #333;
    max-width: 1000px;
    margin: auto;
    line-height: 1.8;
}

/* TITULOS */
h3{
    text-align: center;
    font-size: 28px;
    margin: 25px 0;
    color: #4b0082;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* IMAGEN PRINCIPAL */
.product-image{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border: 3px solid #6d2483;
    border-radius: 15px;
    padding: 4px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* GALERÍA */
.galeria{
    padding: 40px 20px;
    background-color: rgb(254, 235, 212);
}

.titulo-seccion{
    text-align: center;
    font-size: 34px;
    color: #4b0082;
    margin-bottom: 15px;
}

.descripcion-galeria{
    text-align: center;
    font-size: 24px;
    color: #5c4431;
    margin-bottom: 40px;
    max-width: 800px;
}

/* SUBGALERÍAS */
.subgaleria{
    margin-bottom: 50px;
}

.subtitulo-galeria{
    text-align: center;
    font-size: 30px;
    color: #8b1e3f;
    margin-bottom: 10px;
}

.texto-subgaleria{
    text-align: center;
    font-size: 24px;
    color: #4b2e1f;
    margin-bottom: 20px;
    max-width: 800px;
}

/* CONTENEDOR IMAGENES */
.contenedor-imagenes{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* IMAGENES */
.contenedor-imagenes img{
    width: 350px;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contenedor-imagenes img:hover{
    transform: scale(1.05);
}

.IMG-BORDE{
    border: 4px solid #8b1e3f;
    border-radius: 12px;
    padding: 4px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 100%;
    height: auto;
}

/* FOOTER */
footer{
    text-align: center;
    font-size: 16px;
    margin-top: 40px;
    padding: 20px 10px;
    color: #333;
}

footer a{
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover{
    text-decoration: underline;
}

/* CELULAR */
@media (max-width: 768px){

    body{
        font-size: 18px;
    }

    header{
        flex-direction: column;
        text-align: center;
    }

    .header-left{
        flex-direction: column;
        align-items: center;
    }

    .logo{
        max-width: 140px;
    }

    .titulo-principal{
        font-size: 24px;
        text-align: center;
    }

    p{
        font-size: 18px;
        padding: 10px;
    }

    .titulo-seccion{
        font-size: 24px;
    }

    .subtitulo-galeria{
        font-size: 22px;
    }

    .texto-subgaleria{
        font-size: 18px;
    }

    .contenedor-imagenes{
        flex-direction: column;
        align-items: center;
    }

    .contenedor-imagenes img{
        width: 90%;
        height: auto;
    }

    nav{
        width: 210px;
        right: 10px;
    }

    nav ul li a{
        font-size: 18px;
    }
}

/* TABLETS */
@media (min-width: 769px) and (max-width: 1024px){

    .contenedor-imagenes img{
        width: 45%;
        height: auto;
    }

    .titulo-principal{
        font-size: 28px;
    }
}