/* --- Responsive CSS for Mom's Made --- */

:root {
    --transition-menu: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Toggle - Hidden on Desktop */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--secondary);
}

/* Tablet & Mobile View (max-width: 992px) */
@media (max-width: 992px) {
    header {
        top: 0;
        width: 100%;
        border-radius: 0;
        padding: 12px 20px;
        background: var(--white);
    }

    .container {
        padding: 0 15px;
    }

    .mobile-toggle {
        display: block;
        color: var(--dark);
        font-size: 1.5rem;
    }

    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1001;
        visibility: hidden;
        opacity: 0;
    }

    #nav.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    #nav ul {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 35px;
        padding: 0;
    }

    #nav ul li a {
        font-size: 2rem;
        color: var(--dark);
        font-family: 'Fraunces', serif;
        font-weight: 700;
        letter-spacing: 0;
    }

    #nav ul li a:hover {
        color: var(--primary);
    }

    .nav-actions {
        gap: 15px;
    }

    /* Small order button for mobile header */
    .nav-actions .btn-secondary {
        display: block;
        padding: 10px 20px;
        font-size: 0.75rem;
        border-radius: 12px;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        margin-bottom: 15px;
        padding: 12px 30px;
        font-size: 0.8rem;
    }

    .hero-btns .btn-outline {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .slider-btn {
        display: none;
    }

    /* Scroll Top Button - Compact & Attractive */
    .scroll-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        border-radius: 15px;
        font-size: 1.2rem;
    }

    /* Reviews Section Side Buttons */
    .reviews .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .review-buttons {
        justify-content: center;
        width: 100%;
    }

    .review-buttons button {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    /* About Section Image */
    .about-image {
        margin-bottom: 30px;
    }

    .gallery-grid {
        column-count: 2;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 50px;
    }

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

    .footer-col ul li {
        justify-content: center;
        gap: 20px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .app-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
    }

    .app-btn-premium img {
        height: 42px;
        width: auto;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2.5rem;
    }

    /* Find Us Section */
    .find-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .find-info h2 {
        font-size: 2.5rem;
    }

    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }

    .nav-actions .btn-secondary {
        padding: 8px 15px;
        font-size: 0.7rem;
    }

    .logo img {
        height: 40px;
    }

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

    .slide-subtitle {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-text-side h2 {
        font-size: 2.2rem;
    }

    .menu-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .menu-item-header {
        flex-direction: column;
        gap: 10px;
    }

    .menu-item-header::after {
        display: none;
    }

    .menu-item-header h4, .menu-item-header .price {
        padding: 0;
    }

    .experience-badge {
        padding: 15px;
        right: 10px;
        bottom: -10px;
    }

    .experience-badge .number {
        font-size: 1.8rem;
    }

    .review-card {
        padding: 30px 20px;
    }

    .gallery-grid {
        column-count: 1;
    }
}