/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

/* Tablets y móviles grandes */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 15px;
    }

    /* Hero */
    .hero-section {
        height: 100vh;
        height: 100svh; /* Para móviles modernos */
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* Countdown */
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    /* Info Cards */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Timeline */
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 80px;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-icon {
        left: 30px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* RSVP Form */
    .rsvp-form {
        padding: 30px 20px;
    }

    /* Map */
    .map-container iframe {
        height: 300px;
    }

    /* Music Control */
    .music-control {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .music-control i {
        font-size: 1.2rem;
    }

    /* Regalo Section */
    .regalo-content {
        padding: 40px 20px;
    }

    .regalo-datos {
        padding: 20px;
    }

    .dato-bancario {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .dato-bancario > div {
        width: 100%;
    }

    .dato-valor {
        font-size: 0.9rem;
        word-break: break-all;
    }

    /* Buttons */
    .btn-primary,
    .btn-outline {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 30px 20px;
    }

    .heading-xl {
        font-size: 2rem;
    }

    .heading-lg {
        font-size: 1.75rem;
    }

    .heading-md {
        font-size: 1.5rem;
    }
}

/* Landscape móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 60px 20px;
    }

    .countdown-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop grandes */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Impresión */
@media print {
    .music-control,
    .scroll-indicator,
    #loading-screen {
        display: none !important;
    }

    section {
        page-break-inside: avoid;
    }
}

/* Reducción de movimiento para accesibilidad - Comentado para permitir animaciones de iconos */
/*
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
*/

