/* 
* Holodnaya Halva - Responsive styles
* Autor: Holodnaya Halva Team
* Data: Listopad 2023
*/

/* ===== MOBILE MENU TOGGLE ===== */
@media screen and (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -300px;
        height: 100vh;
        width: 280px;
        background-color: var(--white-color);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-list a {
        font-size: var(--font-size-medium);
        padding: 1rem 0;
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--dark-color);
    }
}

/* ===== CONTAINER ===== */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 1.5rem;
    }
}

/* ===== HERO SECTION ===== */
@media screen and (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: var(--font-size-xxl);
    }

    .hero p {
        font-size: var(--font-size-base);
    }
}

/* ===== ABOUT SECTION ===== */
@media screen and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
        order: -1;
    }
}

/* ===== RECIPES GRID ===== */
@media screen and (max-width: 768px) {
    .recipes-grid, .blog-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CONTACT SECTION ===== */
@media screen and (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ===== FOOTER ===== */
@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ===== COOKIE CONSENT ===== */
@media screen and (max-width: 768px) {
    .cookie-buttons {
        justify-content: center;
    }
}

/* ===== BLOG CATEGORIES ===== */
@media screen and (max-width: 576px) {
    .categories-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .category-btn {
        width: 100%;
        padding: 0.75rem;
    }
}

/* ===== BLOG POST SINGLE ===== */
@media screen and (max-width: 768px) {
    .blog-post-image {
        height: 250px;
    }

    .blog-post-header h1 {
        font-size: var(--font-size-xxl);
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .post-nav-prev, .post-nav-next {
        max-width: 100%;
        text-align: center;
    }

    .recipe-info {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===== THANK YOU PAGE ===== */
@media screen and (max-width: 768px) {
    .thankyou-content {
        padding: 2rem 1.5rem;
    }

    .recommended-recipes {
        grid-template-columns: 1fr;
    }
}

/* ===== LEGAL PAGES ===== */
@media screen and (max-width: 768px) {
    .legal-content {
        padding: 2rem 1.5rem;
    }

    .legal-content h1 {
        font-size: var(--font-size-xxl);
    }

    .legal-section-content h2 {
        font-size: var(--font-size-large);
    }
}

/* ===== RECIPE STEPS ===== */
@media screen and (max-width: 576px) {
    .recipe-section {
        padding: 1.5rem;
    }
}

/* ===== TESTIMONIALS ===== */
@media screen and (max-width: 768px) {
    .testimonial-content {
        padding: 1.5rem;
    }
}

/* ===== NEWSLETTER ===== */
@media screen and (max-width: 576px) {
    .footer-newsletter .form-group {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-newsletter button {
        width: 100%;
    }
}
