/* Estilos para la Sección Exposición */
#exposicion {
    padding: 80px 20px;
    background: url('../assets/img/yates2.jpg') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Para oscurecer un poco la imagen y hacer que el texto se lea mejor */
#exposicion::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Oscurece la imagen para mejorar legibilidad */
    z-index: -1;
}

/* Contenedor principal */
.exposicion-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Contenido de la exposición */
.exposicion-content {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Título principal */
.exposicion-content h2 {
    font-size: 3rem;
    color: #1ABC9C;
    margin-bottom: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mensaje de invitación */
.exposicion-message h3 {
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Fecha y ubicación */
.exposicion-message p:nth-of-type(1) {
    font-size: 1.8rem;
    color: #1ABC9C;
    font-weight: 600;
    margin-bottom: 10px;
}

.exposicion-message p:nth-of-type(2) {
    font-size: 1.4rem;
    color: #34495E;
    font-weight: 500;
    margin-bottom: 30px;
}

/* Descripción */
.exposicion-message p:nth-of-type(3) {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Detalles de la exposición */
.exposicion-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: rgba(26, 188, 156, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(26, 188, 156, 0.3);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background-color: rgba(26, 188, 156, 0.2);
    border-color: #1ABC9C;
    transform: translateY(-5px);
}

.detail-item i {
    font-size: 1.5rem;
    color: #1ABC9C;
}

.detail-item span {
    font-size: 1.1rem;
    color: #2C3E50;
    font-weight: 500;
}

/* Botón de confirmación */
.exposicion-cta {
    margin-top: 30px;
}

.btn-reserva {
    display: inline-block;
    background: linear-gradient(135deg, #1ABC9C, #16A085);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-reserva:hover {
    background: linear-gradient(135deg, #16A085, #1ABC9C);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(26, 188, 156, 0.6);
    color: white;
    text-decoration: none;
}

.btn-reserva:active {
    transform: translateY(-1px);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    #exposicion {
        padding: 60px 15px;
        min-height: auto;
    }

    .exposicion-content {
        padding: 30px 20px;
    }

    .exposicion-content h2 {
        font-size: 2.2rem;
    }

    .exposicion-message h3 {
        font-size: 2rem;
    }

    .exposicion-message p:nth-of-type(1) {
        font-size: 1.5rem;
    }

    .exposicion-message p:nth-of-type(2) {
        font-size: 1.2rem;
    }

    .exposicion-message p:nth-of-type(3) {
        font-size: 1.1rem;
    }

    .exposicion-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .detail-item {
        padding: 15px;
    }

    .detail-item i {
        font-size: 1.3rem;
    }

    .detail-item span {
        font-size: 1rem;
    }

    .btn-reserva {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .exposicion-content {
        padding: 25px 15px;
    }

    .exposicion-content h2 {
        font-size: 1.8rem;
    }

    .exposicion-message h3 {
        font-size: 1.6rem;
    }

    .exposicion-message p:nth-of-type(1) {
        font-size: 1.3rem;
    }

    .exposicion-message p:nth-of-type(2) {
        font-size: 1.1rem;
    }

    .exposicion-message p:nth-of-type(3) {
        font-size: 1rem;
    }

    .btn-reserva {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Modal de Calendario optimizado */
.calendar-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Optimización: usar transform en lugar de backdrop-filter para mejor rendimiento */
    transform: translateZ(0);
    will-change: opacity;
}

.calendar-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* Optimización: usar transform para animaciones más suaves */
    transform: translateZ(0);
    will-change: transform;
    animation: modalSlideIn 0.2s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
    /* Optimización: evitar repaints */
    transform: translateZ(0);
}

.close-modal:hover {
    color: #1ABC9C;
}

.calendar-modal-content h3 {
    color: #1ABC9C;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.calendar-modal-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: center;
}

.calendar-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.calendar-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    text-decoration: none;
    color: #2C3E50;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    /* Optimización: usar transform para animaciones */
    transform: translateZ(0);
    will-change: transform;
}

.calendar-option:hover {
    background: linear-gradient(135deg, #1ABC9C, #16A085);
    border-color: #1ABC9C;
    color: white;
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.3);
    text-decoration: none;
}

.calendar-option i {
    font-size: 1.5rem;
}

.calendar-details {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #1ABC9C;
}

.calendar-details h4 {
    color: #2C3E50;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.calendar-details p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 8px;
    text-align: left;
}

.calendar-details strong {
    color: #2C3E50;
}

/* Responsive para el modal */
@media (max-width: 768px) {
    .calendar-modal-content {
        margin: 10% auto;
        padding: 30px 20px;
        width: 95%;
    }

    .calendar-modal-content h3 {
        font-size: 1.6rem;
    }

    .calendar-modal-content p {
        font-size: 1rem;
    }

    .calendar-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .calendar-option {
        padding: 15px;
        font-size: 1rem;
    }

    .calendar-option i {
        font-size: 1.3rem;
    }

    .calendar-details {
        padding: 20px;
    }

    .calendar-details h4 {
        font-size: 1.2rem;
    }
} 