/* RESET Y CONFIGURACIONES BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: #333333;
    background-color: #FAF9F6;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Red de seguridad: ninguna imagen debe desbordar su contenedor,
   sea cual sea el dispositivo o el tamaño real de la foto */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #556B2F;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #D4AF37;
    margin: 15px auto 30px;
}

.section-subtitle {
    text-align: center;
    color: #6B8E23;
    font-size: 1.2rem;
    margin-bottom: 50px;
    font-weight: 500;
}

/* NAVEGACIÓN */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #556B2F;
    font-weight: 700;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #556B2F;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #eee;
    padding: 0 20px;
}

.mobile-menu a {
    padding: 15px 0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #6B8E23;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.desktop-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #6B8E23;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #6B8E23;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    height: 100svh; /* Altura real de pantalla en móvil, sin contar barras dinámicas de navegador */
    min-height: 480px;
    background-image: linear-gradient(rgba(117, 115, 115, 0.4), rgba(150, 148, 148, 0.4)), 
                      url('imagenes/diez.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* iOS y Android táctiles no soportan bien background-attachment: fixed
   (en iOS puede provocar que la imagen no se pinte o parpadee).
   Se desactiva para CUALQUIER dispositivo táctil, no solo por ancho de pantalla,
   así cubre también iPad/tablets y móviles grandes en horizontal. */
@media (hover: none) and (pointer: coarse) {
    .hero,
    .footer {
        background-attachment: scroll;
    }
}
.timeline-reminders {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reminder-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(107, 142, 35, 0.1);
    border-left: 3px solid #6B8E23;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #556B2F;
    text-align: left;
}

.reminder-item i {
    color: #6B8E23;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(85, 107, 47, 0.3), rgba(106, 142, 35, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 5px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.ampersand {
    color: #D4AF37;
    font-size: 4rem;
    margin: 0 10px;
}
/* PREBODA */
.preboda {
    background-color: #ffffff;
}

.preboda-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    margin: 15px 0;
}

.preboda-final {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #556B2F;
    margin: 25px 0 20px;
    font-weight: 600;
}
.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-date {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* COUNTDOWN */
.countdown-container {
    margin: 40px 0;
}

.countdown-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 15px;
    min-width: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: white;
}

.countdown-label {
    font-size: 0.9rem;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background-color: #556B2F;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #556B2F;
    text-transform: uppercase;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* NUESTRA HISTORIA */
.historia-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.historia-text {
    flex: 1;
}

.historia-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.historia-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.historia-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.historia-image img:hover {
    transform: scale(1.03);
}

/* EL DÍA - TIMELINE */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #9ABC7C;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background-color: #556B2F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    z-index: 1;
    flex-shrink: 0;
    margin-right: 20px;
}

.timeline-content {
    flex: 1;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #D4AF37;
}

.timeline-content h3 {
    color: #556B2F;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.timeline-time {
    color: #6B8E23;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.timeline-location {
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-address {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-style: italic;
}

.timeline-note {
    background-color: #F8F8F8;
    padding: 15px;
    border-radius: 5px;
    font-size: 0.95rem;
    margin-top: 15px;
    border-left: 3px solid #9ABC7C;
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* DRESS CODE */
.dresscode {
    background-color: #F8F8F8;
}

.dresscode-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 20px 0 30px;
}

.color-item {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.color-item:hover {
    transform: scale(1.05);
}

.dresscode-colors h3, .dresscode-info h3 {
    color: #556B2F;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.recommendations {
    margin-bottom: 30px;
}

.recommendation {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.recommendation i {
    color: #6B8E23;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 1.2rem;
}

.dresscode-note {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #D4AF37;
}

.dresscode-note i {
    color: #6B8E23;
    margin-right: 10px;
}

/* CONFIRMAR ASISTENCIA */
.confirmar-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.confirmar-option {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 5px solid #556B2F;
}

.option-icon {
    font-size: 3rem;
    color: #556B2F;
    margin-bottom: 20px;
}

.confirmar-option h3 {
    color: #556B2F;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.confirmar-option > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* FORMULARIO */
.rsvp-form {
    text-align: left;
}

.rsvp-form input, .rsvp-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

.rsvp-form input:focus, .rsvp-form textarea:focus {
    outline: none;
    border-color: #9ABC7C;
}

.attendance-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.attendance-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.attendance-option input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #9ABC7C;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    display: inline-block;
}

.attendance-option input:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #6B8E23;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.submit-button {
    width: 100%;
    background-color: #556B2F;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Raleway', sans-serif;
}

.submit-button:hover {
    background-color: #6B8E23;
}

.form-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

/* WHATSAPP */
.whatsapp-button {
    display: block;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 30px 0;
    transition: all 0.3s;
    text-align: center;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.whatsapp-note {
    text-align: left;
    background-color: #F8F8F8;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.whatsapp-note p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.whatsapp-note ul {
    padding-left: 20px;
    color: #666;
}

.whatsapp-note li {
    margin-bottom: 8px;
}

/* GALERÍA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}



/* SECCIÓN DE CANCIONES */
.canciones {
    background-color: #FFF9F0; /* Un tono cálido muy suave */
    position: relative;
}

.canciones-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.canciones-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-top: 5px solid #D4AF37;
    flex: 1;
}

.canciones-icon {
    font-size: 3rem;
    color: #556B2F;
    margin-bottom: 15px;
}

.canciones-form-container h3 {
    color: #556B2F;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.canciones-form-container > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.canciones-form {
    text-align: left;
}

.canciones-form input,
.canciones-form select,
.canciones-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.canciones-form input:focus,
.canciones-form select:focus,
.canciones-form textarea:focus {
    outline: none;
    border-color: #9ABC7C;
    box-shadow: 0 0 0 3px rgba(154, 188, 124, 0.1);
}

.canciones-form select {
    background-color: white;
    cursor: pointer;
}

.canciones-submit {
    width: 100%;
    background-color: #556B2F;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Raleway', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.canciones-submit:hover {
    background-color: #6B8E23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(85, 107, 47, 0.3);
}

.canciones-submit i {
    font-size: 1.1rem;
}

.canciones-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.canciones-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #9ABC7C;
    flex: 1;
}

.canciones-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.canciones-info-header i {
    font-size: 2.5rem;
    color: #D4AF37;
}

.canciones-info-header h3 {
    color: #556B2F;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 0;
}

.canciones-info > p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.songs-preview {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background-color: #F8F8F8;
    border-radius: 8px;
    transition: transform 0.3s;
}

.song-item:hover {
    transform: translateX(5px);
    background-color: #F0F0F0;
}

.song-item i {
    color: #6B8E23;
    font-size: 1.2rem;
}

.song-details {
    display: flex;
    flex-direction: column;
}

.song-title {
    font-weight: 600;
    color: #333;
}

.song-artist {
    font-size: 0.85rem;
    color: #666;
}

.spotify-note {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(145deg, #f8f8f8, #ffffff);
    border-radius: 10px;
    text-align: center;
    border: 1px dashed #9ABC7C;
}

.spotify-note i {
    font-size: 2rem;
    color: #1DB954; /* Color de Spotify */
    margin-bottom: 10px;
}

.spotify-note p {
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.spotify-link {
    display: inline-block;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.spotify-link:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.spotify-link i {
    font-size: 1.1rem;
    margin-right: 5px;
    color: white;
}

/* FOOTER */
.footer {
    background-image: linear-gradient(rgba(197, 197, 155, 0.85), rgba(191, 211, 157, 0.85)), 
                       url('imagenes/correr.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0 40px;
    text-align: center;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.footer-names {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #D4AF37;
}

.footer-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.5rem;
    margin: 30px 0;
}

.footer-date i {
    color: #D4AF37;
}

.footer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* MODAL GALERÍA */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 5px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #D4AF37;
}

.modal-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    padding: 10px;
    font-size: 1.2rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .ampersand {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-date {
        font-size: 1.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 10px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .confirmar-option {
        padding: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .gallery-item {
        height: 180px;
    }

    .hero {
        background-attachment: scroll;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
    
    .historia-content {
        flex-direction: row;
    }
    
    .dresscode-content {
        flex-direction: row;
    }
    
    .dresscode-colors, .dresscode-info {
        flex: 1;
    }
    
    .confirmar-content {
        flex-direction: row;
    }
    
    .contacto-personas {
        flex-direction: row;
    }
    /* Responsive para la sección de canciones */
@media (min-width: 769px) {
    .canciones-content {
        flex-direction: row;
    }
    
    .canciones-form-container,
    .canciones-info {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .canciones-form-container,
    .canciones-info {
        padding: 25px;
    }
    
    .canciones-info-header h3,
    .canciones-form-container h3 {
        font-size: 1.5rem;
    }
    
    .song-item {
        padding: 8px;
    }
}
}

/* ANIMACIONES SUAVES */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ESTILOS ADICIONALES PARA MEJOR UX */
::selection {
    background-color: rgba(154, 188, 124, 0.3);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #9ABC7C;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B8E23;
}

/* ===== MODAL DE MÚSICA ===== */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#musicToggleBtn {
    animation: pulse 2s infinite;
    display: none !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(85, 107, 47, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(85, 107, 47, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(85, 107, 47, 0);
    }
}

#musicToggleBtn:hover {
    transform: scale(1.1);
    background-color: #6B8E23;
}
/* ===== MODAL DE MÚSICA CON IMAGEN ===== */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BOTÓN FLOTANTE ANIMADO */
#musicToggleBtn {
    animation: pulse 2s infinite;
    display: none !important;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

#musicToggleBtn:hover {
    transform: scale(1.1);
    background: linear-gradient(145deg, #6B8E23, #556B2F) !important;
}

/* PARA CUANDO EL BOTÓN SE MUESTRA */
#musicToggleBtn[style*="display: flex"] {
    display: flex !important;
}


/* ===== BOTONES DE MAPA ===== */
.map-button {
    background-color: #556B2F;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    border: 2px solid #556B2F;
}

.map-button:hover {
    background-color: transparent;
    color: #556B2F;
}

.map-button i {
    font-size: 1.1rem;
}

/* ===== MODAL PARA MAPAS ===== */
.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.map-modal-content {
    background-color: white;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: mapModalFadeIn 0.4s;
}

.map-modal-header {
    background-color: #556B2F;
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.map-modal-close {
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.map-modal-close:hover {
    color: #D4AF37;
}

.map-modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.map-modal-body iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes mapModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para el modal de mapas */
@media (max-width: 768px) {
    .map-modal-body iframe {
        height: 300px;
    }
    
    .map-modal-header h3 {
        font-size: 1.2rem;
    }
}


/* ===== SECCIÓN FOTO HORIZONTAL ===== */
.foto-horizontal {
    padding: 20px 0;
    background-color: #FAF9F6;
}

.foto-container {
    max-width: 1200px;  /* Aumentado de 1000px a 1200px */
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);  /* Sombra más grande */
}

.foto-horizontal-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.foto-horizontal-img:hover {
    transform: scale(1.03);
}

/* Para hacerla aún más grande en pantallas grandes */
@media (min-width: 1400px) {
    .foto-container {
        max-width: 1400px;  /* Más grande en monitores grandes */
    }
}

@media (max-width: 768px) {
    .foto-horizontal {
        padding: 10px 0;
    }
    
    .foto-container {
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
}