/* =========================================
   CHAIR FEMMES THEME - INDEX PAGE
   ========================================= */

/* --- Font Definition --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

/* --- Global Variables --- */
:root {
    /* 1. Page Background: Warm Linen/Cream (Softer, sensual tone) */
    --bg-beige: #FAF6F0; 
    
    /* 2. Text Color: Softer Dark Brown (Less harsh than black) */
    --text-dark: #4A332A; 
    
    /* 3. Brand Primary: The vibrant Rust/Orange requested */
    --brand-primary: #d64d2e; 
    --brand-accent: #C47A65; /* Muted Terracotta for softer accents */
    
    /* 4. Dark Backgrounds (Footer, Banner): Warm Espresso */
    --bg-dark: #3A261F; 
    
    /* 5. Accents/Active States: Elegant Muted Gold */
    --brand-gold: #D4A373; 

    /* Glass Effects (Warmer Tint) */
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-bg: rgba(255, 248, 240, 0.15);
}

body {
    font-family: 'The Seasons', 'Playfair Display', serif;
    color: var(--text-dark); /* Keep your dark brown/espresso text! */
    margin: 0;
    padding: 0;
    
    /* The Magic: A warm beige gradient layered OVER the sexy image.
       Adjust the 0.85 (85% opacity) up or down depending on how 
       visible she wants the explicit photo underneath. 
    */
    background-image: 
        linear-gradient(rgba(250, 246, 240, 0.85), rgba(235, 220, 205, 0.90)),
        url('assets/images/bg.jpg'); /* Replace with her image */
        
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; /* Keeps the background locked while scrolling */
    /*background-blend-mode: luminosity;  or try 'screen' or 'soft-light' */
}

/* Subtle sensual texture overlay (Grain/Silk effect) */
.sensual-texture-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.05; 
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Soft shadows for images to feel like they are floating gently */
.shadow-soft {
    box-shadow: 0 15px 35px rgba(74, 51, 42, 0.1); 
}

/* Typography Utility */
.text-primary-brand {
    color: var(--brand-primary) !important;
}

/* --- The Outer Frame --- */
.outer-frame {
    padding: 0px 40px; 
    min-height: 100vh; 
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0px; 
    position: relative;
    z-index: 2;
}

/* --- Hero Container --- */
.hero-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px); 
    min-height: 550px; 
    border-radius: 30px;
    overflow: hidden;
    background: url('assets/images/IMG_5933.png') no-repeat center center;
    background-size: cover;
    color: white;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(58, 38, 31, 0.3); 
    z-index: 1;
}

.hero-container > * {
    position: relative;
    z-index: 2;
}


/* --- Floating Tags --- */
.floating-tags {
    position: absolute;
    top: 120px;
    left: 60px;
}

.glass-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    font-size: 0.85rem;
    font-weight: 400;
    cursor: default;
    font-family: 'Manrope', sans-serif; 
}

/* --- Top Right Info --- */
.top-right-info {
    position: absolute;
    top: 120px;
    right: 60px;
    line-height: 1.4;
}

/* --- Vertical Text --- */
.vertical-text {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 0.95rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* --- Hero Main Heading --- */
.hero-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
}

.hero-content h1 {
    font-size: 4.8rem;
    letter-spacing: -1px;
    line-height: 0.95;
    text-shadow: 0 4px 15px rgba(58, 38, 31, 0.4);
}

.hero-subtext {
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: 400;
    max-width: 450px;
    font-family: 'Manrope', sans-serif;
}

/* --- Scroll Icon --- */
.scroll-icon {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.scroll-icon:hover {
    background: rgba(255,255,255,0.2);
}

/* --- Glass Card --- */
.glass-card {
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 220px;
    padding: 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(58, 38, 31, 0.2);
}

.card-img-wrapper {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- About & Stats Section --- */
.heading-text {
    line-height: 1.3;
    font-size: 2.8rem;
    letter-spacing: -0.5px;
}

.fw-bolder {
    font-weight: 700 !important;
    color: var(--brand-accent);
}

.leading-relaxed {
    line-height: 1.8;
    font-size: 1.05rem;
    font-family: 'Manrope', sans-serif;
}

.more-link {
    font-size: 1rem;
    transition: opacity 0.3s;
    color: var(--brand-primary) !important; 
    border-color: var(--brand-primary) !important;
}
.more-link:hover {
    opacity: 0.7;
}

/* Images */
.img-wrapper-small {
    height: 350px;
    width: 100%;
}

.img-wrapper-small img, 
.img-wrapper-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-wrapper-large {
    height: 600px;
    width: 100%;
}

.img-wrapper-large img {
    width: 85%; 
    border-radius: 20px;
}

/* Stats */
.stat-number {
    font-size: 5rem;
    line-height: 1;
    color: var(--text-dark);
}

.stat-label {
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.8;
    margin-top: 15px;
    color: var(--brand-primary); /* Applied orange to stat labels */
    font-family: 'Manrope', sans-serif;
}

/* --- Services Section (Deep Espresso BG) --- */
.services-section {
    background-color: var(--bg-dark); 
    color: var(--bg-beige);
}

.nav-btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(250, 246, 240, 0.3);
    color: var(--bg-beige);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn-circle:hover {
    background: var(--brand-gold);
    color: var(--bg-dark);
    border-color: var(--brand-gold);
}

.services-scroller {
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.services-scroller::-webkit-scrollbar { display: none; }

.service-card {
    min-width: 320px;
    max-width: 320px;
    border-radius: 20px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.card-num {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-gold); 
    font-family: 'Manrope', sans-serif;
}

.card-title {
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.card-text {
    line-height: 1.7;
    font-family: 'Manrope', sans-serif;
}

/* Bordered Card */
.border-card {
    border: 1px solid rgba(250, 246, 240, 0.15);
    background: transparent;
}

/* Filled Card */
.filled-card {
    background-color: var(--brand-accent);
    border: 1px solid var(--brand-accent);
    box-shadow: 0 15px 35px rgba(196, 122, 101, 0.2);
}

/* --- Classes & Benefits Section --- */
.floating-info-card {
    background-color: var(--brand-accent);
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 280px;
    transform: rotate(-2deg);
    z-index: 2;
    font-family: 'Manrope', sans-serif;
}

.dot-white {
    width: 8px;
    height: 8px;
    background-color: var(--brand-gold); 
    border-radius: 50%;
}

/* Accordion */
.custom-accordion .accordion-button {
    font-size: 1.3rem;
    padding-left: 0;
    color: var(--text-dark);
    font-family: 'The Seasons', 'Playfair Display', serif;
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(24%) sepia(16%) saturate(1450%) hue-rotate(334deg) brightness(96%) contrast(85%); 
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

/* Center Yoga Image */
.center-yoga-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border: 5px solid var(--bg-beige);
}

.mandala-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Mandala_6.svg/1024px-Mandala_6.svg.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.05; 
    z-index: 1;
}

.benefit-item h5 {
    font-size: 1.3rem;
}
.benefit-item p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
}

/* --- Schedule & Feedback Section --- */
.tab-item {
    cursor: pointer;
    font-size: 1.1rem;
}
.tab-item.active {
    border-color: var(--brand-primary) !important; 
    color: var(--brand-primary);
}

.time-slot {
    transition: all 0.3s;
    cursor: pointer;
    border-color: rgba(74, 51, 42, 0.15) !important; 
    font-family: 'Manrope', sans-serif;
}

.active-slot {
    background-color: var(--brand-gold);
    border: 1px solid var(--brand-gold) !important;
}

.active-slot .text-white {
    color: var(--bg-dark) !important;
    font-weight: 700;
}

.time-slot:not(.active-slot):hover {
    background-color: rgba(196, 122, 101, 0.08); 
}

.ms-n2 {
    margin-left: -15px;
}

/* Testimonial Card */
.testimonial-card {
    background-color: var(--bg-dark);
    min-height: 400px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
}

.testimonial-card i {
    color: var(--brand-gold); 
}
/* --- Testimonial Carousel Indicators --- */
.testimonial-carousel .carousel-indicators {
    z-index: 15 !important; /* Forces the dots to sit on top of everything */
    display: flex !important;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background-color: var(--brand-accent) !important;
    border: none !important;
    opacity: 0.4 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

.testimonial-carousel .carousel-indicators .active {
    opacity: 1 !important;
    background-color: var(--brand-primary) !important;
    transform: scale(1.3) !important;
}
/* --- Video Section --- */
.video-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.play-btn-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.play-btn {
    width: 80px;
    height: 80px;
    background-color: var(--bg-beige);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-primary); /* Applied Orange */
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 10px rgba(214, 77, 46, 0.4),
                0 0 0 20px rgba(214, 77, 46, 0.15);
}

.play-btn:hover {
    background-color: var(--brand-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(214, 77, 46, 0.5),
                0 0 0 20px rgba(214, 77, 46, 0.25);
}

.watch-text {
    text-shadow: 0 2px 4px rgba(58, 38, 31, 0.5);
    font-family: 'Manrope', sans-serif;
}

/* Primary Action Buttons (Orange/Rust) */
.btn-primary-action {
    background-color: var(--brand-primary);
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-action:hover {
    background-color: #b83e22;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(214, 77, 46, 0.3);
}

.button-group-styled {
    position: relative;
    display: inline-flex;
}

/* =========================================
   MOBILE RESPONSIVENESS (PROFESSIONAL)
   ========================================= */

/* --- TABLETS & SMALL DESKTOPS (max-width: 991px) --- */
@media (max-width: 991px) {
    /* Layout Resets */
    .outer-frame { padding: 0; min-height: auto; }
    .hero-container { border-radius: 0; height: 85vh; min-height: 600px; }
    
    /* Clean up floating elements that clutter smaller screens */
    .floating-tags, 
    .vertical-text, 
    .top-right-info, 
    .glass-card, 
    .scroll-icon { 
        display: none; 
    }
    
    /* Center and adapt Hero Content */
    .hero-content { 
        left: 5%; 
        right: 5%; 
        bottom: 10%; 
        text-align: center; 
    }
    .hero-content h1 { font-size: 4rem; }
    .hero-subtext { margin: 15px auto 0; }

    /* Floating Info Card (About Section) */
    .floating-info-card {
        position: relative;
        bottom: auto;
        right: auto;
        transform: none;
        width: 100%;
        margin-top: -30px;
    }

    /* Prevent images from being too tall on tablets */
    .img-wrapper-large { height: 400px; }
    .img-wrapper-small { height: 350px; }

}
/* --- SMARTPHONES (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Fluid Typography */
    .heading-text { font-size: 2.2rem; }
    .hero-content h1 { font-size: 3rem; }
    .stat-number { font-size: 3.5rem; }
    
    /* Center Images & Mandalas constraint */
    .center-yoga-img { 
        width: 100%; 
        max-width: 280px; 
        height: auto; 
        aspect-ratio: 1 / 1; 
    }
    .mandala-bg { 
        width: 100%; 
        max-width: 320px; 
        height: 320px; 
    }

    /* Service Cards Scroller (Enable touch snapping) */
    .services-scroller { 
        padding-bottom: 20px; 
        scroll-snap-type: x mandatory; 
    }
    .service-card { 
        min-width: 280px; 
        scroll-snap-align: start; 
        padding: 25px;
    }

    /* Schedule Tabs (Scrollable without scrollbar) */
    .schedule-tabs { 
        overflow-x: auto; 
        white-space: nowrap; 
        padding-bottom: 5px; 
        scrollbar-width: none; 
    }
    .schedule-tabs::-webkit-scrollbar { display: none; }
    .tab-item { font-size: 1rem; }

    /* Buttons stacking for touch interfaces */
    .button-group-styled { 
        flex-direction: column; 
        width: 100%; 
        gap: 15px; 
    }
    .button-group-styled .btn { 
        width: 100%; 
        margin: 0 !important; 
    }

    /* Testimonials constraint */
    .testimonial-card { 
        padding: 30px 20px !important; 
        min-height: auto; 
    }
    .testimonial-card p.mb-4 { font-size: 1rem; }

    /* Testimonials constraint */
    .testimonial-card { 
        padding: 30px 20px !important; 
        min-height: 350px !important; /* Changed from auto to prevent collapsing */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .testimonial-card p.mb-4 { font-size: 1rem; }
}

/* --- SMALL PHONES (max-width: 480px) --- */
@media (max-width: 480px) {
    /* Extreme text shrinking to prevent word-breaks */
    .hero-content h1 { font-size: 2.2rem; }
    .heading-text { font-size: 1.8rem; }
    /* UI Element shrinking */
    .btn { padding: 10px 25px; font-size: 0.9rem; }
    .play-btn { width: 60px; height: 60px; font-size: 1.2rem; }
    .img-wrapper-small { height: 280px; }
}