@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Elimina el scroll horizontal */
}

/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    background: #EDECEC;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(237, 236, 236);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 18px; /* Aumenta el espacio sin cambiar el tamaño del logo */
    padding-bottom: 0px;
    margin: 0;
}

/* Logo */
.logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

/* Menú */
.nav-menu {
    background: #43210A; /* Fondo café */
    width: 100%;
    text-align: center;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.nav-menu ul li {
    padding: 15px 45px;
    transition: background-color 0.3s ease-in-out; /* Suaviza la animación */
}

.nav-menu ul li:hover {
    background-color: #DD0000; /* Cambia el fondo al rojo al pasar el mouse */
}


.nav-menu ul li a {
    color: white; /* Letras blancas */
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease-in-out; /* Agrega transición para suavidad */
}



/* Menú en móviles */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #43210A;
}

/* Responsividad */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu ul li {
        text-align: center;
        padding: 10px;
    }

    .nav-menu ul li a {
        color: white;
        display: block;
        padding: 10px;
    }

    .nav-menu.active {
        display: flex; /* Muestra el menú cuando está activo */
    }
}

/* Video */
.video-section {
    position: relative;
    width: 100vw;
    height: 100px !important;
    min-height: 1000px !important;
    max-height: 1000px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: black; /* Para asegurar que no haya fondo blanco */
}

/* Asegurar que el video se ajuste correctamente */
.video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1; /* Asegura que el video esté detrás del texto */
    /* Ajustes visuales */
    filter: brightness(100%) contrast(100%);
    opacity: 0.9;
}

/* Texto sobre el video */
.video-overlay {
    position: absolute;
    top: 50%;
    left: 200px;
    transform: translateY(-50%);
    text-align: left;
    color: #f8f8f8;
    font-size: 4vw;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    width: 80%;
    max-width: 1000px;
    z-index: 10;
    pointer-events: auto;
}

.video-overlay h1,
.video-overlay h2 {
    margin: 0;
    font-size: 4vw;
    line-height: 1.1;
}

.video-overlay h2 {
    font-size: 3.5vw;
}

/* Botón de catálogo */
.catalog-button {
    display: inline-block;
    background-color: #DB0000;
    color: white;
    padding: 1vw 2vw;
    font-size: 1vw;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    text-shadow: 0.5px 0.5px 1px black;
    transition: background 0.3s ease-in-out;
    margin-top: 10px;
}

.catalog-button:hover {
    background-color: #AA0000;
}

/* Responsividad */
@media (max-width: 768px) {
    .video-overlay {
        font-size: 5vw;
        width: 90%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        text-align: center;
    }

    .video-overlay h1,
    .video-overlay h2 {
        font-size: 6vw;
    }

    .catalog-button {
        font-size: 3vw;
        padding: 2vw 4vw;
        display: block;
        margin: 10px auto;
    }
}


/* Footer */
footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Barra superior café */
.footer-bar {
    background-color: #43210A; /* Color café */
    height: 50px;
    width: 100%;
    padding-top: 10px;
}

/* Contenedor blanco debajo de la barra */
.footer-content {
    background-color: #43210A; /* Fondo blanco */
    width: 100%;
    text-align: center;
    padding: 5px 0; /* Espaciado interno */
}



.social-links {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight:bold;
    transition:color 0.3;
}
.social-item:hover {
    color: #DD0000; /* Cambio de color al pasar el cursor */
}
.social-icon {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
}
/* Derechos reservados */

.footer-rights {
    background-color: #022f5b;
    width: 100%;
    padding: 0px 0;
    text-align: center;
    font-size: 15px;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .social-links {
        flex-direction: 2 column;
        gap: 15px;
    }
}


/* Responsividad */
@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
    }
    .video-overlay {
        font-size: 2rem;
    }
    .video-overlay p {
        font-size: 2rem;
    }
    .video-overlay .cta-button {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
}
/* Sección de productos */
.productos-section {
    text-align: center;
    margin-top: 100px;
    padding: 50px 20px;
    background-color: #EDECEC;
}

.productos-titulo {
    font-size: 2.5rem;
    color: #43210A;
    margin-bottom: 10px;
}

.productos-descripcion {
    font-size: 1.8rem;
    color: black;
    margin-bottom: 30px;
}

/* Tarjetero */
.tarjetero {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Tarjetas */
.tarjeta {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #f8f8f8;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tarjeta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.tarjeta h3 {
    position: absolute;
    bottom: 0px; /* Ajusta la distancia del borde inferior */
    left: 50%;
    transform: translateX(-50%);
    background: transparent; /* Sin fondo */
    color: white;
    text-shadow: 3px 2px 2px rgb(0, 0, 0); /* Sombra similar al overlay del video */
    font-size: 3rem;
    width: 90%;
    text-align: center;
}

/* Tarjeta grande */
.tarjeta-grande {
    width: 470px;
    height: 570px;
}

/* Contenedor de tarjetas pequeñas */
.tarjeta-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Tarjetas pequeñas */
.tarjeta-pequena {
    width: 470px;
    height: 275px;
}

/* Botón de catálogo */
.catalogo-btn {
    position: absolute;
    bottom: 10px; /* Más pegado al borde inferior */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    width: 80%;
    transition: background 0.3s;
    border-radius: 10px;
}


.catalogo-btn:hover {
    background-color: #DB0000;
}

/* Overlay del visor de PDF */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.pdf-container {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 900px;
    height: 80%;
    display: flex;
    flex-direction: column;
}

iframe {
    flex: 1;
    width: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: white;
    border: none;
    font-size: 1.5rem;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}

.download-btn {
    background-color: #DD0000;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
}

/* Responsividad */
@media (max-width: 768px) {
    .nav-menu {
        width: 100%;
    }
    .video-overlay {
        font-size: 2rem;
    }
    .video-overlay p {
        font-size: 2rem;
    }
    .video-overlay .cta-button {
        font-size: 1.5rem;
        padding: 10px 20px;
    }

    /* Ajustes para móviles */
    .tarjetero {
        flex-direction: column;
        align-items: center;
    }

    .tarjeta-grande, .tarjeta-pequena {
        width: 100%;
        height: auto;
    }

    .tarjeta-container {
        width: 100%;
    }

    .catalogo-btn {
        background-color: rgba(0, 0, 0, 0.7);
    }
}
/* Animación inicial: ocultar tarjetas */
.tarjeta {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Cuando las tarjetas entran en pantalla */
.tarjeta.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto hover */
.tarjeta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Estilos generales */
body {
    font-family: 'Nombre de la fuente', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales para la sección Nosotros */
.nosotros {
    max-width: 1200px;
    margin: 500px auto 0 auto; /* Aumenta el margen superior para evitar que quede oculto */
    padding: 50px 20px;
    text-align: center;
}

.nosotros h2 {
    font-size: 2.5rem;
    color: #43210A;
    margin-bottom: 20px;
}

/* Estilos generales para la sección Nosotros */
.sobre-nosotros {
    max-width: 1200px;
    margin: 100px auto;
    padding: 50px 20px;
    text-align: center;
}

.sobre-nosotros .titulo-seccion {
    font-size: 2.5rem;
    color: #43210A;
    margin-bottom: 20px;
}

.sobre-nosotros .descripcion {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor de misión y visión */
.contenedor-mision-vision {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.columna {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    max-width: 500px;
}
/* Estilos para cada columna */

.columna h3 {
    font-size: 2rem;
    color: #43210A;
    margin-bottom: 15px;
}

.columna p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

/* Imágenes de misión y visión */
.imagen-mision, .imagen-vision {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

/* Estilos para pantallas más grandes */
@media (min-width: 768px) {
    .contenedor-mision-vision {
        flex-direction: row;
        justify-content: center;
        gap: 100px;
    }

    .columna {
        max-width: 500px;
        text-align: left;
        align-items: flex-start;
    }

    .imagen-mision {
        order: 2;
    }

    .imagen-vision {
        order: -1;
    }
}
/* Animación para las imágenes */
@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.imagen-mision, .imagen-vision {
    opacity: 0; /* Ocultas por defecto */
    transform: scale(0.8);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Clases activadas al hacer scroll */
.imagen-mision.active, .imagen-vision.active {
    opacity: 1;
    transform: scale(1);
}
/* Animación de entrada al hacer scroll */
@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.imagen-mision, .imagen-vision {
    opacity: 0; /* Ocultas por defecto */
    transform: scale(0.8);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Clases activadas al hacer scroll */
.imagen-mision.active, .imagen-vision.active {
    opacity: 1;
    transform: scale(1);
}

/* Efecto al pasar el cursor */
.imagen-mision:hover, .imagen-vision:hover {
    transform: scale(1.1); /* Aumenta un poco el tamaño */
    transition: transform 0.4s ease, filter 0.4s ease;
}
/* ============================= */
/*         ESTILOS TIENDAS       */
/* ============================= */

.tiendas-section {
    max-width: 1200px;
    margin: 100px auto;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Título principal */
.tiendas-section h2 {
    font-size: 2.5rem;
    color: #43210A;
    margin-bottom: 40px;
}

/* Contenedor de las columnas y la imagen */
.contenedor-tiendas {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    width: 100%;
}

/* Contenedor de las listas de tiendas */
.columna-tiendas {
    flex: 1;
    text-align: left;
}

/* Títulos de las secciones de tiendas */
.columna-tiendas h3 {
    font-size: 2rem;
    color: #43210A;
    margin-bottom: 20px;
}

/* Listas de tiendas */
.columna-tiendas ul {
    list-style-type: disc;
    padding-left: 20px;
}

.columna-tiendas li {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

/* Imagen de referencia */
.imagen-tiendas {
    width: 543px;
    height: 770px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Ajuste de la imagen dentro del contenedor */
.imagen-tiendas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Animación al hacer scroll */
.imagen-tiendas.hidden {
    opacity: 0;
    transform: translateX(50px);
}

.imagen-tiendas.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Efecto al pasar el cursor sobre la imagen */
.imagen-tiendas:hover {
    transform: scale(1.05);
}

/* ============================= */
/*          RESPONSIVE           */
/* ============================= */

@media (max-width: 1024px) {
    .contenedor-tiendas {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .columna-tiendas {
        width: 100%;
        text-align: center;
    }

    .columna-tiendas ul {
        display: inline-block;
        text-align: left;
    }

    .imagen-tiendas {
        width: 100%;
        height: auto;
        max-width: 543px;
    }
}
/* Estilos para la sección de contacto */
/* Estilos para la sección de contacto */
.contacto-section {
    padding: 50px 20px;
    background-color: #f8f8f8;
    text-align: center;
    position: relative;
    margin-top: 100px;  /* Añadido para más espacio entre la imagen y el menú */
}

/* Contenedor de texto e imagen */
.contacto-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Texto */
.contacto-texto {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

/* Título */
.contacto-titulo {
    font-size: 2.6rem;
    color: #43210A;
    margin-bottom: 20px;
}

/* Descripción */
.contacto-descripcion {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 30px;
}

/* Contenedor de la dirección y contacto */
.contacto-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contacto-info p {
    font-size: 1.6rem;
    color: #555;
    margin-bottom: 10px;
}

/* Enlaces para las redes sociales */
.contacto-redes {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 30px;
}

.contacto-redes a {
    font-size: 1.8rem;
    color: #43210A;
    transition: color 0.3s ease;
}

.contacto-redes a:hover {
    color: #DD0000;
}

/* Imagen de la sección */
.contacto-imagen {
    width: 543px; /* Tamaño ajustado a la imagen */
    height: 770px;
    border-radius: 20px;  /* Bordes redondeados como en la sección de Tiendas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra para un toque elegante */
    margin-top: 80px;  /* Se añadió para agregar más espacio entre la imagen y el texto */
    overflow: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease;
}
.contacto-imagen.hidden {
    opacity: 0;
    transform: translateX(50px);
}

.contacto-imagen.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Efecto al pasar el cursor sobre la imagen */
.contacto-imagen:hover {
    transform: scale(1.05);
}

/* Responsividad */
@media (max-width: 768px) {
    .contacto-titulo {
        font-size: 2rem;
        text-align: center;
    }

    .contacto-descripcion, 
    .contacto-info p { /* Se asegura que todo el texto tenga el mismo tamaño */
        font-size: 1.2rem; 
        text-align: center;
        padding: 0 10px;
    }

    .contacto-contenido {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contacto-imagen {
        margin-top: 20px;
        width: 100%;
        max-width: 400px;
        height: auto;
        object-fit: contain;
        display: block;
    }

    .contacto-info {
        word-wrap: break-word; /* Evita que el correo se corte */
        overflow-wrap: break-word;
    }

    .contacto-info p {
        margin-bottom: 10px; /* Espacio entre los elementos */
    }
}
