/* ========================================
   Responsive Styles
   Breakpoints: xl(1200+), lg(992+), md(768+), sm(576+), xs(<576)
   ======================================== */

/* XL - Large desktops */
@media (max-width: 1400px) {
    :root {
        --content-padding: 80px;
    }
}

/* LG - Desktops / Tablets Landscape */
@media (max-width: 1199px) {
    :root {
        --content-padding: 60px;
    }

    .featured-tournament {
        flex-direction: column;
        height: auto;
    }

    .featured-tournament-image {
        width: 100%;
        min-width: 100%;
        height: 300px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-image {
        width: 360px;
        min-width: 360px;
        height: 320px;
    }
}

/* MD-LG - Navbar collapse point */
@media (max-width: 991px) {
    .top-bar {
        display: none;
    }

    .main-nav {
        padding: 12px 20px;
    }

    .nav-toggler {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-top: 1px solid var(--card-border);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 48px !important;
        letter-spacing: 2px;
    }

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

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

    .about-content {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        min-width: 100%;
        height: 300px;
    }

    .vmv-section {
        grid-template-columns: 1fr;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-cards {
        width: 100%;
        min-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .contact-card {
        flex: 1;
        min-width: 280px;
    }

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

    .venue-info {
        flex-wrap: wrap;
    }
}

/* MD - Tablets */
@media (max-width: 767px) {
    :root {
        --content-padding: 24px;
        --section-padding: 48px;
    }

    .hero-section {
        height: 500px;
    }

    .hero-overlay {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 36px !important;
        letter-spacing: 1px;
    }

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

    .hero-desc {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary-gradient,
    .hero-buttons .btn-outline-light {
        width: 100%;
        justify-content: center;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 24px;
        padding: 24px;
    }

    .stat-item {
        width: 45%;
    }

    .stat-number {
        font-size: 28px;
    }

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

    .news-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

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

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

    .form-row {
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .page-banner {
        height: 220px;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .featured-tournament-info {
        padding: 24px;
    }

    .featured-tournament h2 {
        font-size: 24px;
    }

    .tournament-meta {
        flex-direction: column;
        gap: 8px;
    }

    .cta-section {
        height: auto;
        min-height: 280px;
    }

    .cta-overlay {
        position: relative;
        height: auto;
        min-height: 280px;
        padding: 40px 24px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .news-detail {
        padding: var(--section-padding) var(--content-padding);
    }

    .news-detail h1 {
        font-size: 24px;
    }

    .news-detail-image {
        height: 250px;
    }
}

/* MD - Hero Variants */
@media (max-width: 767px) {
    .hero-variant-c-inner {
        flex-direction: column;
        padding: 40px var(--content-padding);
        gap: 32px;
    }

    .hero-c-left {
        text-align: center;
        align-items: center;
    }

    .hero-c-left .hero-title {
        text-align: center !important;
    }

    .hero-c-left .hero-desc {
        text-align: center !important;
    }

    .hero-c-left .hero-buttons {
        justify-content: center !important;
    }

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

    .hero-variant-d {
        flex-direction: column;
        height: auto;
    }

    .hero-d-left {
        min-height: 360px;
    }

    .hero-d-right {
        padding: 32px 24px;
    }

    .hero-stats-row {
        gap: 12px;
    }

    .hero-stat-card {
        padding: 16px 20px;
        min-width: 100px;
    }

    .hero-stat-value {
        font-size: 24px;
    }

    .hero-email-input-group {
        flex-direction: column;
    }

    .hero-email-btn {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
        width: 100%;
        justify-content: center;
    }

    .hero-d-title {
        font-size: 28px;
    }

    .hero-social-proof {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* SM - Small devices */
@media (max-width: 575px) {
    .hero-section {
        height: 450px;
    }

    .hero-title {
        font-size: 28px !important;
    }

    .hero-overlay {
        padding: 0 16px;
    }

    .nav-logo span {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .stat-item {
        width: 100%;
    }

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

    .contact-card {
        min-width: 100%;
    }

    .pagination-custom {
        flex-wrap: wrap;
    }
}
