/* =========================================================
   ELITE BALLERS FC
   Responsive Stylesheet
   ========================================================= */


/* =========================================================
   TABLETS
   ========================================================= */

@media (max-width: 1000px) {

    /* =========================
       NAVIGATION
       ========================= */

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }


    /* =========================
       HERO
       ========================= */

    .hero {
        min-height: 75vh;
    }

    .hero h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }


    /* =========================
       INTRO
       ========================= */

    .club-intro {
        gap: 40px;
    }


    /* =========================
       MATCH
       ========================= */

    .match-card,
    .result-card {
        gap: 20px;
        padding: 30px;
    }


    /* =========================
       STATS
       ========================= */

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


    /* =========================
       NEWS
       ========================= */

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


    /* =========================
       FOOTER
       ========================= */

    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* =========================
       NAVIGATION
       ========================= */

    .navbar {
        min-height: 65px;
    }

    .logo {
        font-size: 0.95rem;
    }

    .logo img {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;

        top: 65px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: #080808;

        border-bottom: 1px solid var(--border);
    }

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

    .nav-links li {
        border-top: 1px solid var(--border);
    }

    .nav-links a {
        display: block;

        padding: 15px 5%;

        font-size: 0.9rem;
    }


    /* =========================
       HERO
       ========================= */

    .hero {
        min-height: 80vh;

        background:
            linear-gradient(
                180deg,
                rgba(8, 8, 8, 0.65),
                rgba(8, 8, 8, 0.98)
            ),
            url("../assets/images/hero.jpg");

        background-position: center;
    }

    .hero-content {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 15vw, 4.5rem);

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

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


    /* =========================
       SECTIONS
       ========================= */

    .club-intro,
    .next-match,
    .latest-result,
    .club-stats,
    .latest-news {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .section-heading {
        margin-bottom: 30px;
    }


    /* =========================
       INTRO
       ========================= */

    .club-intro {
        display: block;
    }

    .club-intro .section-heading {
        margin-bottom: 30px;
    }


    /* =========================
       MATCH / RESULT
       ========================= */

    .match-card,
    .result-card {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 30px 20px;
    }

    .match-info {
        order: 2;
    }

    .match-card .team:first-child,
    .result-card .team:first-child {
        order: 1;
    }

    .match-card .team:last-child,
    .result-card .team:last-child {
        order: 3;
    }

    .match-vs {
        font-size: 2rem;
    }

    .score strong {
        font-size: 2.5rem;
    }


    /* =========================
       STATS
       ========================= */

    .club-stats {
        padding-left: 5%;
        padding-right: 5%;
    }

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

    .stat-card {
        padding: 30px 15px;
    }

    .stat-card strong {
        font-size: 2.3rem;
    }


    /* =========================
       NEWS
       ========================= */

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

    .news-image {
        height: 200px;
    }


    /* =========================
       CTA
       ========================= */

    .club-cta {
        min-height: 500px;

        padding: 80px 5%;
    }

    .cta-content h2 {
        font-size: clamp(3rem, 15vw, 5rem);
    }


    /* =========================
       FOOTER
       ========================= */

    .footer-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;

        text-align: center;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 450px) {

    /* =========================
       GENERAL
       ========================= */

    .navbar {
        width: 92%;
    }

    .hero-content {
        width: 92%;
    }

    .club-intro,
    .next-match,
    .latest-result,
    .latest-news {
        width: 92%;
    }


    /* =========================
       LOGO
       ========================= */

    .logo span {
        font-size: 0.85rem;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }


    /* =========================
       HERO
       ========================= */

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

    .hero-description {
        font-size: 0.9rem;
    }


    /* =========================
       SECTIONS
       ========================= */

    .section-heading h2 {
        font-size: 2rem;
    }


    /* =========================
       STATS
       ========================= */

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

    .stat-card {
        padding: 25px 15px;
    }


    /* =========================
       MATCH
       ========================= */

    .match-card,
    .result-card {
        padding: 25px 15px;
    }

    .team-logo {
        width: 70px;
        height: 70px;
    }


    /* =========================
       FOOTER
       ========================= */

    .site-footer {
        padding-left: 4%;
        padding-right: 4%;
    }
}
