/* Reset y estilo base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", monospace;
    color: #333;
    background: url('playa-fondo.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
}

/* Fuente principal para todo el sitio */

/* Ejemplo de estilo para encabezados */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

p, a, button, input, .producto-seccion p, .ver-mas-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

/* Overlay para oscurecer el fondo general */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: -1;
}

/* Estilos generales del header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

header .logo img {
    max-height: 40px;
}

nav {
    position: relative;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

/* Icono hamburguesa - Oculto en escritorio, visible en móvil */
.hamburger {
    display: none; /* Oculto en pantallas grandes */
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    /* Oculta el menú en pantallas pequeñas por defecto */
    .menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.9);
        width: 100%;
        height: calc(100vh - 60px); /* Ocupa toda la altura de la pantalla */
        padding-top: 1rem;
        text-align: center;
        z-index: 999; /* Asegura que se muestre por encima del contenido */
    }

    /* Activa el menú desplegable en móviles */
    .menu.show {
        display: flex;
    }

    .menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: block; /* Muestra el icono hamburguesa en móviles */
    }
}

/* Estilos de los enlaces del menú */
.menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.menu li a:hover {
    color: #888;
}

/* Hero con overlay específico */
.hero {
    height: 70vh; /* Puedes ajustar a 60vh, 50vh, o un valor en píxeles */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 70px;
    color: #fff;
    position: relative;
    background: url('fondo.jpg') no-repeat center center/cover;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    z-index: 1;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    z-index: 1;
    font-weight: 400;
}

.btn {
    background-color: #fff;
    color: #000;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
    z-index: 1;
}

.btn:hover {
    background-color: #444;
    color: #fff;
}

/* Sección general */
section {
    padding: 4rem 2rem;
    text-align: center;
}

.productos h2,
.quienes-somos h2,
.contacto h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}


/* Formulario de contacto */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

form label {
    margin-top: 1rem;
    font-weight: bold;
}

form input,
form textarea {
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 4px;
    width: 100%;
    font-family: 'Source Code Pro', sans-serif;
}

form button {
    margin-top: 1rem;
    background-color: #fff;
    color: #000;
    border: none;
    padding: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Source Code Pro', sans-serif;
}

/* Footer */
footer {
    background-color: #000;
    padding: 2rem;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    font-weight: 400;
}

footer nav ul {
    justify-content: center;
    display: flex;
    gap: 1rem;
}

footer nav ul li a {
    color: #888;
    text-decoration: none;
    font-weight: 400;
}


/* Sección unificada para información y productos */
.info-productos {
    position: relative;
    padding: 3rem 5%;
    color: #fff;
    text-align: center;
    overflow: hidden;
        background-color: black;
}

.info-productos::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('fondo-ponchos.jpg') no-repeat center center/cover;
    filter: blur(8px);
    opacity: 0.4;
    z-index: -1;
}

/* Estilo del texto de información */
.info-text {
    margin-bottom: 2rem;
}

.info-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

.info-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 400;
    color: #eee;
    position: relative;
    z-index: 1;
}

.info-text strong {
    color: #fff;
    font-weight: 600;
}

/* Sección de productos */
.producto-seccion {
    padding: 2rem 5%;
    text-align: center;
}

.producto-seccion h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.producto-seccion p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Galería de imágenes */
.galeria {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.galeria-img {
    max-width: 150px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s;
}

.galeria-img:hover {
    transform: scale(1.1);
}

/* Modal para ver imágenes ampliadas */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.modal-contenido {
    margin: auto;
    max-width: 90%;
    max-height: 80%;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cerrar:hover {
    color: #bbb;
}


.ver-mas-btn {
    background-color: #fff;
    color: #000;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.ver-mas-btn:hover {
    background-color: #444;
    color: #fff;
}
.ver-mas-btn {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 0.3rem 0.5rem; /* Reduce el tamaño del botón */
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.7rem;
    transition: background-color 0.3s;
}

.ver-mas-btn:hover {
    background-color: #444;
    color: #fff;
}

.ver-mas-btn {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 0.8rem;
}

.ver-mas-btn:hover {
    background-color: #444;
    color: #fff;
}

/* Estilos generales de producto */
.producto-seccion {
    padding: 3rem 5%;
    text-align: center;
    color: #fff;
}

/* Estilo específico para cada producto */
.producto1 {
    background-color: #114B5F; /* Azul tropical */
}

.producto2 {
    background-color: #3B3B3B; /* Gris minimalista */
}

/* Galería de imágenes */
.galeria {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.galeria-img {
    max-width: 150px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s;
}

.galeria-img:hover {
    transform: scale(1.1);
}

/* Modal con carrusel */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: hidden;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.modal-contenido {
    max-width: 90%;
    max-height: 80%;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    font-weight: bold;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    font-size: 2rem;
    color: #fff;
    padding: 0.5rem;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    transform: translateY(-50%);
}

.carousel-btn.left {
    left: 10%;
}

.carousel-btn.right {
    right: 10%;
}

/* Línea divisoria */
.division-line {
    width: 80%;
    margin: 2rem auto;
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #ccc, transparent);
}

/* Estilos para el título de la galería */
#productos h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 1.5rem;
    text-align: center;
    font-weight: bold;
}

/* Galería de miniaturas mejorada */
.galeria-thumbnail {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fffaba99; /* Fondo suave para la galería */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.galeria-thumbnail a {
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s;
}

.galeria-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeria-thumbnail a:hover img {
    transform: scale(1.1);
}

/* Efecto de sombra para las miniaturas al pasar el cursor */
.galeria-thumbnail a:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Estilo de subtítulo opcional para cada miniatura */
.galeria-thumbnail a::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.3rem;
    font-size: 0.8rem;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    border-radius: 0 0 8px 8px;
    transition: opacity 0.3s;
}

.galeria-thumbnail a:hover::after {
    opacity: 1;
}

#productos{
    background-color: #f9e79f;
}


#productos {
    text-align: center;
    color: #333;
}

#productos h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

#productos p {
    font-size: 1rem;
    margin-bottom: 1rem;
        text-transform: uppercase;
}

/* Contenedor de la galería */
.galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

/* Imagen principal */
.imagen-principal {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.imagen-principal img:hover {
    transform: scale(1.05); /* Efecto de zoom suave */
}

/* Galería de miniaturas */
.galeria-thumbnail {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.galeria-thumbnail img {
    width: 49px;
    height: 49px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s;
}

.galeria-thumbnail img:hover {
    transform: scale(1.1); /* Efecto de zoom en miniaturas */
}






/*/ seccion productos

/* Contenedor de la sección de producto tropical sin fondo blanco */
.producto-tropical-seccion {
    text-align: center;
    padding: 2rem 1rem;
    margin: 2rem auto;
    max-width: 600px;
    background-color: #fff; /* Cambia a uno de los colores sugeridos */
    border-radius: 10px;
    color:white;
}

/* Título del producto centrado */
.titulo-producto-tropical {
    font-size: 2rem;
    color: #000;
    margin-bottom: 0.5rem;
}

/* Texto descriptivo centrado */
.texto-producto-tropical {
    font-size: 1rem;
    color: #000;
    margin-bottom: 1.5rem;
}

/* Imagen principal de la galería tropical */
.galeria-tropical {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.imagen-principal-tropical {
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.imagen-principal-tropical:hover {
    transform: scale(1.05);
}

/* Miniaturas tropicales centradas */
.galeria-thumbnail-tropical {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.galeria-img-tropical {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.galeria-img-tropical:hover {
    transform: scale(1.1);
}

/* Fancybox (si está incluido) */
.galeria-thumbnail-tropical a {
    display: block;
}

/* Estilo de la sección de contacto */
.contacto {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

.contacto h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Instrucciones de contacto */
.contacto-instrucciones {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Estilo del icono */
.contacto-redes a {
    display: inline-block;
    margin-top: 1rem;
    font-size: 3rem; /* Ajusta el tamaño del icono */
    color: #E1306C; /* Color de Instagram */
    transition: transform 0.3s ease, color 0.3s ease;
}

.contacto-redes a:hover {
    transform: scale(1.1);
    color: #C13584; /* Cambia el color al pasar el cursor */
}

/* Overlay del modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro para resaltar el modal */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Contenedor del modal */
.modal-contenido {
    position: relative;
/*    background: url('presen.png') no-repeat center center/cover; /* Imagen de fondo */*/
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #ffffff; /* Texto en blanco para contraste */
    text-align: center;
}

/* Capa para oscurecer y difuminar la imagen */
.modal-contenido::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Oscurece la imagen */
    backdrop-filter: blur(2px); /* Difumina la imagen */
    z-index: 1;
}

/* Encabezado del modal */
.modal-header {
    position: relative;
    z-index: 2; /* Por encima de la capa de oscurecimiento */
    padding: 1.5rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin: 0;
    color: #f9e79f; /* Color cálido para el título */
}

/* Cuerpo del modal */
.modal-body {
    position: relative;
    z-index: 2; /* Por encima de la capa de oscurecimiento */
    padding: 1rem 1.5rem;
}

.modal-body p {
    margin: 0.5rem 0;
    font-size: 1rem;
}


/* Botón de cerrar */
.modal-cerrar {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3; /* Por encima del contenido */
    transition: transform 0.3s ease, color 0.3s ease;
}

.modal-cerrar:hover {
    transform: scale(1.2);
    color: #f9e79f;
}
