/* ========================================
   NICAROAD - RESPONSIVE DESIGN
======================================== */

/* Tablets y pantallas medianas */
@media (max-width: 1000px) {

    .header-container {
        width: 92%;
        gap: 20px;
    }

    .navigation-links {
        gap: 16px;
    }

    .navigation-links > li > a {
        font-size: 13px;
    }

    .navigation-links > li > a.nav-booking {
        padding: 0 15px;
    }

    .footer-container {
        gap: 30px;
    }
}

/* Móviles y tabletas pequeñas */
@media (max-width: 800px) {

    .header-container {
        position: relative;
        min-height: 82px;
        flex-wrap: wrap;
        gap: 0;
        padding: 15px 0;
    }

    .brand-name {
        font-size: 27px;
    }

    .brand-tagline {
        font-size: 10px;
    }

    /* Botón para abrir y cerrar el menú */
    .main-navigation {
        margin-left: auto;
    }

    .navigation-toggle {
        display: block;
    }

    /* Menú desplegable */
    .navigation-links {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px;
        background: var(--nr-black-soft);
        border: 1px solid var(--nr-border);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    }

    .navigation-links.is-open {
        display: flex;
    }

    .navigation-links > li > a {
        display: flex;
        width: 100%;
        min-height: 48px;
        padding: 10px 12px;
        font-size: 15px;
    }

    .navigation-links > li > a.nav-booking {
        justify-content: center;
        margin-top: 8px;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px 25px;
        padding-top: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {

    .header-container {
        width: 90%;
    }

    .brand-name {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .brand-tagline {
        max-width: 190px;
        line-height: 1.4;
    }

    .navigation-toggle {
        width: 42px;
        height: 42px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        gap: 8px;
    }

    .footer-bottom p {
        line-height: 1.6;
    }
}

/* Preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {

    .navigation-links,
    .navigation-links a {
        transition: none !important;
    }
}
