@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

main {
    padding: 0;
    max-width: 100%;
    margin: 0;
    text-align: left;
}

/* Estilos generales para la página de Marquesinas LED */
.monoposte-led {
    display: flex;
    align-items: center;
    padding: 80px 30px;
    background-color: #f9f9f9;
}

.imagen-container {
    flex: 1;
    text-align: center;
}

.imagen-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.imagen-container img:hover {
    transform: scale(1.02);
}

.descripcion {
    flex: 1;
    padding-left: 50px;
}

.descripcion h1 {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

.descripcion p {
    font-size: 1.2em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.descripcion ul {
    list-style: none;
    padding: 0;
}

.descripcion li {
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
    position: relative;
}

.descripcion i {
    color: #3498db;
    margin-right: 10px;
}

/* Estilos para la sección de opciones */
.opciones {
    padding: 50px 20px;
    background-color: #f0f0f0;
    max-width: 100%;
}

.opciones h2 {
    text-align: center;
    font-size: 2.2em;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

.opciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.opcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.opcion:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.opcion-imagen {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.opcion-titulo {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.opcion-descripcion {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

.opcion-contenido {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.opcion-icono {
    font-size: 2em;
    color: #3498db;
    margin-top: 20px;
}

/* Estilos para el botón de WhatsApp */
.whatsapp-btn {
    background-color: #2ecc71;
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    font-size: 0.9em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    animation: pulse 2s infinite alternate;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn img {
    height: 20px;
    margin-right: 8px;
}

/* Animación de pulsación */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

/* Animaciones */
.opcion {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.opcion.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para la sección de instalaciones */
.instalaciones {
    padding: 50px 20px;
    background-color: #e0f0ff;
    max-width: 100%;
}

.instalaciones h2 {
    text-align: center;
    font-size: 2.2em;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

.instalaciones h2 i {
    color: #3498db;
    margin-left: 10px;
}

.instalaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.instalacion {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.instalacion:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.instalacion img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.instalacion h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.instalacion p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .marquesina-led {
        flex-direction: column;
        padding: 50px 20px;
    }

    .imagen-container, .descripcion {
        flex: 1;
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .descripcion {
        margin-top: 30px;
    }

    .descripcion h1 {
        font-size: 2.2em;
    }

    .descripcion p {
        font-size: 1.1em;
    }
}

/* Media queries para responsividad del botón de WhatsApp */
@media (max-width: 768px) {
    .whatsapp-btn {
        padding: 10px 20px;
        font-size: 0.85em;
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-btn img {
        height: 18px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        padding: 8px 16px;
        font-size: 0.8em;
        bottom: 8px;
        right: 8px;
    }

    .whatsapp-btn img {
        height: 16px;
        margin-right: 5px;
    }
}

@media (max-width: 320px) {
    .whatsapp-btn {
        padding: 7px 14px;
        font-size: 0.75em;
        bottom: 5px;
        right: 5px;
    }

    .whatsapp-btn img {
        height: 14px;
        margin-right: 4px;
    }
}

/* Carrusel */

.imagen-container {
    max-width: 600px;
    margin: 0 auto;
    object-fit: cover;
}

.imagen {
    height: 600px;
    object-fit: contain; /* Para que no se deformen los banderines */
}

.carousel-item img {
    height: 600px;   
    background: transparent;
}

/* Botón de opciones */
.monoposte-led .btn#verOpciones {
    border: 2px solid #3498db !important; /* !important asegura que Bootstrap no lo oculte */
    background-color: transparent !important;
    color: #3498db !important;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 30px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    outline: none; /* Quita el borde feo que pone el navegador al hacer clic */
    box-shadow: none; /* Quita sombras extra de Bootstrap */
}

/* Estado al pasar el ratón */
.monoposte-led .btn#verOpciones:hover {
    background-color: #3498db !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4) !important;
}

/* Para que cuando hagas clic no se vuelva invisible o cambie de color raro */
.monoposte-led .btn#verOpciones:focus, 
.monoposte-led .btn#verOpciones:active {
    background-color: #2980b9 !important;
    border-color: #2980b9 !important;
    color: white !important;
}