/* 
------------------------------
Thaumyrium - Responsive Styles
------------------------------
*/

/* Tablets and Smaller Screens */

@media (max-width: 900px) {

    /* Navigation */ 

    nav {
        position: relative;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-toggle {
        display: flex;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px;
        background: var(--color-background);
        border-top: 1px solid rgba(185, 154, 96, 0.2);
    }

    nav ul.active {
        display: flex;
    }

    /* Homepage Grids */

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

    /* Two-column Sections */

    .world-content,
    .media-preview {
        grid-template-columns: 1fr;
    }

    .world-content {
        gap: 40px;
    }

    .media-content {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    /* Section Spacing */

    .game-intro,
    .world-preview,
    .gameplay-preview,
    .guide-preview,
    .media-preview { 
        padding: 80px 25px;
    }

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

    /* World Page */ 

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

    .world-overview,
    .world-realms,
    .world-connection {
        padding: 80px 25px;
    }

    /* Gameplay Page */ 

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

    .gameplay-overview,
    .gameplay-features,
    .gameplay-approach {
        padding: 80px 25px;
    }

    /* Beginner's Guide */ 

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

    .guide-overview,
    .guide-topics,
    .guide-help {
        padding: 80px 25px;
    }

    /* Media Page */

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

    .media-overview,
    .media-gallery,
    .media-artwork,
    .media-videos {
        padding: 80px 25px;
    }

    .media-video-placeholder {
        min-height: 350px;
    }

    /* Media Lightbox */ 
    .media-lightbox {
        gap: 15px;
        padding: 25px;
    }

    .lightbox-image-placeholder {
        min-height: 350px;
    }

    .lightbox-previous,
    .lightbox-next {
        font-size: 28px;
    }
}

/* mobile Phones */

@media (max-width: 600px) {

    /* Navigation */ 

    nav {
        padding: 20px;
    }

    nav ul {
        gap: 12px 18px; 
    }

    nav ul a {
        font-size: 0.9rem;
    }

    /* Single-column Grids */

    .feature-grid,
    .gameplay-grid {
        grid-template-columns: 1fr;
    }

    /* Section Spacing */

    .game-intro,
    .world-preview,
    .gameplay-preview,
    .guide-preview,
    .media-preview {
        padding: 65px 20px;
    }

    /* World and media Placeholders */

    .world-image-placeholder,
    .media-teaser {
        min-height: 250px;
    }

    /* Guide and Media Text */

    .guide-content,
    .media-content {
        width: 100%;
    }

    /* Hero */ 

    .hero {
        min-height: 75vh;
        padding: 50px 20px;
    }

    .hero h1 {
        letter-spacing: 0.06em;
    }

    .hero-subtitle { 
        letter-spacing: 0.2em;
    }

    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .about-overview,
    .about-experience {
        padding: 65px 20px;
    }

    .page-hero {
        min-height: 55vh;
        padding: 60px 20px;
    }

    .page-hero h1 {
        letter-spacing: 0.06em;
    }

    /* World Page */

    .world-realm-grid {
        grid-template-columns: 1fr;
    }

    .world-overview,
    .world-realms,
    .world-connection {
        padding: 65px 20px;
    }

    .world-realm-image {
        min-height: 220px;
    }

    /* Gameplay Page */

    .gameplay-feature-grid {
        grid-template-columns: 1fr;
    }

    .gameplay-overview,
    .gameplay-features,
    .gameplay-approach {
        padding: 65px 20px;
    }

    .gameplay-feature-image {
        min-height: 220px;
    }

    /* Beginner's Guide */ 

    .guide-topic-grid {
        grid-template-columns: 1fr;
    }

    .guide-overview,
    .guide-topics,
    .guide-help {
        padding: 65px 20px;
    }

    .guide-topic-image {
        min-height: 220px;
    }

    /* Media Page */

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

    .media-overview,
    .media-gallery,
    .media-artwork,
    .media-videos {
        padding: 65px 20px;
    }

    .media-gallery-placeholder {
        min-height: 220px;
    }

    .media-video-placeholder {
        min-height: 250px;
    }

    /* Media Lightbox */

    .media-lightbox {
        gap: 0;
        padding: 70px 15px 30px;
    }

    .lightbox-content {
        width: 100%;
    }

    .lightbox-image-placeholder {
        min-height: 220px;
    }

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

    .lightbox-previous, 
    .lightbox-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        padding: 12px;
    }

    .lightbox-previous {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
}