/* =========================================
   1. SHARED FONT ASSETS
   ========================================= */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../../../assets/fonts/fa-brands-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('../../../assets/fonts/fa-solid-900.woff2') format('woff2');
}

.fa, .fas, .far, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.fab { font-family: 'Font Awesome 6 Brands'; font-weight: 400; }
.fas, .fa-solid { font-family: 'Font Awesome 6 Free'; font-weight: 900; }

/* Icon Mappings */
.fa-whatsapp:before { content: "\f232"; }
.fa-check:before { content: "\f00c"; }
.fa-times:before { content: "\f00d"; }
.fa-plus:before { content: "\f067"; }
.fa-trash-alt:before { content: "\f2ed"; }
.fa-gem:before { content: "\f3a5"; }

/* =========================================
   2. LUMIÈRE BEAUTY STYLES
   ========================================= */

:root {
    --rose-gold: #d4a5a5;
    --rose-dark: #b58585;
    --charcoal: #1f1f1f;
    --soft-bg: #fdfbfb;
}

body { 
    font-family: system-ui, -apple-system, sans-serif; 
    background-color: var(--soft-bg); 
    color: var(--charcoal); 
}

h1, h2, h3, h4 { 
    font-family: "Playfair Display", "Times New Roman", serif; 
    font-weight: 700;
}

/* Header & Parallax */
.header-bg {
    height: 40vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 160px; height: 160px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--rose-gold);
    padding: 20px;
}

/* Nav Tabs */
.nav-scroll {
    display: flex; gap: 1rem; overflow-x: auto; padding: 1rem;
    scrollbar-width: none; justify-content: center;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    position: sticky; top: 0; z-index: 40;
}
.nav-scroll::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    transition: all 0.3s;
    white-space: nowrap;
}
.tab-btn.active {
    background: var(--charcoal);
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Service Cards */
.service-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.service-card:active { transform: scale(0.98); }

.card-img {
    height: 180px; width: 100%; object-fit: cover;
    filter: brightness(0.95);
}

.add-btn {
    width: 35px; height: 35px;
    border-radius: 50%;
    border: 1px solid var(--rose-gold);
    color: var(--rose-gold);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.service-card.selected .add-btn {
    background: var(--rose-gold);
    color: white;
    transform: rotate(45deg);
}
.service-card.selected { border-color: var(--rose-gold); }

/* ... existing code ... */

/* =========================================
   3. FIXED OVERLAYS (Welcome & Modal)
   ========================================= */

#welcomeScreen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%; /* Full screen cover */
    z-index: 9999; /* Higher than everything else */
    background-color: #ffffff;
    
    /* FLEXBOX FIX */
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    align-items: center;
    justify-content: center;
    
    text-align: center;
    padding: 2rem;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#welcomeScreen.fade-out {
    opacity: 0;
    visibility: hidden;
}

#successScreen {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: #fff; text-align: center;
    padding: 2rem;
}

.hidden { display: none !important; }

/* ... keep the rest of your CSS (Cart Modal, etc.) ... */
.fade-out { opacity: 0; pointer-events: none; }

/* Cart Modal */
#cartModal {
    position: fixed; inset: 0; z-index: 45;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex; align-items: flex-end; /* Mobile Bottom Sheet feel */
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
#cartModal.open { opacity: 1; pointer-events: auto; }
#cartModal.open .modal-content { transform: translateY(0); }

.modal-content {
    background: white;
    width: 100%; max-width: 600px;
    margin: 0 auto;
    border-radius: 25px 25px 0 0;
    padding: 2rem;
    max-height: 90vh; overflow-y: auto;
    transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@media(min-width: 640px) {
    #cartModal { align-items: center; }
    .modal-content { border-radius: 25px; transform: translateY(20px); }
    #cartModal.open .modal-content { transform: translateY(0); }
}

/* Toast */
#toast {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-100px);
    background: var(--charcoal); color: white;
    padding: 12px 24px; border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 100; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; align-items: center; gap: 10px; font-size: 0.9rem;
}
#toast.show { transform: translateX(-50%) translateY(0); }