/* Адаптивные стили для проекта SmartFood Landing */

/* Планшеты (ширина до 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dishes-grid,
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Планшеты (ширина до 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .floating-badge {
        display: none;
    }
    
    .steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .filter-search {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Мобильные устройства (ширина до 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 15px;
    }
    
    .features-grid,
    .dishes-grid,
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: 300px;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .page-title {
        font-size: 32px;
    }
}