/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 62px;
    }

    .cta-title {
        font-size: 56px;
    }
}

/* Desktop (1024px - 1439px) - default styles apply */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --section-padding: 60px 0;
    }

    /* Header */
    .nav-menu > li > a {
        padding: 10px 10px;
        font-size: 13px;
    }

    .nav-cta {
        font-size: 12px !important;
    }

    /* Hero */
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    /* Segments */
    .segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Destino */
    .destino-grid {
        flex-direction: column;
        gap: 40px;
    }

    .destino-content {
        flex: none;
        width: 100%;
    }

    .destino-images {
        width: 100%;
        justify-content: center;
    }

    /* GL Events */
    .gl-events-grid {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .gl-events-logo {
        flex: none;
    }

    .gl-events-content {
        text-align: center;
    }

    /* CTA */
    .cta-title {
        font-size: 36px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (320px - 767px) */
@media (max-width: 767px) {
    :root {
        --section-padding: 48px 0;
    }

    /* Pages without hero */
    body.page:not(.home),
    body.single,
    body.archive,
    body.error404,
    body.search {
        padding-top: 64px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        height: 64px;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background-color: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
    }

    body.admin-bar .nav-menu-wrapper {
        top: 110px;
        height: calc(100vh - 110px);
    }

    .nav-menu-wrapper.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu > li > a {
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid #eee;
        justify-content: space-between;
        color: var(--color-text-dark) !important;
    }

    .nav-menu > li > a::after {
        display: none;
    }

    /* Mobile dropdown */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        display: none;
        background-color: var(--color-bg-light);
        padding: 0;
    }

    .nav-menu > li.submenu-open > .sub-menu {
        display: block;
    }

    .sub-menu li a {
        padding: 12px 20px;
    }

    .nav-cta {
        margin-top: 20px;
        text-align: center;
        width: 100%;
    }

    /* Hero */
    .hero-section {
        min-height: 100vh;
        clip-path: url(#hero-clip-mobile);
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-pretitle {
        font-size: 16px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Segments */
    .segments-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .segment-card {
        height: 180px;
    }

    .section-heading {
        font-size: 26px;
    }

    /* Events */
    .events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Destino */
    .destino-images {
        flex-direction: column;
        align-items: center;
    }

    .destino-image-1 {
        margin-top: 0;
    }

    .destino-image-wrapper {
        width: 100%;
    }

    .image-placeholder {
        width: 100%;
        height: 250px;
    }

    .destino-buttons {
        flex-direction: column;
    }

    .destino-buttons .btn {
        text-align: center;
    }

    /* ESG */
    .esg-title {
        font-size: 24px;
    }

    .esg-subtitle {
        font-size: 16px;
    }

    /* CTA */
    .cta-section {
        min-height: 350px;
    }

    .cta-title {
        font-size: 28px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Page Header */
    .page-header-bar {
        padding: 80px 0 30px;
    }

    .page-header-bar .page-title {
        font-size: 28px;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* 404 */
    .error-404-title {
        font-size: 80px;
    }

    /* Evento */
    .evento-details-bar {
        flex-direction: column;
        gap: 16px;
    }
}

/* Small Mobile (320px - 479px) */
@media (max-width: 479px) {
    .hero-title {
        font-size: 24px;
    }

    .cta-title {
        font-size: 24px;
    }

    .section-heading {
        font-size: 22px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 32px;
    }
}
