/* ==========================================================================
   1. UTILITY CLASSES (Bypasses variable bugs in older editors)
   ========================================================================== */
.bg-espresso { background-color: #2b1a13; }  /* Dark espresso header background */
.bg-blush    { background-color: #fff0f3; }  /* Super soft pastel blush cards */
.bg-ivory    { background-color: #faf6f6; }  /* Warm ivory-pink panels */
.text-charcoal { color: #232533; }            /* Main body text */
.text-rose   { color: #b57c5d; }            /* Muted pink for links */

/* ==========================================================================
   2. CORE RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #232533; /* Hardcoded charcoal text */
    background-color: #ffffff;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #232533;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ACCESSIBILITY: Keyboard Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #e5989b;
    color: white;
    padding: 10px 20px;
    z-index: 9999;
}
.skip-link:focus {
    top: 0;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   3. COMPONENTS (Buttons & Headings)
   ========================================================================== */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* Elegant true blossom pink line indicator under section titles */
h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #e5989b;
    margin: 15px auto 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #FFD1DC;
    border: 1px solid #000000;
    color: #000000;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #ffffff;
    border: 1px solid #000000;
    color: black;
}

.btn-primary {
    background-color: #FFD1DC;
    color: black;
}

.btn-primary:hover {
    background-color: #ffffff;
    border-color: #000000;
    border: 1px solid #000000;
    color: black;
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
header {
    background-color: #333333; /* Hardcoded deep grey */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: #ffffff; 
}

nav a:hover, nav a[aria-current="page"] {
    color: #e5989b; /* Highlights in true cosmetic pink */
}

header .btn-primary {
    background-color: #FFD1DC;
    color: #000000;
    border-color: #000000;
}

header .btn-primary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #FFD1DC;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================= */
.hero-section {
    /* Slightly deepened the image gradient overlay tint to 25% opacity to help the white text pop */
    background: linear-gradient(rgba(43, 26, 19, 0.25), rgba(255, 240, 243, 0.25)), 
                url('../img/hero-bg.webp') no-repeat center center/cover;
    padding: 120px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffffff;
    /* Premium dual-layer shadow: tight contrast halo + soft background diffusion */
    text-shadow: 1px 1px 3px rgba(43, 26, 19, 0.6), 0 0 15px rgba(0, 0, 0, 0.3);
}

.sub-hero {
    font-size: 1.3rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    font-weight: 600;
    /* Soft shadow to keep the tracking clean and highly visible */
    text-shadow: 1px 1px 3px rgba(43, 26, 19, 0.6), 0 0 10px rgba(0, 0, 0, 0.2);
}

.hero-content p:not(.sub-hero) {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: #ffffff;
    font-weight: 500;
    /* Highly readable contrast shadow for the descriptive block text */
    text-shadow: 1px 1px 2px rgba(43, 26, 19, 0.7), 0 0 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}


/* ==========================================================================
   6. VALUE PROPOSITION (Features)
   ========================================================================== */
.features-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #fff0f3; /* Soft blush pink background card */
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #e5989b; /* True pink accent stripe */
    overflow: hidden; /* Clips image corners to match card curves */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px); /* Soft lift animation on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.card-image-wrapper {
    width: 100%;
    height: 200px; /* Forces uniform size across all 3 card images */
    overflow: hidden;
    background-color: #faf6f6;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops image centrally without stretching it squished */
    transition: all 0.5s ease;
}

.feature-card:hover .card-image-wrapper img {
    transform: scale(1.05); /* Gentle subtle zoom effect on image when hovered */
}

.card-content {
    padding: 30px 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: #232533;
}

.feature-card p {
    font-size: 0.95rem;
    color: #4a4e69;
    line-height: 1.5;
}


/* ==========================================================================
   7. POPULAR TREATMENTS
   ========================================================================== */
.treatments-summary {
    padding: 80px 0;
    /* Base soft pale blush pink color */
    background-color: #fff0f3; 
    
    /* REPLACED: Added a subtle CSS-only geometric pattern for high-end texture */
    background-image: 
        linear-gradient(45deg, #ffe3e8 25%, transparent 25%, transparent 75%, #ffe3e8 75%, #ffe3e8),
        linear-gradient(45deg, #ffe3e8 25%, transparent 25%, transparent 75%, #ffe3e8 75%, #ffe3e8);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.treatments-summary article {
    background-color: #ffffff; 
    padding: 30px;
    border-radius: 8px;
    border-bottom: 3px solid #e5989b; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.treatments-summary article:hover {
    transform: translateY(-5px); /* Slightly increased lift for better interactivity */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


/* ==========================================================================
   8. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

blockquote {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 5px solid var(--primary-pink-accent);
}

blockquote p {
    font-style: italic;
    margin-bottom: 15px;
}

cite {
    font-weight: 600;
    color: var(--primary-pink-dark);
    display: block;
}

/* ==========================================================================
   9. FOOTER SECTION
   ========================================================================== */
footer {
    background-color: #1a1a24; /* Outer shell stretches edge-to-edge in dark espresso */
    color: #e2eafc;
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    /* FIXED: Restricts footer content width and centers it with your main content layout */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    border-bottom: 1px solid #2d2d3a;
}

footer h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

footer address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 15px;
}

footer a:not(.btn) {
    color: #e5989b; /* Uses your signature cosmetic blossom pink */
}

footer a:not(.btn):hover {
    color: #ffffff;
}

.footer-hours p {
    margin-bottom: 10px;
}

.footer-action .btn {
    margin-bottom: 20px;
    width: 100%;
}

/* FIXED: Centers and confines the copyright sub-bar to match the layout grid */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 20px 0 20px;
    font-size: 0.9rem;
    color: #8d99ae;
}


/* ==========================================================================
   10. RESPONSIVE DESIGN (Mobile Adaptations)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}
/* ==========================================================================
   11. CONTACT SCREEN & SECURE FORM LAYOUT
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    background-color: #faf6f6; /* Soft warm pink environment background */
}

.form-layout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-details h1 {
    font-size: 2.5rem;
    color: #333333; /* Elegant espresso heading */
    margin-bottom: 20px;
}

.contact-details p {
    color: #333333;
    margin-bottom: 30px;
}

.info-block {
    margin-bottom: 25px;
}

.info-block h3 {
    font-size: 1.1rem;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.info-block h2 {
    font-size: 1.1rem;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-align: left; /* Explicitly forces left alignment */
}
/* Disables the centered pink underline effect for this specific heading */
.info-block h2::after {
    display: none; 
}

.info-block address, .phone-link {
    font-style: normal;
    font-size: 1.1rem;
    color: #232533;
}

.phone-link:hover {
    color: #e5989b;
}

/* Form Container Style Card */
.form-wrapper {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border-top: 4px solid #e5989b;
}

.form-wrapper h2 {
    text-align: left;
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.form-wrapper h2::after {
    margin: 10px 0 0 0; /* Align accent bar to the left under heading */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #232533;
}

.form-group input, .form-group textarea {
    width: 100%;
    /* INCREASED: More breathing room inside fields for a premium feel */
    padding: 14px 18px; 
    border: 1px solid #e2eafc;
    background-color: #faf6f6;
    border-radius: 6px;
    font-family: inherit;
    /* FIXED: Changed from 1px to a highly readable, accessible 1rem (16px) */
    font-size: 1rem; 
    color: #232533; /* Dark crisp charcoal text color */
    transition: all 0.3s ease;
}

/* FIXED: Gives the multi-line message box a much larger default height */
.form-group textarea {
    min-height: 180px; 
    resize: vertical; /* Allows the client to scale it larger vertically if needed */
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #e5989b;
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(229, 152, 155, 0.2);
    /* Ensures text size stays stable during user focus */
    font-size: 1rem; 
}


.submit-btn {
    width: 100%;
    padding: 14px;
}

/* Responsive collapse rules for tablets and smartphones */
@media (max-width: 768px) {
    .form-layout-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-wrapper {
        padding: 25px 20px;
    }
}
/* ==========================================================================
   12. VISUAL FEEDBACK & SECURITY CAPTCHA EXTENSIONS
   ========================================================================== */
.alert {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Math Verification Alignment Block */
.captcha-box-layout {
    display: flex;
    align-items: center;
    gap: 15px;
}

.captcha-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b1a13; /* Elegant espresso matching the header */
    white-space: nowrap;
    background-color: #ffe3e8; /* Soft blush framing background */
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px dashed #e5989b;
}

.captcha-box-layout input {
    max-width: 130px;
}
/* ==========================================================================
   13. LIGHTWEIGHT FAQ ACCORDION COMPONENT
   ========================================================================== */
.faq-container {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 2px dashed #e5989b; /* Elegant brand divider line */
}

.faq-container h2 {
    text-align: left;
    font-size: 1.5rem;
    color: #2b1a13;
    margin-bottom: 25px;
}

.faq-container h2::after {
    margin: 10px 0 0 0; /* Left-align the title accent bar */
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e2eafc;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* The clickable heading bar */
.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    color: #232533;
    cursor: pointer;
    list-style: none; /* Removes standard default browser marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* Custom indicator arrow using pure CSS */
.faq-item summary::after {
    content: '❯';
    font-size: 0.8rem;
    color: #b57c5d;
    transition: transform 0.3s ease;
}

.faq-item summary:hover {
    background-color: #fff0f3; /* Soft pink brand tint on hover */
    color: #b57c5d;
}

/* When the accordion item is active/opened */
.faq-item[open] {
    border-color: #e5989b;
    box-shadow: 0 4px 15px rgba(229, 152, 155, 0.1);
}

.faq-item[open] summary {
    background-color: #fff0f3;
    border-bottom: 1px solid #e5989b;
}

/* Rotate the indicator arrow downward smoothly when opened */
.faq-item[open] summary::after {
    transform: rotate(90deg);
    color: #e5989b;
}

/* Inner answer text block padding */
.faq-answer {
    padding: 20px;
    background-color: #ffffff;
    font-size: 0.95rem;
    color: #4a4e69;
    line-height: 1.6;
}
/* ==========================================================================
   14. TREATMENTS SHOWCASE COMPONENT & ALTERNATING LAYOUT GRID
   ========================================================================== */
.inner-hero-section {
    background: linear-gradient(rgba(43, 26, 19, 0.4), rgba(43, 26, 19, 0.4)), 
                url('../img/hero-bg.webp') no-repeat center center/cover;
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.inner-hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 5px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.treatments-detail-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.treatments-showcase-grid {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Generous clean separation space between rows */
    max-width: 1100px;
    margin: 0 auto;
}

.treatment-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Creates the elegant geometric alternate mirroring effect */
.treatment-detail-card.reverse-layout {
    direction: rtl; 
}
.treatment-detail-card.reverse-layout .treatment-text-box {
    direction: ltr; /* Keeps reading layout flowing left-to-right */
}

.treatment-img-box {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background-color: #faf6f6;
}

.treatment-img-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 550 / 350; /* Add this exact line here */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.treatment-detail-card:hover .treatment-img-box img {
    transform: scale(1.03); /* Subtle premium swell animation */
}

.treatment-text-box h2 {
    text-align: left;
    font-size: 1.8rem;
    color: #2b1a13;
    margin-bottom: 15px;
}

.treatment-text-box h2::after {
    margin: 10px 0 0 0; /* Align lines left under row headers */
}

.treatment-text-box p {
    color: #4a4e69;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.price-indicator {
    display: inline-block;
    background-color: #fff0f3;
    color: #333333;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 3px solid #e5989b;
}

/* Bottom Page Navigation Redirect Banner */
.treatment-cta-banner {
    margin-top: 80px;
    background-color: #faf6f6;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #fff0f3;
}

.treatment-cta-banner p {
    font-size: 1.2rem;
    color: #232533;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Responsive Collapse Rules for Smartphones and Tablets */
@media (max-width: 768px) {
    .treatment-detail-card, .treatment-detail-card.reverse-layout {
        grid-template-columns: 1fr;
        gap: 25px;
        direction: ltr;
    }
    .inner-hero-section h1 { font-size: 2.2rem; }
    .treatment-text-box h2 { font-size: 1.5rem; }
}
/* ==========================================================================
   15. PRICE MENU TABLES & ALIGNMENT SHAPES
   ========================================================================== */
.menu-max-width {
    max-width: 900px; /* Kept tight to look like an elegant physical salon menu */
    margin: 0 auto;
}

.price-menu-section {
    padding: 80px 0;
    background-color: #faf6f6; /* Warm pink tone background */
}

.menu-category-block {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 40px;
    border-top: 3px solid #e5989b;
}

.menu-category-block h2 {
    text-align: left;
    font-size: 1.6rem;
    color: #2b1a13;
    margin-bottom: 10px;
}

.menu-category-block h2::after {
    margin: 8px 0 0 0; /* Left align accents */
}

.category-intro {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 25px;
    line-height: 1.5;
}

.price-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Flex layout pushing service title left, price token right */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #232533;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2eafc; /* Dotted line menu aesthetic */
}

.price-value {
    color: #333333;
    font-weight: 700;
    white-space: nowrap;
}

/* Nested structural layout handles sub-step text descriptions cleanly */
.nested-service {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nested-service small {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
    line-height: 1.4;
    font-weight: 400;
}

/* Desktop split display for dual column components (Waxing + Brows) */
.split-beauty-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Smartphone adaptations collapsing column counts down */
@media (max-width: 768px) {
    .split-beauty-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .menu-category-block {
        padding: 25px 20px;
    }
    .price-row {
        font-size: 0.95rem;
    }
}
/* ==========================================================================
   16. ABOUT US PAGE PROFILE LAYOUT
   ========================================================================== */
.about-biography-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.profile-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.profile-text-column h2 {
    text-align: left;
    font-size: 2rem;
    color: #2b1a13;
    margin-bottom: 20px;
}

.profile-text-column h2::after {
    margin: 10px 0 0 0;
}

.profile-text-column p {
    font-size: 1.05rem;
    color: #4a4e69;
    line-height: 1.7;
    margin-bottom: 20px;
}

.practitioner-highlight {
    background-color: #fff0f3;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #e5989b;
    margin-top: 35px;
}

.practitioner-highlight h3 {
    font-size: 1.3rem;
    color: #2b1a13;
    margin-bottom: 10px;
}

.practitioner-highlight p {
    margin-bottom: 0;
    font-style: italic;
    color: #232533;
}
