/* --------------------------------------------
    CAFETERÍA "Aroma & Sabor"
-    Solo Flexbox
     Todas las medidas en rem y porcentajes */

.contenedor-video {
    max-width: 30rem; 
    margin: 0 auto;
    padding: 1rem;
}




/* ----- RESET ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: #FDF8F0;
    color: #2C1810;
    line-height: 1.7;
}



/* ----- CONTENEDOR PRINCIPAL ----- */
.contenedor {
    width: 88%;
    max-width: 72rem;
    margin: 0 auto;
}




/* ----- SECCIONES CON DIFERENTES FONDOS ----- */
.seccion-clara {
    padding: 5rem 0;
    background-color: #FDF8F0;
}

.seccion-arena {
    padding: 5rem 0;
    background-color: #F5EDE0;
}

.seccion-oscura {
    padding: 5rem 0;
    background-color: #2C1810;
    color: #FDF8F0;
}

.seccion-destacada {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F5EDE0 0%, #E8D5C4 100%);
}


/* ----- ALINEACIONES ----- */
.centrar-texto {
    text-align: center;
}

.texto-izquierda {
    text-align: left;
}

.texto-justificado {
    text-align: justify;
}




/* ----- TIPOGRAFÍA ----- */

.titulo-gigante {
    font-size: 3.8rem;
    color: #FDF8F0;
    margin-bottom: 1.2rem;
    line-height: 1.15;
    text-align: center;
    text-shadow: 0.15rem 0.15rem 0.4rem rgba(0,0,0,0.7);
    font-weight: bold;
    letter-spacing: 0.05rem;
}

.titulo-principal {
    font-size: 2.8rem;
    color: #2C1810;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: bold;
}

.titulo-principal-claro {
    font-size: 2.8rem;
    color: #FDF8F0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: bold;
}

.titulo-mediano {
    font-size: 2rem;
    color: #2C1810;
    margin-bottom: 1.2rem;
    font-weight: bold;
}

.titulo-mediano-claro {
    font-size: 2rem;
    color: #FDF8F0;
    margin-bottom: 1.2rem;
    font-weight: bold;
}

.subtitulo {
    font-size: 1.4rem;
    color: #8D6E63;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.subtitulo-claro {
    font-size: 1.4rem;
    color: #D7CCC8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.texto-base {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #3E2723;
}

.texto-base-claro {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #D7CCC8;
}

.texto-chico {
    font-size: 0.95rem;
    color: #5D4037;
}

.texto-chico-claro {
    font-size: 0.95rem;
    color: #BCAAA4;
}







/* ----- ESTILOS DE TEXTO ----- */

b {
    color: #A0522D;
    font-weight: 700;
}

i {
    color: #6D4C41;
    font-style: italic;
}

u {
    text-decoration: none;
    border-bottom: 0.15rem solid #A0522D;
    padding-bottom: 0.1rem;
}

.destacado {
    color: #A0522D;
    font-weight: 600;
}


/* ----- BARRA DE NAVEGACIÓN ----- **/

.barra-navegacion {
    background-color: #2C1810;
    padding: 1.5rem 0;
    border-bottom: 0.35rem solid #A0522D;
    position: sticky;
    top: 0;
    z-index: 100;
}

.barra-navegacion .contenedor {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}


.logo {
    color: #FDF8F0;
    font-size: 2rem;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.1rem;
}

.logo span {
    color: #A0522D;
}

.logo:hover {
    color: #A0522D;
}

.logo:hover span {
    color: #FDF8F0;
}

.menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.enlace-menu {
    display: block;
    color: #BCAAA4;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
}

.enlace-menu:hover {
    color: #FDF8F0;
    background-color: #4E342E;
}

.enlace-menu.activo {
    color: #FDF8F0;
    background-color: #A0522D;
}






/* ----- BOTONES ----- */

.boton-principal {
    display: inline-block;
    background-color: #A0522D;
    color: #FDF8F0;
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 2.5rem;
    margin-top: 1rem;
    margin-right: 0.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.boton-principal:hover {
    background-color: #6D3A1F;
    transform: translateY(-0.15rem);
    box-shadow: 0 0.4rem 1.2rem rgba(160, 82, 45, 0.3);
}


.boton-secundario {
    display: inline-block;
    background-color: transparent;
    color: #FDF8F0;
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 2.5rem;
    border: 0.15rem solid #FDF8F0;
    margin-top: 1rem;
    margin-right: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Segoe UI', Arial, sans-serif;
}


.boton-secundario:hover {
    background-color: #FDF8F0;
    color: #2C1810;
    transform: translateY(-0.15rem);
}

.boton-oscuro {
    display: inline-block;
    background-color: #2C1810;
    color: #FDF8F0;
    padding: 0.9rem 2.5rem;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 2.5rem;
    margin-top: 1rem;
    margin-right: 0.8rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.boton-oscuro:hover {
    background-color: #4E342E;
    transform: translateY(-0.15rem);
}

.boton-especial {
    display: inline-block;
    background: linear-gradient(135deg, #A0522D, #6D3A1F);
    color: #FDF8F0;
    padding: 1rem 3rem;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 3rem;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-shadow: 0 0.3rem 1rem rgba(160, 82, 45, 0.3);
}

.boton-especial:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1.5rem rgba(160, 82, 45, 0.5);
}



/* ----- HERO ----- */

/*fondo oscuro*/
.hero {
    background-color: #3f271c;
    padding: 9rem 0;
    background-image: url('imagenes/banner-cafe.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.8), transparent);
}

.hero .contenedor {
    position: relative;
    z-index: 1;
}

/* ----- SISTEMA DE COLUMNAS FLEXBOX ----- */
.fila {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
}

.fila-centrada {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.columna-mitad {
    flex: 0 0 45%;
}

.columna-tercio {
    flex: 0 0 28%;
}

.columna-cuarta {
    flex: 0 0 22%;
}

/* ----- TARJETAS ----- */
.tarjeta {
    background-color: #FDF8F0;
    padding: 2.5rem;
    border-radius: 0.8rem;
    border: 0.0625rem solid #E8D5C4;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tarjeta:hover {
    border-color: #A0522D;
    transform: translateY(-0.4rem);
    box-shadow: 0 0.6rem 2rem rgba(0,0,0,0.08);
}

.tarjeta-oscura {
    background-color: #2C1810;
    padding: 2.5rem;
    border-radius: 0.8rem;
    border: 0.0625rem solid #4E342E;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tarjeta-evento {
    background: linear-gradient(145deg, #2C1810, #3E2723);
    padding: 2.5rem;
    border-radius: 0.8rem;
    border: 0.15rem solid #A0522D;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.tarjeta-evento:hover {
    transform: scale(1.02);
    box-shadow: 0 0.6rem 2rem rgba(160, 82, 45, 0.2);
}

.icono-tarjeta {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ----- IMÁGENES ----- */
.imagen-fluida {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.6rem;
    margin-bottom: 1.2rem;
}

.imagen-redonda {
    display: block;
    width: 100%;
    max-width: 18rem;
    height: auto;
    border-radius: 50%;
    margin: 0 auto 1.2rem auto;
    border: 0.3rem solid #A0522D;
}

.imagen-borde {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.6rem;
    margin-bottom: 1.2rem;
    border: 0.15rem solid #A0522D;
}

.imagen-icono {
    width: 4.5rem;
    height: auto;
    border-radius: 0.4rem;
    vertical-align: middle;
    margin-right: 0.8rem;
}

/* ----- VIDEO ----- */
.contenedor-video {
    background-color: #2C1810;
    padding: 1.5rem;
    border-radius: 0.8rem;
    text-align: center;
    margin-top: 1.5rem;
    border: 0.15rem solid #A0522D;
}

.contenedor-video video {
    max-width: 90%;
    border-radius: 0.4rem;
}

/* ----- TABLA DE MENÚ ----- */
.tabla-menu {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    background-color: #FDF8F0;
    border-radius: 0.6rem;
    overflow: hidden;
}

.tabla-menu th {
    background-color: #2C1810;
    color: #FDF8F0;
    font-size: 1.2rem;
    padding: 1.2rem;
    text-align: left;
    font-weight: 600;
}

.tabla-menu td {
    border-bottom: 0.0625rem solid #E8D5C4;
    padding: 1rem 1.2rem;
    text-align: left;
    color: #3E2723;
}

.tabla-menu tr:nth-child(even) {
    background-color: #F5EDE0;
}

.tabla-menu tr:last-child td {
    border-bottom: none;
}

.tabla-menu tr:hover {
    background-color: #E8D5C4;
}

/* ----- LISTA DE HORARIO ----- */
.lista-horario {
    list-style: none;
    padding: 0;
}

.lista-horario li {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 0.0625rem solid #E8D5C4;
    font-size: 1.05rem;
    color: #3E2723;
}

.lista-horario li:last-child {
    border-bottom: none;
}

.horario-dia {
    font-weight: 600;
    color: #2C1810;
}

.horario-hora {
    color: #A0522D;
}

/* ----- TESTIMONIOS ----- */
.testimonio {
    background-color: #FDF8F0;
    padding: 2rem;
    border-radius: 0.6rem;
    border-left: 0.35rem solid #A0522D;
    margin-bottom: 1.5rem;
}

.testimonio p {
    font-size: 1.05rem;
    color: #3E2723;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.testimonio .autor {
    font-weight: 600;
    color: #A0522D;
    font-style: normal;
}

/* ----- FORMULARIO ----- */
.formulario-contacto {
    background-color: #FDF8F0;
    padding: 2.5rem;
    border-radius: 0.8rem;
    border: 0.0625rem solid #E8D5C4;
}

.formulario-contacto label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
    color: #2C1810;
}

.formulario-contacto input,
.formulario-contacto textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    border: 0.0625rem solid #D7CCC8;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-family: inherit;
    background-color: #FFFCF8;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
    outline: none;
    border-color: #A0522D;
    box-shadow: 0 0 0 0.15rem rgba(160, 82, 45, 0.15);
}

/* ----- PIE DE PÁGINA ----- */
.pie-pagina {
    background-color: #2C1810;
    color: #BCAAA4;
    padding: 3.5rem 0 1.5rem 0;
    border-top: 0.35rem solid #A0522D;
}

.pie-pagina .fila {
    align-items: flex-start;
}

.pie-pagina .columna-cuarta {
    flex: 0 0 22%;
}

.pie-pagina h4 {
    color: #FDF8F0;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pie-pagina p {
    font-size: 0.95rem;
    color: #BCAAA4;
    margin-bottom: 0.5rem;
}

.pie-pagina a {
    color: #BCAAA4;
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.pie-pagina a:hover {
    color: #A0522D;
}

.pie-pagina .separador {
    color: #A0522D;
    margin: 0 0.5rem;
}

.pie-pagina .copy {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 0.0625rem solid #4E342E;
    font-size: 0.9rem;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    .barra-navegacion .contenedor {
        flex-direction: column;
        gap: 1.2rem;
    }

    .menu {
        justify-content: center;
        gap: 0.2rem;
    }

    .enlace-menu {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }

    .columna-mitad,
    .columna-tercio,
    .columna-cuarta {
        flex: 0 0 100%;
    }

    .titulo-gigante {
        font-size: 2.5rem;
    }

    .titulo-principal,
    .titulo-principal-claro {
        font-size: 2rem;
    }

    .hero {
        padding: 5rem 0;
    }

    .boton-principal,
    .boton-secundario,
    .boton-oscuro,
    .boton-especial {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 0.8rem;
    }

    .pie-pagina .columna-cuarta {
        flex: 0 0 100%;
        margin-bottom: 1.5rem;
    }

    .tabla-menu {
        font-size: 0.85rem;
    }

    .tabla-menu th,
    .tabla-menu td {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .titulo-gigante {
        font-size: 2rem;
    }

    .titulo-principal {
        font-size: 1.6rem;
    }

    .texto-base {
        font-size: 1rem;
    }

    .menu {
        flex-wrap: wrap;
    }

    .enlace-menu {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }
}