/* Variables CSS - Paleta profesional rojo, blanco y negro CORREGIDA */
:root {
    --primary-color: #dc2626;
    --secondary-color: #b91c1c;
    --accent-color: #fef2f2;
    --dark-color: #000000;
    --light-color: #ffffff;
    --gray-light: #f8fafc;
    --gray-medium: #e2e8f0;
    --gray-dark: #4b5563;
    --gradient: linear-gradient(135deg, #dc2626, #b91c1c);
    --gradient-subtle: linear-gradient(135deg, #fef2f2, #fff5f5);
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-bg: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
}

/* Modo oscuro */
[data-theme="dark"] {
    --bg-color: #000000;
    --text-color: #ffffff;
    --card-bg: #1a1a1a;
    --light-color: #000000;
    --gray-light: #1a1a1a;
    --gray-medium: #333333;
    --gray-dark: #666666;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    transition: var(--transition);
    overflow-x: hidden;
}

/* CORRECCIÓN: Mejor contraste para texto sobre fondos rojos */
.celebration-section,
.emoji-section,
footer {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

.celebration-section h1,
.celebration-section h2,
.celebration-section h3,
.celebration-section p,
.emoji-section h1,
.emoji-section h2,
.emoji-section h3,
.emoji-section p,
footer h1,
footer h2,
footer h3,
footer p {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
}

/* CORRECCIÓN: Texto más oscuro en secciones claras */
#slideshow,
#rsvp,
#playlist,
#ubicacion,
#info {
    color: #1a1a1a !important;
}

#slideshow h1,
#slideshow h2,
#slideshow h3,
#slideshow p,
#rsvp h1,
#rsvp h2,
#rsvp h3,
#rsvp p,
#playlist h1,
#playlist h2,
#playlist h3,
#playlist p,
#ubicacion h1,
#ubicacion h2,
#ubicacion h3,
#ubicacion p,
#info h1,
#info h2,
#info h3,
#info p {
    color: #1a1a1a !important;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-color);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

[data-theme="dark"] h2 {
    color: var(--light-color);
}

[data-theme="dark"] p {
    color: var(--gray-medium);
}

/* Canvas de partículas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Pantalla de carga */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}

.loading-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navegación móvil */
.mobile-nav {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
}

.menu-toggle {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    padding: 1rem;
    min-width: 220px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-medium);
}

.nav-links.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    margin: 0.25rem 0;
}

.nav-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Toggle modo oscuro */
.dark-mode-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--gradient);
    border: none;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    transform: translateY(-2px) rotate(15deg);
    box-shadow: var(--shadow-lg);
}

/* Animaciones */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Hover effects */
.card-hover {
    transition: var(--transition);
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Layout sections */
section {
    padding: clamp(4rem, 8vw, 8rem) 2rem;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.text-center {
    text-align: center;
}

/* SECCIÓN 1: Cuenta Regresiva */
.celebration-section {
    background: 
        linear-gradient(rgba(220, 38, 38, 0.85), rgba(185, 28, 28, 0.9)),
        url('../images/backgrounds/fondo-celebracion.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 800;
}

.countdown-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.celebration-message {
    margin-top: 3rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    opacity: 0.95;
}

/* Animación de confeti */
.celebration-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.confetti {
    position: absolute;
    width: 12px;
    height: 20px;
    background: #ffd700;
    top: -20px;
    animation: confetti-fall 5s linear infinite;
    border-radius: 2px;
}

.confetti:nth-child(2n) { background: #ff6b6b; animation-delay: 0.5s; }
.confetti:nth-child(3n) { background: #4ecdc4; animation-delay: 1s; }
.confetti:nth-child(4n) { background: #45b7d1; animation-delay: 1.5s; }
.confetti:nth-child(5n) { background: #96ceb4; animation-delay: 2s; }
.confetti:nth-child(6n) { background: #ffd93d; animation-delay: 2.5s; }

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg) scale(0.5);
        opacity: 0;
    }
}

/* Contador de confirmados */
.confirmation-counter {
    background: rgba(255,255,255,0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
    display: inline-block;
}

/* Countdown items */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem 1rem;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.countdown-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.countdown-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    opacity: 0.9;
}

/* SECCIÓN 2: Bienvenida */
.welcome-section {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
        url('../images/backgrounds/fondo-bienvenida.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

/* Logos - RUTA ACTUALIZADA */
.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.logo {
    max-width: min(300px, 80vw);
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    border: 3px solid var(--light-color);
    background: white;
    padding: 1rem;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-xl), 0 0 30px rgba(220, 38, 38, 0.3);
}

/* SECCIÓN 3: Emojis */
.emoji-section {
    background: 
        linear-gradient(rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.9)),
        url('../images/backgrounds/fondo-emoji.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 4rem 2rem;
}

.emoji-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-top: 2rem;
}

.emoji-container span {
    transition: var(--transition);
    cursor: pointer;
}

.emoji-container span:hover {
    transform: scale(1.3) rotate(10deg);
}

/* SECCIÓN 4: Frases */
.phrase-section {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)),
        url('../images/backgrounds/fondo-frases.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.phrase {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-style: italic;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* SECCIÓN 5: Slideshow - 12 FOTOS */
#slideshow {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.97)),
        url('../images/backgrounds/fondo-slideshow.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.slideshow-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    background: var(--card-bg);
}

.slide {
    display: none;
    width: 100%;
    position: relative;
}

.slide.active {
    display: block;
    animation: fadeIn 0.8s ease-out;
}

.slide img {
    width: 100%;
    height: min(600px, 70vh);
    object-fit: cover;
    display: block;
}

.slide-caption {
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Mejoras para slideshow de 12 fotos */
.slideshow-info {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--accent-color);
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.slide-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-medium);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    flex-shrink: 0;
}

.slide-indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.slideshow-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.slideshow-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.slideshow-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Ajustes responsive para muchos indicadores */
@media (max-width: 768px) {
    .slide-indicators {
        gap: 0.4rem;
    }
    
    .slide-indicator {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .slide-indicators {
        gap: 0.3rem;
    }
    
    .slide-indicator {
        width: 6px;
        height: 6px;
    }
}

/* SECCIÓN 6: Confirmación WhatsApp */
#rsvp {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95)),
        url('../images/backgrounds/fondo-formulario.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.rsvp-subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.whatsapp-confirmation {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-medium);
    max-width: 800px;
    margin: 0 auto;
}

.whatsapp-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--accent-color);
}

.whatsapp-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.whatsapp-header h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.confirmation-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--accent-color);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.step-content li {
    padding: 0.25rem 0;
    color: var(--gray-dark);
}

.deadline {
    color: var(--primary-color) !important;
    font-size: 1.1rem !important;
}

.whatsapp-actions {
    text-align: center;
    margin-bottom: 3rem;
}

.whatsapp-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #25D366;
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.whatsapp-btn-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: #128C7E;
    color: white;
}

.whatsapp-icon-btn {
    font-size: 1.5rem;
}

.phone-alternative {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px dashed var(--gray-medium);
}

.phone-number {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
    border: 2px solid var(--primary-color);
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.copy-message {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-message.show {
    opacity: 1;
}

.confirmation-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.note {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.note h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* SECCIÓN 7: Playlist */
#playlist {
    background: 
        linear-gradient(rgba(254, 242, 242, 0.9), rgba(255, 245, 245, 0.9)),
        url('../images/backgrounds/fondo-musica.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.playlist-container {
    margin-top: 2rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.song-item {
    background: var(--card-bg);
    padding: 1.25rem;
    margin: 0.75rem 0;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.song-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.remove-song {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

.remove-song:hover {
    background: var(--primary-color);
    color: white;
}

/* SECCIÓN 8: Ubicación */
#ubicacion {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)),
        url('../images/backgrounds/fondo-mapa.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 3rem;
    border: 3px solid var(--primary-color);
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.location-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--accent-color);
}

.location-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--accent-color);
    border-radius: 10px;
}

.address-icon {
    font-size: 2rem;
    margin-top: 0.25rem;
}

.address-street {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.address-city {
    color: var(--gray-dark);
}

.location-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.feature-icon {
    font-size: 1.25rem;
}

.navigation-actions {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--accent-color);
}

.navigation-actions h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.navigation-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border: 2px solid var(--gray-medium);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
}

.navigation-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    background: var(--accent-color);
}

.nav-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.navigation-btn strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.navigation-btn small {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

.share-btn {
    background: var(--accent-color);
    border: 2px solid var(--primary-color);
}

.transport-options {
    background: var(--accent-color);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.transport-options h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.transport-list {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.transport-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.transport-item span:first-child {
    font-size: 1.5rem;
}

.transport-item span:last-child {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.location-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip {
    background: var(--accent-color);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.tip h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* SECCIÓN 9: Información */
#info {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9)),
        url('../images/backgrounds/fondo-info.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Botones WhatsApp */
.whatsapp-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.whatsapp-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* SECCIÓN 10: Footer */
footer {
    background: 
        linear-gradient(rgba(220, 38, 38, 0.9), rgba(185, 28, 28, 0.95)),
        url('../images/backgrounds/fondo-footer.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.footer-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.footer-details {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0;
}

.footer-emojis {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    margin: 2rem 0;
}

.footer-emojis span {
    transition: var(--transition);
}

.footer-emojis span:hover {
    transform: scale(1.3) rotate(15deg);
}

.footer-note {
    font-style: italic;
    opacity: 0.9;
    margin-top: 2rem;
}

/* Lazy loading */
.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Utilidades */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-nav {
        top: 1rem;
        left: 1rem;
    }
    
    .dark-mode-toggle {
        top: 1rem;
        right: 1rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .countdown-item {
        padding: 1.5rem 0.5rem;
    }
    
    .logo {
        max-width: 200px;
        padding: 0.5rem;
    }
    
    .slideshow-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    #rsvp-form, #song-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .info-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .location-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .navigation-buttons {
        gap: 0.75rem;
    }
    
    .navigation-btn {
        padding: 1rem;
    }
    
    .transport-list {
        flex-direction: column;
        gap: 1rem;
    }
    
    .transport-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .location-tips {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-confirmation {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .whatsapp-btn-large {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
    }
    
    .phone-number {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
    
    .confirmation-notes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .location-info,
    .navigation-actions {
        padding: 1.5rem;
    }
    
    .address {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .whatsapp-header h3 {
        font-size: 1.5rem;
    }
    
    .whatsapp-btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .phone-number {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}