/* ========================================
   Responsive Styles - Passiflora Theme
   ======================================== */

/* Tablet - Large */
@media (max-width: 1024px) {
    :root {
        --container-max: 960px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav a {
        font-size: 0.9rem;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .about-grid {
        gap: 40px;
    }

    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet - Small */
@media (max-width: 768px) {
    .site-header .main-header .main-nav,
    .site-header .main-header .header-actions,
    .site-header .top-bar,
    .site-header .for-desktop {
        display: none;
    }

    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
    }

    .mobile-header .site-logo img {
        height: 45px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-main {
        min-height: 350px;
    }

    .hero-sidebar {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hero-card {
        min-width: 280px;
        flex-shrink: 0;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .category-card .cat-img {
        width: 80px;
        height: 80px;
    }

    .recipes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .popular-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-img {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .newsletter-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form .btn {
        align-self: center;
    }

    .weekly-content.active {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
    }

    .footer-newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .sticky-social {
        display: none;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .recipe-meta-box {
        gap: 20px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }

    .container {
        padding: 0 16px;
    }

    .hero-main {
        min-height: 280px;
    }

    .hero-main-content {
        padding: 24px 20px;
    }

    .hero-main-content h1 {
        font-size: 1.4rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .category-card .cat-img {
        width: 70px;
        height: 70px;
    }

    .category-card p {
        font-size: 0.85rem;
    }

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

    .recipe-card-img {
        height: 200px;
    }

    .weekly-tabs {
        gap: 6px;
    }

    .weekly-tab {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .about-section {
        padding: 50px 0;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .popular-card {
        flex-direction: column;
    }

    .popular-card-img {
        width: 100%;
        height: 180px;
    }

    .popular-card-content {
        padding: 16px;
    }

    .recipe-featured-img {
        border-radius: var(--radius-sm);
    }

    .recipe-instructions ol li {
        padding-right: 44px;
    }

    .announcement-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .announcement-bar .img {
        order: -1;
    }

    .pagination a,
    .pagination span {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .mobile-nav {
        width: 85%;
    }
}
