/**
 * ==============================================================================
 * Shamaa Wellness - Dedicated Page Stylesheet
 * SS Healing Rays - The Yoga & Mindful Movement Center
 * ==============================================================================
 */

/* --------------------------------------------------------------------------
   1. Wellness Hero Banner Customization
   -------------------------------------------------------------------------- */
.wellness-hero-section {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d0d1e;
    overflow: hidden;
    padding: 140px 0 100px;
}

.wellness-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    z-index: 1;
    transform: scale(1.02);
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wellness-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 30, 0.65) 0%,
        rgba(13, 13, 30, 0.55) 50%,
        rgba(13, 13, 30, 0.88) 100%
    );
    z-index: 2;
}

.wellness-hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
}

.wellness-hero-title {
    font-family: var(--brand-font-marcellus, 'Marcellus', serif);
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 400;
    line-height: 1.22;
    color: #ffffff;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.wellness-hero-title .banner-title-line {
    display: block;
}

.wellness-hero-title em {
    font-family: var(--brand-font-playfair, 'Playfair Display', serif);
    font-style: italic;
    font-weight: 600;
    color: #ffdfba;
}

.wellness-hero-subtitle {
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 760px;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.wellness-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    font-family: var(--brand-font-display, 'Outfit', sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffdfba;
    margin-bottom: 1.25rem;
}

.wellness-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-wellness-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 32px;
    background: linear-gradient(135deg, #ba436c 0%, #8b2b4e 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 50px;
    font-family: var(--brand-font-display, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 8px 24px -4px rgba(186, 67, 108, 0.45);
    transition: all 0.3s ease;
}

.btn-wellness-demo:hover {
    background: linear-gradient(135deg, #a1355b 0%, #762241 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(186, 67, 108, 0.6);
    color: #ffffff !important;
}

.btn-wellness-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    font-family: var(--brand-font-display, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-wellness-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   2. Philosophy / About Shamaa Section
   -------------------------------------------------------------------------- */
.wellness-about-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.wellness-pretitle {
    font-family: var(--brand-font-display, 'Outfit', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color, #ba436c);
    margin-bottom: 0.75rem;
}

.wellness-heading {
    font-family: var(--brand-font-marcellus, 'Marcellus', serif);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--heading-color, #111133);
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}

.wellness-heading em {
    font-family: var(--brand-font-playfair, 'Playfair Display', serif);
    font-style: italic;
    color: var(--secondary-color, #ba436c);
}

.wellness-text {
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: 1.05rem;
    line-height: 1.85;
    color: #4b5563;
    margin-bottom: 1.25rem;
}

.wellness-feature-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2rem;
}

.wellness-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #faf9f7;
    border: 1px solid rgba(186, 67, 108, 0.15);
    border-radius: 50px;
    font-family: var(--brand-font-display, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heading-color, #111133);
    transition: all 0.25s ease;
}

.wellness-chip i {
    color: var(--secondary-color, #ba436c);
    font-size: 1rem;
}

.wellness-chip:hover {
    background: #ffffff;
    border-color: var(--secondary-color, #ba436c);
    box-shadow: 0 6px 18px -4px rgba(186, 67, 108, 0.18);
    transform: translateY(-2px);
}

.wellness-media-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(17, 17, 51, 0.12);
}

.wellness-media-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    transition: transform 0.8s ease;
}

.wellness-media-frame:hover .wellness-media-img {
    transform: scale(1.03);
}

.wellness-floating-pill {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px -4px rgba(17, 17, 51, 0.15);
    border: 1px solid rgba(186, 67, 108, 0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.wellness-floating-pill .pill-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(186, 67, 108, 0.12);
    color: var(--secondary-color, #ba436c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.wellness-floating-pill .pill-text strong {
    display: block;
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--heading-color, #111133);
    line-height: 1.2;
}

.wellness-floating-pill .pill-text small {
    display: block;
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: 0.72rem;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   3. Modalities / Offerings Cards Grid
   -------------------------------------------------------------------------- */
.wellness-offerings-section {
    padding: 100px 0;
    background: #faf9f7;
    position: relative;
}

.wellness-card {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 51, 0.08);
    border-radius: 20px;
    padding: 36px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px -10px rgba(17, 17, 51, 0.05);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wellness-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ba436c, #e69c24);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.wellness-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(186, 67, 108, 0.16);
    border-color: rgba(186, 67, 108, 0.25);
}

.wellness-card:hover::before {
    opacity: 1;
}

.wellness-card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(186, 67, 108, 0.1) 0%, rgba(230, 156, 36, 0.1) 100%);
    color: var(--secondary-color, #ba436c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 22px;
    transition: all 0.35s ease;
}

.wellness-card:hover .wellness-card-icon {
    background: linear-gradient(135deg, #ba436c 0%, #8b2b4e 100%);
    color: #ffffff;
    transform: scale(1.08) rotate(-3deg);
}

.wellness-card-title {
    font-family: var(--brand-font-marcellus, 'Marcellus', serif);
    font-size: 1.35rem;
    color: var(--heading-color, #111133);
    margin-bottom: 14px;
    font-weight: 400;
}

.wellness-card-desc {
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 0;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   4. Sanctuary Space Showcase (Reversed Left Image / Right Content)
   -------------------------------------------------------------------------- */
.wellness-space-section {
    padding: 100px 0;
    background: #ffffff;
}

.wellness-checklist {
    list-style: none;
    padding: 0;
    margin: 2rem 0 2.25rem;
}

.wellness-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: 1rem;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 1rem;
}

.wellness-checklist li i {
    color: var(--secondary-color, #ba436c);
    font-size: 1.15rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. Transformation Pillars (4 Pillars)
   -------------------------------------------------------------------------- */
.wellness-pillars-section {
    padding: 100px 0;
    background: #111133;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.wellness-pillars-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(186, 67, 108, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.wellness-pillar-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 32px 26px;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s ease;
}

.wellness-pillar-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 223, 186, 0.4);
    transform: translateY(-4px);
}

.wellness-pillar-num {
    font-family: var(--brand-font-display, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffdfba;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.wellness-pillar-title {
    font-family: var(--brand-font-marcellus, 'Marcellus', serif);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 12px;
}

.wellness-pillar-desc {
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   6. Wellness FAQ Accordion
   -------------------------------------------------------------------------- */
.wellness-faq-section {
    padding: 100px 0;
    background: #faf9f7;
}

.wellness-accordion .accordion-item {
    background: #ffffff;
    border: 1px solid rgba(17, 17, 51, 0.09);
    border-radius: 16px !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px -3px rgba(17, 17, 51, 0.03);
    transition: all 0.3s ease;
}

.wellness-accordion .accordion-item:hover {
    border-color: rgba(186, 67, 108, 0.3);
    box-shadow: 0 8px 25px -4px rgba(186, 67, 108, 0.1);
}

.wellness-accordion .accordion-button {
    font-family: var(--brand-font-marcellus, 'Marcellus', serif);
    font-size: 1.15rem;
    color: var(--heading-color, #111133);
    background: #ffffff;
    padding: 22px 28px;
    box-shadow: none !important;
}

.wellness-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary-color, #ba436c);
    background: #faf9f7;
}

.wellness-accordion .accordion-body {
    font-family: var(--brand-font-sans, 'Lato', sans-serif);
    font-size: 0.98rem;
    line-height: 1.8;
    color: #4b5563;
    padding: 22px 28px 26px;
    background: #ffffff;
}

/* --------------------------------------------------------------------------
   7. Bottom CTA Banner
   -------------------------------------------------------------------------- */
.wellness-cta-section {
    position: relative;
    padding: 110px 0;
    background: #0d0d1e;
    overflow: hidden;
    color: #ffffff;
}

.wellness-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.35;
}

.wellness-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 13, 30, 0.8) 0%,
        rgba(13, 13, 30, 0.92) 100%
    );
    z-index: 2;
}

.wellness-cta-content {
    position: relative;
    z-index: 3;
}

/* --------------------------------------------------------------------------
   8. Mobile Strict 20px Left/Right Padding & Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    /* Apply strict 20px uniform horizontal padding to all sections on mobile */
    body.page-wellness section,
    .page-wellness section,
    #wellnessHeroBanner,
    #wellnessAbout,
    #wellnessOfferings,
    #wellnessSpace,
    #wellnessPillars,
    #wellnessFaq,
    #wellnessCta {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Zero out container gutters so sections have exact 20px edge margin */
    body.page-wellness section > .container,
    .page-wellness section > .container,
    #wellnessHeroBanner > .container,
    #wellnessAbout > .container,
    #wellnessOfferings > .container,
    #wellnessSpace > .container,
    #wellnessPillars > .container,
    #wellnessFaq > .container,
    #wellnessCta > .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Normalize row margins to prevent horizontal overflow */
    body.page-wellness section .row,
    .page-wellness section .row,
    #wellnessHeroBanner .row,
    #wellnessAbout .row,
    #wellnessOfferings .row,
    #wellnessSpace .row,
    #wellnessPillars .row,
    #wellnessFaq .row,
    #wellnessCta .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.page-wellness section .row > [class*="col-"],
    .page-wellness section .row > [class*="col-"],
    #wellnessHeroBanner .row > [class*="col-"],
    #wellnessAbout .row > [class*="col-"],
    #wellnessOfferings .row > [class*="col-"],
    #wellnessSpace .row > [class*="col-"],
    #wellnessPillars .row > [class*="col-"],
    #wellnessFaq .row > [class*="col-"],
    #wellnessCta .row > [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .wellness-hero-section {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .wellness-hero-title {
        font-size: clamp(1.45rem, 5.2vw, 1.95rem);
    }

    .wellness-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-wellness-demo,
    .btn-wellness-outline {
        width: auto !important;
        min-width: 260px;
        text-align: center;
    }

    .wellness-about-section,
    .wellness-offerings-section,
    .wellness-space-section,
    .wellness-pillars-section,
    .wellness-faq-section,
    .wellness-cta-section {
        padding: 70px 0;
    }

    .wellness-media-frame {
        margin-top: 2rem;
    }
}

