/**
 * Sweets Website
 * =============================================================
 * File: assets/css/pages/namkeen-page.css
 * Description: Consolidation of Namkeen page styles and mobile refinements
 * =============================================================
 */

/* ── Art of Crafting Section ── */
.nk-art__content h2 {
    color: #792419;
    font-family: 'Quando', Georgia, serif;
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.nk-art__content p {
    color: #4a4a4a;
    font-size: 1.15rem;
    line-height: 1.7;
    font-family: Inter, sans-serif;
}

.nk-art__content ul {
    color: #555;
    font-size: 1.1rem;
    font-family: Inter, sans-serif;
}

.nk-art__btn {
    background-color: #af4f18;
    color: #fff !important;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 12px 32px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ── Why Choose Section ── */
.nk-why h2 {
    color: #6c2719;
    font-family: 'Quando', Georgia, serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    letter-spacing: -0.01em;
}

.nk-why-card {
    background-color: #fcf8f3;
    border-radius: 8px;
    padding: 40px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nk-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.nk-why-card__icon-wrap {
    width: 68px;
    height: 68px;
    border: 1px solid #d9bd8d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.nk-why-card__icon {
    color: #bea772;
    font-size: 1.8rem;
}

.nk-why-card__title {
    color: #2a2a2a;
    font-family: Inter, sans-serif;
    font-weight: 700;
}

.nk-why-card__text {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
    font-family: Inter, sans-serif;
}

/* ── Mobile Overrides ── */
@media (max-width: 426px) {
    /* Art Section */
    .nk-art {
        padding: 40px 0 !important;
    }

    .nk-art__content h2 {
        font-size: 1.5rem !important;
        text-align: center;
        margin-bottom: 1.5rem !important;
    }

    .nk-art__content p {
        font-size: 0.95rem !important;
        text-align: center;
    }

    .nk-art__content ul {
        font-size: 0.9rem !important;
        padding-left: 0;
    }

    .nk-art__content ul li {
        justify-content: center;
    }

    .nk-art__btn-wrap {
        text-align: center;
    }

    .nk-art__quote-box {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        transform: translate(0, 20px) !important;
        max-width: 100% !important;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    /* Why Choose Section */
    .nk-why h2 {
        font-size: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .nk-why-card {
        padding: 30px 20px !important;
        margin-bottom: 1rem;
        margin-top: 0px 0px;
    }
    

    .nk-why-card__title {
        font-size: 1.2rem !important;
    }

    .nk-why-card__text {
        font-size: 0.9rem !important;
    }

    .nk-why-card__icon-wrap {
        width: 55px !important;
        height: 55px !important;
    }

    .nk-why-card__icon {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 320px) {
    .nk-art__content h2 {
        font-size: 1.35rem !important;
    }

    .nk-why-card__text br {
        display: none;
    }
}

/*  CTA Section  */
.nk-cta__banner {
    min-height: 280px;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nk-cta__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../images/banners/gifing/Joy of Traditions.png') center/cover no-repeat;
    z-index: 1;
}

.nk-cta__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(88,29,17,0.85) 0%, rgba(88,29,17,0.4) 50%, rgba(88,29,17,0.85) 100%);
    z-index: 2;
}

.nk-cta__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.nk-cta__title {
    color: #fff;
    font-family: 'Quando', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: 0.02em;
    font-weight: 700;
}

.nk-cta__desc {
    color: #fff;
    max-width: 820px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
    font-family: Inter, sans-serif;
}

.nk-cta__btn-primary {
    background-color: #6c2719;
    border: 1px solid rgba(255,255,255,0.8);
    color: #fff !important;
    padding: 12px 42px;
    border-radius: 4px;
    font-weight: 600;
}

.nk-cta__btn-secondary {
    background-color: #fff;
    color: #6c2719 !important;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 700;
}

/* Mobile Overrides for CTA - Clean image banner */
@media (max-width: 576px) {
    .nk-cta {
        padding: 0 !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    .nk-cta__banner {
        min-height: 127px !important;
        border-radius: 0;
        margin: 0 -12px; /* Pull outside container padding if needed, or keep within */
    }
    .nk-cta__bg {
        background-image: url('../../images/banners/namkeen-page/phone-screen/Component 340.png') !important;
        background-position: center !important;
        background-size: cover !important;
        height: 127px;
    }
    .nk-cta__overlay,
    .nk-cta__content {
        display: none !important;
    }
    .nk-why.py-5.my-4 {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .nk-why .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    .nk-why-card {
        padding: 1.5rem !important;
    }
}
