/**
 * Файл: css/responsive.css
 * Назначение: Адаптивные стили для мобильных устройств
 * Содержит: Медиа-запросы для всех разрешений
 * Зависимости: Все CSS файлы
 * Подключается: Всегда (последним)
 */

/* ========== ПЛАНШЕТЫ (768px и меньше) ========== */
@media (max-width: 768px) {
    /* Мобильное меню */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .user-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }
    
    .btn-outline,
    .btn-primary {
        text-align: center;
        width: 100%;
    }
    
    /* Каталог */
    .catalog-hero h1 {
        font-size: 1.8rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card h3 {
        min-height: auto;
    }
    
    .service-description {
        min-height: auto;
    }
    
    .info-note {
        flex-direction: column;
        text-align: center;
    }
    
    .free-link-card {
        flex-direction: column;
        text-align: center;
    }
    
    /* Футер */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* ========== МОБИЛЬНЫЕ (480px и меньше) ========== */
@media (max-width: 480px) {
    .logo-title {
        font-size: 1rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}