/* ==========================================================================
   SwapnRaj — sections.css
   Per-section appearance: home/hero, products, story, benefits, recipes and
   contact. Loaded after components.css so section color overrides win.
   ========================================================================== */

/* SECTION: HOME */
.section-home {
    background: linear-gradient(180deg, var(--sand-light) 0%, var(--cream) 50%, var(--paper) 100%);
}
.section-home::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.hero-content { max-width: 560px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest-green);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--forest-green); }
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--kokum-deep);
    margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--kokum-brown); }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(107, 58, 42, 0.1);
    list-style: none;
}

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-product { position: relative; width: 100%; max-width: 400px; }
.hero-product__glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, var(--sand) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.5;
    animation: pulse 4s ease-in-out infinite;
}
.hero-product__image {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--warm-white);
    border-radius: 24px;
    display: grid;
    place-items: center;
    box-shadow: 0 40px 80px rgba(107, 58, 42, 0.15);
    overflow: hidden;
    transition: transform 0.5s;
}
.hero-product:hover .hero-product__image { transform: translateY(-10px) rotate(2deg); }
.hero-product__placeholder { text-align: center; padding: 0; width: 100%; height: 100%; display: grid; place-items: center; align-content: center; }
.hero-product__placeholder svg { width: 180px; height: auto; margin-bottom: 1rem; }
.hero-product__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    z-index: 2;
}
.hero-product__label {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--kokum-brown);
}
.hero-product__badge {
    position: absolute;
    top: 5%;
    right: -8%;
    width: 90px;
    height: 90px;
    background: var(--forest-green);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(45, 90, 61, 0.35);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

/* SECTION: PRODUCTS */
.section-products { background: var(--warm-white); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* SECTION: STORY */
.section-story { background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); }
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.story-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--cream) 100%);
    box-shadow: 0 30px 60px rgba(107, 58, 42, 0.1);
}
.story-image__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.story-image__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    padding: 3rem;
}
.story-image__placeholder svg { width: 120px; margin-bottom: 1.5rem; opacity: 0.5; }
.story-image__text { font-family: var(--font-display); font-size: 1.2rem; color: var(--kokum-brown); margin-bottom: 0.5rem; }
.story-image__hint { font-size: 0.8rem; color: var(--text-muted); }
.story-image__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2rem;
    background: linear-gradient(to top, rgba(74, 38, 24, 0.9), transparent);
    color: white;
}
.story-image__caption { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.story-content { max-width: 520px; }
.story-content .section-eyebrow {
    text-align: left;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(45, 90, 61, 0.08);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.story-content .section-title { text-align: left; margin-bottom: 1.5rem; }
.story-text { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.9; }
.story-list { list-style: none; margin-bottom: 2rem; }
.story-list li { display: flex; align-items: flex-start; gap: 1rem; padding: 0.75rem 0; }
.story-list__icon {
    width: 28px;
    height: 28px;
    background: var(--forest-green);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* SECTION: BENEFITS */
.section-benefits { background: var(--warm-white); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* SECTION: RECIPES */
.section-recipes { background: linear-gradient(135deg, var(--kokum-deep), var(--kokum-brown)); color: white; }
/* Testimonials sit on the base cream; FAQ gains the warm-white tint so the
   recipes → testimonials → faq → contact sequence keeps alternating tones. */
.section-faq { background: var(--warm-white); }
.section-recipes .section-eyebrow { color: var(--sand); }
.section-recipes .section-title { color: white; }
.section-recipes .section-title em { color: var(--sand-light); }
.section-recipes .section-desc { color: rgba(255, 255, 255, 0.8); }
.recipes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
/* .recipes-cta was retired: the "View All Recipes" promise led to the contact
   section rather than recipes, so both the button and this rule were removed. */

/* SECTION: CONTACT */
.section-contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-content { max-width: 480px; }
.contact-content .section-eyebrow,
.contact-content .section-title { text-align: left; }
.contact-info { margin-top: 2rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(107, 58, 42, 0.1);
}
.contact-item:last-child { border-bottom: none; }
.contact-item__icon {
    width: 48px;
    height: 48px;
    background: var(--paper);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-item__label { font-weight: 600; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-item__value { font-size: 1rem; color: var(--text); }
.contact-item__value a { color: var(--kokum-brown); text-decoration: none; display: block; }
.contact-item__value a:hover { text-decoration: underline; }
