@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;
}

/* Sección de portada */
#first-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.image-container {
    height: 100%;
    width: 100%;
    background: url('assets/img/portada.jpg') no-repeat center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* 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;
}

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

/* Cuenta Regresiva */
#cuenta-regresiva {
    position: relative;
    overflow: hidden;
    justify-content: center;
    text-align: center;
}

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

.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.countdown-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.countdown-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.countdown-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    border: 5px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 20px;
    margin: 0 auto 25px;
}

.countdown-time {
    font-size: 1.7rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4;
    color: white;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 10px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

/* Sugerir Canción */
#sugerir-cancion {
    background-image: url('assets/img/fondo_de_pagina1.JPG');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card {
    border: none;
    border-radius: 15px;
}

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

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

/* Nuestros Momentos */
#nuestros-momentos {
    background-image: url('assets/img/carrusel.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.carrusel-title {
    font-family: "Monsieur La Doulaise", cursive;
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#carouselExample {
    border: 5px double rgb(255, 255, 255);
    max-width: 70%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    padding: 10px;
}

#carouselExample .carousel-item img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
}

/* Confirmar Asistencia */
#confirmar-asistencia {
    background-image: url('assets/img/fondo_de_pagina1.JPG');
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

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

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

/* 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;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        padding: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .countdown-circle {
        width: 200px;
        height: 200px;
    }
    
    .countdown-time {
        font-size: 1.5rem;
    }
    
    .countdown-title {
        font-size: 1.8rem;
    }
    
    .carrusel-title {
        font-size: 2.5rem;
    }
    
    #carouselExample .carousel-item img {
        height: 50vh;
    }
}

@media (max-width: 576px) {
    .nav {
        flex-wrap: wrap;
    }
    
    .nav-link {
        flex-basis: 50%;
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    
    #audio-player {
        bottom: 5px;
        right: 5px;
        width: 30px;
        height: 30px;
    }
    
    .welcome-message {
        font-size: 1rem;
        padding: 15px 0;
    }
    
    .countdown-circle {
        width: 180px;
        height: 180px;
    }
    
    .countdown-time {
        font-size: 1.3rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    #carouselExample {
        max-width: 90%;
    }
    
    .carousel-item img {
        height: 300px;
        object-fit:cover;
    }
}


/* Botón flotante de Información Importante - GRANDE Y LEGIBLE */
.floating-info-btn {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #741212, #8b0000);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(116, 18, 18, 0.6);
    z-index: 1000;
    transition: all 0.4s ease;
    opacity: 0.9;
    overflow: hidden;
    border: 3px solid #ffd700;
    font-weight: 700;
}

.floating-info-btn:hover {
    opacity: 1;
    width: 220px;
    border-radius: 35px;
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(116, 18, 18, 0.8);
    background: linear-gradient(135deg, #8b0000, #741212);
}

.info-icon {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.floating-info-btn:hover .info-icon {
    transform: scale(1.2) rotate(5deg);
}

.info-text {
    font-size: 1rem;
    font-weight: 700;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.floating-info-btn:hover .info-text {
    opacity: 1;
    transform: translateX(15px);
}

/* Animación de pulso más notoria */
@keyframes attention-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(116, 18, 18, 0.6);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 0 8px 30px rgba(116, 18, 18, 0.8);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 6px 25px rgba(116, 18, 18, 0.6);
    }
}

.floating-info-btn {
    animation: attention-pulse 3s infinite;
}

.floating-info-btn:hover {
    animation: none;
}

/* Asegurar que no se superponga con el reproductor */
#audio-player {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
}

/* Responsive para pantallas más pequeñas */
@media (max-width: 768px) {
    .floating-info-btn {
        bottom: 70px;
        left: 15px;
        width: 65px;
        height: 65px;
    }
    
    .floating-info-btn:hover {
        width: 200px;
    }
    
    .info-icon {
        font-size: 1.8rem;
    }
    
    .info-text {
        font-size: 0.9rem;
    }
    
    #audio-player {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .floating-info-btn {
        bottom: 60px;
        left: 10px;
        width: 60px;
        height: 60px;
    }
    
    .floating-info-btn:hover {
        width: 180px;
    }
    
    .info-icon {
        font-size: 1.6rem;
    }
    
    .info-text {
        font-size: 0.85rem;
    }
}
/* Ajustar posición del reproductor de audio para que no se superpongan */
#audio-player {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    opacity: 0.3;
    z-index: 1000;
    transition: opacity 0.3s;
}

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

/* Responsive para botones flotantes */
@media (max-width: 576px) {
    .floating-info-btn {
        bottom: 60px;
        left: 5px;
        width: 45px;
        height: 45px;
    }
    
    .floating-info-btn:hover {
        width: 110px;
    }
    
    #audio-player {
        bottom: 5px;
        right: 5px;
        width: 35px;
        height: 35px;
    }
}    