/* Contenedor general de las tarjetas */
.laminate-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    gap: 40px;
}

/* Contenedor de la imagen tipo hero */
.hero-container {
    position: relative;
    width: 100%;
    height: 25vh; /* Ocupa el 25% de la altura de la pantalla */
    min-height: 250px; /* Asegura altura mínima para pantallas pequeñas */
    max-height: 600px; /* Limita altura en pantallas grandes */
    overflow: hidden;
}

/* Imagen del hero */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que cubra todo sin deformarse */
    display: block;
    z-index: 0;
}




/* Capa azul con opacidad */
.blue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 6, 68, 0.4);
    z-index: 1; /* La capa de opacidad está por encima de la imagen pero debajo de la barra de búsqueda */
}

/* Botón de contacto centrado */
.contact-button {
    z-index: 2;

}


/* Contenedor de la barra de búsqueda (ya no flotante) */
.search-bar-container {
    margin: -40px auto 30px auto; /* Solapa un poco con la imagen superior */
    z-index: 3;
    padding: 25px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* Input y botón en línea con diseño moderno */
.search-bar-container .input-group {
    display: flex;
    width: 100%;
}

.search-bar-container input.form-control {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-right: none;
    font-size: 1rem;
}

.search-bar-container .btn-danger {
    background-color: #c81851;
    padding: 12px 20px;
    border: none;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

/* Tablets */
@media screen and (max-width: 1024px) {
    .search-bar-container {
        margin: -40px auto 30px auto;
        padding: 20px;
    }

    .search-bar-container input.form-control,
    .search-bar-container .btn-danger {
        font-size: 0.95rem;
        padding: 10px 14px;
    }
}

/* Celulares */
@media screen and (max-width: 599px) {
    .search-bar-container {
        margin: -30px auto 20px auto;
        padding: 15px;
        width: 95%;
        border-radius: 15px;
    }

    .search-bar-container input.form-control,
    .search-bar-container .btn-danger {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
}


/* Estilos para las tarjetas */
.laminate-card {
    width: 220px; /* o un tamaño proporcional */
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    color: #0d163e;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-align: center;
}


/* Foto tipo instantánea */
.instant-photo {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    width: 220px;
    text-align: center;
}

.instant-photo .photo {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.instant-photo:hover .photo {
    transform: scale(1.05);
}

/* MODAL */
.laminate-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    
    
}

/* Contenido del modal en dos columnas */
.modal-content {
    display: flex;
    flex-direction: row; /* ← esto hace que primero vaya la imagen y luego el texto */
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    gap: 30px;
}

/* Botón de cerrar */
.close {
    position: absolute;
    top: 0.1px;
    right: 10px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;

    padding: 0 1px;
}

/* Imagen a la izquierda */
.zoom-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
  
}
.zoom-lens {
    position: absolute;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    visibility: hidden;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 500% 500%;
    z-index: 2;
}

.modal-img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    object-fit: cover;
}

/* Info a la derecha */
#modalInfo {
    flex: 1;
    overflow-y: auto;
    max-height: 500px;
    padding-right: 10px;
}

.laminate-info h2 {
    font-size: 18px;
    font-weight: bold;
    color: #0d163e;
    margin-bottom: 10px;
    text-align: center;
}

.laminate-info p {
    font-size: 14px;
    text-align: justify;
    color: #0d163e;
}

.laminate-info ul {
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.laminate-info ul li {
    font-size: 14px;
    color: #0d163e;
    text-align: justify;
    line-height: 1.6;
    list-style-type: disc;
}


/*LAMINADOS RESPOSIVE MOVIL*/

/* Tablets */
@media screen and (max-width: 1024px) {
    .modal-content {
        flex-direction: column;
    }

    .instant-photo {
        width: 80%;
    }
}

/* Celulares */
@media screen and (max-width: 599px) {
    .modal-content {
        flex-direction: column;
        padding: 10px;
    }

    .instant-photo {
        width: 100%;
        max-width: 300px;
        margin: auto;
    }

    .laminate-info h2 {
        font-size: 16px;
    }

    .laminate-info p,
    .laminate-info li {
        font-size: 14px;
    }
}
