/* ==========================================================================
   Vkusnaya Muka - Responsive Styles
   ========================================================================== */

/* Large Desktops (1200px and down) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 3.2rem;
    }
    
    .about-stats {
        gap: var(--spacing-sm);
    }
    
    .stat-item {
        padding: var(--spacing-sm);
    }
    
    .stat-item h3 {
        font-size: 3.2rem;
    }
}

/* Medium Devices (992px and down) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 3.4rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    h3 {
        font-size: 2.4rem;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-content {
        max-width: 580px;
    }
    
    .about-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .about-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stat-item {
        flex: 1 0 40%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .contact-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .article-content {
        padding: 0 var(--spacing-md);
    }
    
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Devices (768px and down) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    h3 {
        font-size: 2.2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: var(--shadow-medium);
        padding: var(--spacing-md) 0;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: var(--spacing-xs) 0;
    }
    
    .hero-section {
        height: auto;
        min-height: 500px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: var(--spacing-xs);
    }
    
    .cookie-option {
        flex-direction: column;
    }
    
    .cookie-option p {
        margin-left: 0;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .article-tags {
        justify-content: center;
    }
    
    .thank-you-buttons {
        flex-direction: column;
    }
}

/* Extra Small Devices (576px and down) */
@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .section-header {
        margin-bottom: var(--spacing-md);
    }
    
    .hero-content {
        padding: var(--spacing-sm);
    }
    
    .hero-content h1 {
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-content p {
        font-size: 1.6rem;
        margin-bottom: var(--spacing-md);
    }
    
    .about-stats {
        gap: var(--spacing-xs);
    }
    
    .stat-item {
        flex: 1 0 100%;
    }
    
    .stat-item h3 {
        font-size: 2.8rem;
    }
    
    .testimonial-card {
        padding: var(--spacing-sm);
    }
    
    .testimonial-content {
        padding: var(--spacing-sm);
    }
    
    .testimonial-content p {
        font-size: 1.6rem;
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    .legal-content {
        padding: var(--spacing-md);
    }
    
    .article-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .article-content {
        font-size: 1.6rem;
        padding: 0;
    }
    
    .article-intro {
        font-size: 1.8rem;
    }
    
    .article-content h2 {
        font-size: 2.4rem;
    }
    
    .article-content h3 {
        font-size: 2rem;
    }
    
    .cookie-banner {
        padding: var(--spacing-sm);
    }
}

/* Mobile Navigation Script Styling */
.main-nav.is-active {
    display: block;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Animation Classes */
.slide-in {
    animation: slideIn 0.3s forwards;
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
