/* =====================================================
   MUSKAAN BAKERS
   Responsive Styles
===================================================== */


/* ================= TABLET ================= */

@media (max-width: 1050px) {

    .navbar {
        gap: 22px;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-circle {
        width: 400px;
        height: 400px;
    }

    .hero-image-wrapper {
        width: 360px;
        height: 440px;
    }

    .cake-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 50px;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 768px) {

    body {
        padding-bottom: 67px;
    }


    /* Header */

    .nav-container {
        height: 70px;
    }

    .navbar {
        position: fixed;

        top: 70px;
        left: 0;

        width: 100%;

        padding: 20px;

        background: var(--white);

        border-bottom: 1px solid var(--border);

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        transform: translateY(-150%);
        opacity: 0;
        pointer-events: none;

        transition: 0.3s ease;
    }

    .navbar.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;

        padding: 14px 5px;

        border-bottom: 1px solid var(--border);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-order-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .rating {
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);

        letter-spacing: -1.5px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;

        font-size: 0.92rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;

        gap: 13px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-circle {
        width: 330px;
        height: 330px;
    }

    .hero-image-wrapper {
        width: 290px;
        height: 380px;
    }

    .review-card {
        top: 40px;
        left: 0;
    }

    .fresh-card {
        right: 0;
        bottom: 35px;
    }


    /* Sections */

    .section-padding {
        padding: 75px 0;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;

        gap: 15px;

        margin-bottom: 30px;
    }

    .section-heading h2,
    .center-heading h2 {
        font-size: 2.5rem;
    }


    /* Categories */

    .category-wrapper {
        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .category-wrapper::-webkit-scrollbar {
        display: none;
    }

    .category-btn {
        white-space: nowrap;
    }


    /* Cakes */

    .cake-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 13px;
    }

    .cake-image {
        height: 220px;
    }

    .cake-info {
        padding: 14px;
    }

    .cake-info h3 {
        font-size: 1rem;
    }

    .cake-bottom strong {
        font-size: 0.78rem;
    }


    /* Why */

    .why-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .why-card {
        padding: 22px 15px;
    }


    /* About */

    .about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-image {
        height: 430px;
    }

    .experience-card {
        right: 15px;
        bottom: 15px;
    }


    /* CTA */

    .cta-section {
        padding: 75px 0;
    }

    .cta-buttons {
        flex-direction: column;

        max-width: 300px;

        margin: auto;
    }


    /* Contact */

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .map-wrapper,
    .map-wrapper iframe {
        min-height: 350px;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px;

        padding: 55px 0;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom .container {
        min-height: auto;

        padding: 18px 0;

        flex-direction: column;

        text-align: center;
    }


    /* Mobile Bar */

    .mobile-action-bar {
        position: fixed;

        display: grid;
        grid-template-columns: repeat(3, 1fr);

        bottom: 0;
        left: 0;

        width: 100%;

        height: 67px;

        z-index: 9999;

        background: var(--white);

        border-top: 1px solid var(--border);

        box-shadow: 0 -8px 25px rgba(75, 41, 34, 0.08);
    }

    .mobile-action-bar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 4px;

        color: var(--brown);

        font-size: 0.65rem;
        font-weight: 700;
    }

    .mobile-action-bar i {
        font-size: 17px;
    }

    .mobile-action-bar .mobile-whatsapp {
        color: #258a55;
    }

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 480px) {

    .container {
        width: min(92%, 420px);
    }

    .logo strong {
        font-size: 1.15rem;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }

    .hero-image-wrapper {
        width: 250px;
        height: 340px;
    }

    .floating-card {
        padding: 10px;
    }

    .review-card {
        left: -5px;
    }

    .fresh-card {
        right: -5px;
    }

    .cake-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cake-image {
        height: 175px;
    }

    .cake-info h3 {
        min-height: 48px;
        font-size: 0.92rem;
    }

    .cake-flavor {
        font-size: 0.6rem;
    }

    .cake-bottom a {
        width: 33px;
        height: 33px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-card h3 {
        font-size: 1rem;
    }

    .why-card p {
        font-size: 0.72rem;
    }

    .about-image {
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

}

/* ================= MOBILE HERO DECORATION FIX ================= */

@media (max-width: 768px) {

    /* Remove the large faint circle from the top of hero */
    .hero::before {
        display: none;
    }

}