/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================================================== */

/* TABLET (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    /* Navbar */
    .nav__list {
        gap: var(--space-m);
    }
    
    /* Hero */
    .hero__container {
        gap: var(--space-l);
    }
    
    .hero__description {
        max-width: 100%;
    }
    
    .hero__disciplines {
        left: 0; /* Was right: 0 in LTR */
        padding: var(--space-m);
    }
    
    .hero__stats {
        gap: var(--space-l);
    }
}

/* MOBILE (max-width: 768px) */
@media screen and (max-width: 768px) {
    /* Containers */
    :root {
        --container-padding: 1.5rem;
    }

    /* Navbar */
    .navbar__nav {
        display: none; /* Hide desktop nav */
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .lang-switch {
        display: none; /* Can be moved inside mobile menu later */
    }
    
    /* About Section */
    .about {
        padding: 3rem 0; /* Reduced padding on mobile */
    }

    .about__visual {
        height: auto !important;
        aspect-ratio: 4 / 3; /* Stable aspect ratio instead of vh */
        margin-bottom: 2rem !important;
    }

    .about__heading {
        font-size: 2rem; /* Slightly larger for impact */
    }

    .about__index {
        grid-template-columns: 1fr 1fr; /* Keep 2 columns on mobile */
        gap: 1rem;
    }

    .index-item {
        padding: 4px 0;
    }

    .index-text {
        font-size: 0.85rem; /* Slightly smaller to fit 2 columns nicely */
    }

    /* Hero */
    .hero {
        padding-top: max(80px, 10vh);
        height: 100svh;
        min-height: 600px;
    }
    
    .hero__bg-image {
        object-position: center; /* better focus on mobile */
    }

    .hero__bg-overlay {
        background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.4) 100%);
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        align-items: center;
        gap: var(--space-m);
    }
    
    .hero__content {
        order: 1;
        align-items: flex-start;
        text-align: right;
        padding-top: 1rem;
    }
    
    .hero__headline {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        line-height: 1.25;
        margin-bottom: var(--space-s);
    }
    
    .hero__description {
        max-width: 100%;
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: var(--space-l);
        border-right: 2px solid var(--color-accent-warm);
        padding-right: var(--space-s);
    }

    .hero__disciplines-wrapper {
        display: none;
    }
    
    .hero__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-l);
        padding-top: var(--space-s);
    }
    
    .hero__scroll-indicator {
        display: none;
    }
    
    .hero__stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-s);
        border-top: none;
        padding-top: 0;
    }
    
    .stat-item {
        align-items: center;
        text-align: center;
    }
    
    .stat-label {
        font-size: 0.8rem; /* smaller to fit 3 side-by-side */
        opacity: 0.8;
        line-height: 1.4;
    }
    
    .grid-line.vertical {
        display: none;
    }
}
