/* --- Variables --- */
:root {
    --cream-bg: #fcf9e5;
    --sage-accent: #C0DFB7;
    --slate-primary: #757BBD;
    --pink-soft: #FBDBD5;
    --mint-light: #E4EEE9;
    --dark-ink: #1a1b1f;
    --footer-bg: #0F1219;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-ink);
    /* Footer background set on body so it shows when curtain lifts */
    background-color: var(--footer-bg); 
}

/* Typography Overrides */
.font-serif { font-family: var(--font-serif); }
.text-slate { color: var(--slate-primary); }
.text-sage { color: var(--sage-accent); }
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }

/* --- Navbar --- */
.frosted-nav {
    background: rgba(250, 244, 208, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
}

.brand-logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-ink);
}
.brand-logo .dot { color: var(--slate-primary); }

.nav-link {
    color: var(--dark-ink) !important;
    font-weight: 500;
    font-size: 0.95rem;
}
.nav-link:hover { color: var(--slate-primary) !important; }

.btn-nav {
    border: 1px solid var(--dark-ink);
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 500;
    transition: 0.3s;
}
.btn-nav:hover { background: var(--dark-ink); color: white; }

/* Custom Toggler */
.custom-toggler { border: none; font-size: 1.5rem; color: var(--dark-ink); }
.custom-toggler:focus { box-shadow: none; }

/* --- Main Wrapper (Curtain Effect) --- */
.main-wrapper {
    background-color: var(--cream-bg);
    position: relative;
    z-index: 10; /* Above footer */
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
    margin-bottom: 0; /* Will be set by JS */
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 18, 25, 0.9) 0%, rgba(15, 18, 25, 0.5) 50%, rgba(15, 18, 25, 0.1) 100%);
}

.hero-content { color: white; padding-top: 60px; }

.badge-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: var(--cream-bg);
    padding: 6px 18px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
    margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.2);
}

.hero-content h1 .italic-accent { color: var(--sage-accent); }

/* Custom Buttons */
.btn-primary-custom {
    background: var(--sage-accent); color: var(--dark-ink);
    border: 1px solid var(--sage-accent);
    border-radius: 50px; padding: 12px 30px; font-weight: 600;
}
.btn-primary-custom:hover { background: white; border-color: white; color: var(--dark-ink); }

.btn-outline-custom {
    background: transparent; border: 1px solid white; color: white;
    border-radius: 50px; padding: 12px 30px; font-weight: 600;
}
.btn-outline-custom:hover { background: white; color: var(--dark-ink); }

/* --- About --- */
.section-padding { padding: 100px 0; }

.exp-badge {
    position: absolute; bottom: -30px; right: -30px;
    background: var(--mint-light); padding: 30px;
    border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* --- Enhanced Expertise Cards --- */
.expertise-card {
    padding: 40px; border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer; position: relative; overflow: hidden;
}
.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}
.expertise-card:hover .arrow-anim {
    opacity: 1; transform: translate(3px, -3px);
}

.card-sage { background: var(--sage-accent); }
.card-pink { background: var(--pink-soft); }
.card-mint { background: var(--mint-light); }
.card-cream { background: #fdfaf0; border: 1px solid #eee; }

.icon-circle {
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}

.arrow-anim { transition: 0.3s; }

/* --- Testimonials --- */
.nav-btn {
    width: 50px; height: 50px; border-radius: 50%;
    border: 1px solid var(--dark-ink); background: transparent;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: 0.3s;
}
.nav-btn:hover { background: var(--slate-primary); border-color: var(--slate-primary); color: white; }

.review-card {
    position: absolute; top: 0; left: 0; width: 100%;
    opacity: 0; transform: translateX(50px);
    transition: 0.5s ease-out; pointer-events: none;
    background: white; padding: 40px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.review-card.active { opacity: 1; transform: translateX(0); pointer-events: all; }

/* --- Footer --- */
.hover-white:hover { color: white !important; }

/* --- Animations --- */
.reveal-text { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.reveal-up { opacity: 0; transform: translateY(40px); transition: 0.8s ease-out; }
.reveal-up.active { opacity: 1; transform: translateY(0); }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Mobile Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--cream-bg);
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .exp-badge { right: 0; bottom: -20px; }
}