
/* =====================================
   RESPONSIVE DESIGN
   Imam Khomeini Stadium
===================================== */

/* Tablet */
@media screen and (max-width: 1024px) {

    .inner-header {
        padding: 15px 4%;
    }

    .main-navigation {
        gap: 15px;
    }

    .main-navigation a {
        font-size: 12px;
    }

    .stadium-history,
    .history-section,
    .gallery-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .history-chapter {
        gap: 25px;
    }

    .chapter-photo {
        height: 300px;
    }

}

/* Mobile */
@media screen and (max-width: 768px) {

    /* Header */
    .inner-header {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 18px 15px;
    }

    .header-brand {
        justify-content: center;
    }

    .header-brand img {
        width: 48px;
        height: 48px;
    }

    .main-navigation {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
    }

    .main-navigation a {
        font-size: 12px;
    }

    /* Hero */
    .page-hero {
        min-height: 300px;
        background-position: center;
    }

    .page-hero-content h1 {
        font-size: 30px;
    }

    .page-hero-content p {
        font-size: 13px;
    }

    /* Sections */
    .stadium-history,
    .history-section,
    .gallery-section {
        padding: 55px 18px;
    }

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

    .section-heading h2 {
        font-size: 27px;
    }

    /* History */
    .history-chapter,
    .history-chapter.reverse {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 65px;
    }

    .history-chapter.reverse .chapter-text,
    .history-chapter.reverse .chapter-photo {
        order: initial;
    }

    .chapter-number {
        font-size: 60px;
        padding: 0;
    }

    .chapter-text {
        padding: 5px 0 15px;
    }

    .chapter-text h2 {
        font-size: 24px;
    }

    .chapter-text p {
        font-size: 13px;
        line-height: 2.3;
    }

    .chapter-photo {
        width: 100%;
        height: 240px;
    }

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

    .gallery-item {
        height: 170px;
    }

    /* Footer */
    .site-footer {
        padding: 40px 15px;
    }

}

/* Small Mobile */
@media screen and (max-width: 480px) {

    .header-brand span {
        font-size: 13px;
    }

    .main-navigation {
        gap: 8px 13px;
    }

    .main-navigation a {
        font-size: 11px;
    }

    .page-hero {
        min-height: 250px;
    }

    .page-hero-content h1 {
        font-size: 24px;
    }

    .page-hero-content span {
        font-size: 9px;
        letter-spacing: 2px;
    }

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

    .gallery-item {
        height: 220px;
    }

    .chapter-photo {
        height: 210px;
    }

    .chapter-number {
        font-size: 50px;
    }

    .lightbox {
        padding: 12px;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 8px;
        right: 15px;
        font-size: 38px;
    }

    html[lang="en"] .lightbox-close {
        right: auto;
        left: 15px;
    }

}
