/* ============================================
   KI ACADEMY - RESPONSIVE STYLES
   Minimal - only navigation & layout fixes
   ============================================ */

/* TABLET (640px+) */
@media (min-width: 640px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .modules-preview {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* DESKTOP (1024px+) */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: none !important;
    }
    
    .nav-controls-desktop {
        display: flex;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }
    
    .nav-controls-mobile {
        display: none;
    }
    
    .nav-module-dropdown-desktop {
        display: block !important;
    }
}

/* LARGE DESKTOP (1280px+) */
@media (min-width: 1280px) {
    .hero-content {
        max-width: 640px;
    }
}

/* MOBILE (<640px) - ONLY Navigation fixes */
@media (max-width: 639px) {
    /* Logo text hide */
    .main-nav .nav-container .nav-logo .logo-text {
        display: none;
    }
    
    .main-nav .nav-container .nav-logo {
        gap: 0;
    }
    
    /* Buttons consistent size */
    .nav-controls-mobile .theme-toggle,
    .nav-controls-mobile .back-to-top-nav {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        padding: 0;
        border-radius: 50%;
    }
    
    .nav-controls-mobile .theme-toggle svg,
    .nav-controls-mobile .back-to-top-nav svg {
        width: 18px;
        height: 18px;
    }
    
    /* Hide fixed back-to-top */
    .back-to-top {
        display: none;
    }
    
    /* Navigation menu */
    .nav-menu {
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
}

/* EXTRA SMALL (<380px) */
@media (max-width: 380px) {
    .nav-controls-mobile .theme-toggle,
    .nav-controls-mobile .back-to-top-nav {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .nav-controls-mobile .theme-toggle svg,
    .nav-controls-mobile .back-to-top-nav svg {
        width: 16px;
        height: 16px;
    }
    
    .lang-divider {
        display: none;
    }
}

/* LANDSCAPE */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* PRINT */
@media print {
    .main-nav,
    .scroll-indicator,
    .btn,
    .back-to-top,
    .theme-toggle,
    .classroom-toggle,
    .language-switcher,
    .main-footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}
