@import url('https://fonts.googleapis.com/css2?family=Monsieur+La+Doulaise&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Secciones de contenido */
.section-content {
    min-height: 100vh;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    position: relative;
}

/* Información Importante */
#informacion-importante {
    justify-content: center;
    text-align: center;
}

#informacion-importante .cierre-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/cierredepagina.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Ubicación */
#ubicacion {
    background-image: url('assets/img/fondo_de_pagina1.JPG');
    background-size: cover;
    background-position: center;
    position: relative;
}

#ubicacion::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

#ubicacion .container {
    position: relative;
    z-index: 2;
}

/* Itinerario */
#itinerario {
    justify-content: center;
    text-align: center;
}

#itinerario .cronograma-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/itinerario1.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Código de Vestimenta */
#codigo-vestimenta {
    justify-content: center;
    text-align: center;
}

#codigo-vestimenta .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/img/codigo_de_vestimenta.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

/* Títulos y contenido */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #741212;
    border-color: #741212;
}

.btn-primary:hover {
    background-color: #5a0e0e;
    border-color: #5a0e0e;
}

/* Navegación */
.nav {
    background-color: #f8f9fa;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

.nav-link {
    color: #495057;
    font-weight: 500;
}

.nav-link.active {
    background-color: #741212 !important;
    color: white !important;
}

.nav-link:hover {
    color: #741212;
}

/* Reproductor de audio */
#audio-player2 {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    z-index: 1000;
    transition: opacity 0.3s;
}

#audio-player2:hover {
    opacity: 1;
}

#audio-player2.autoplay-blocked {
    opacity: 0.8 !important;
    width: 120px !important;
    background-color: rgba(116, 18, 18, 0.1);
    border: 1px solid #741212;
}

/* Modal de bienvenida */
.modal-wedding .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-wedding .modal-header {
    border-bottom: 1px solid #e9ecef;
    background-color: #741212;
    color: white;
    border-radius: 15px 15px 0 0;
}

.welcome-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    padding: 20px 0;
}

/* Mapa */
.mapa-container iframe {
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .nav {
        flex-wrap: wrap;
    }
    
    .nav-link {
        flex-basis: 50%;
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    
    #audio-player2 {
        bottom: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
    }
    
    .welcome-message {
        font-size: 1rem;
        padding: 15px 0;
    }
    
    .section-content {
        padding: 1rem 0;
    }
}