/* ============================================================
   Lumina Spa — Luxury Purple Design System
   Palette: soft lavender / ivory / deep plum / champagne gold
   ============================================================ */
:root {
    --lavender: #D8C7E8;
    --ivory-lavender: #F5F0F8;
    --warm-white: #FCFAFD;
    --dusty-mauve: #B99ABD;
    --muted-purple: #A982B2;
    --deep-plum: #432747;
    --royal-purple: #6F4A7E;
    --gold: #D6B875;
    --gold-soft: #E6D3A3;

    --text: #3A2B3F;
    --text-soft: #6B5B70;
    --line: #EADFF0;

    --shadow-sm: 0 2px 10px rgba(67, 39, 71, .06);
    --shadow-md: 0 10px 30px rgba(67, 39, 71, .10);
    --shadow-lg: 0 24px 60px rgba(67, 39, 71, .16);

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;

    --font-head: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body: 'Jost', 'Inter', system-ui, -apple-system, sans-serif;

    --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--warm-white);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--deep-plum);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: .3px;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }

a { color: var(--royal-purple); text-decoration: none; transition: color .2s; }
a:hover { color: var(--deep-plum); }

p { color: var(--text-soft); }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 92px 0; }
.section--tint { background: var(--ivory-lavender); }
.section--plum { background: var(--deep-plum); }
.section--plum h2, .section--plum h3 { color: #fff; }
.section--plum p { color: rgba(255,255,255,.75); }

.eyebrow {
    display: inline-block;
    font-size: .78rem; letter-spacing: 3px; text-transform: uppercase;
    color: var(--muted-purple); font-weight: 600; margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { font-size: 1.05rem; }

.gold-rule { width: 60px; height: 2px; background: var(--gold); margin: 18px auto 0; border: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 30px; border-radius: 999px; font-family: var(--font-body);
    font-weight: 600; font-size: .92rem; letter-spacing: .6px; text-transform: uppercase;
    cursor: pointer; border: 1.5px solid transparent; transition: all .25s ease; white-space: nowrap;
}
.btn-primary { background: var(--deep-plum); color: #fff; }
.btn-primary:hover { background: var(--royal-purple); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--deep-plum); }
.btn-gold:hover { background: var(--gold-soft); color: var(--deep-plum); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--deep-plum); border-color: var(--dusty-mauve); }
.btn-outline:hover { border-color: var(--deep-plum); background: var(--deep-plum); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: #fff; color: var(--deep-plum); }
.btn-sm { padding: 9px 18px; font-size: .78rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Navbar ---------- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: rgba(252, 250, 253, .88); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--deep-plum); letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.brand span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--royal-purple); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--deep-plum); }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: 88vh; display: flex; align-items: center;
    background: linear-gradient(120deg, var(--ivory-lavender) 0%, var(--lavender) 100%);
    overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; right: -10%; top: -10%; width: 55%; height: 120%;
    background: radial-gradient(circle at center, rgba(214,184,117,.18), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 480px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero-badge {
    position: absolute; bottom: 26px; left: -26px; background: #fff; padding: 18px 24px;
    border-radius: var(--radius); box-shadow: var(--shadow-md); display: flex; gap: 12px; align-items: center;
}
.hero-badge .num { font-family: var(--font-head); font-size: 2rem; color: var(--deep-plum); font-weight: 700; }
.hero-badge small { color: var(--text-soft); }

/* ---------- Hero carousel (autoplay + prev/next) ---------- */
.hero-carousel {
    position: relative;
    min-height: 88vh;
    overflow: hidden;
    isolation: isolate; /* keep the scrim pseudo-element under the slide content but above the image */
    background: var(--ivory-lavender);
}
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    opacity: 0; visibility: hidden;
    transition: opacity .9s ease-in-out;
    z-index: 1;
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide__scrim {
    /* Purple-tinted gradient — keeps the site palette on top of any image and guarantees text contrast. */
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(46,20,60,.72) 0%, rgba(46,20,60,.35) 55%, rgba(46,20,60,.15) 100%);
}
.hero-slide__inner {
    position: relative;
    color: #fff;
    max-width: 620px;
    padding: 40px 0;
}
.hero-slide__eyebrow { color: var(--gold-soft); }
.hero-slide__headline {
    color: #fff;
    font-family: var(--font-head);
    margin-bottom: 20px;
    line-height: 1.15;
}
.hero-slide__lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-carousel__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5;
    transition: background .2s ease, transform .2s ease;
    backdrop-filter: blur(4px);
}
.hero-carousel__nav:hover { background: rgba(255, 255, 255, .32); transform: translateY(-50%) scale(1.05); }
.hero-carousel__nav i { font-size: 28px; }
.hero-carousel__nav--prev { left: 28px; }
.hero-carousel__nav--next { right: 28px; }

.hero-carousel__dots {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 5;
}
.hero-carousel__dot {
    width: 30px; height: 4px; border-radius: 2px;
    background: rgba(255, 255, 255, .4);
    border: 0; padding: 0; cursor: pointer;
    transition: background .25s ease, width .25s ease;
}
.hero-carousel__dot.is-active { background: var(--gold); width: 44px; }
.hero-carousel__dot:hover { background: rgba(255, 255, 255, .7); }

@media (max-width: 900px) {
    .hero-carousel { min-height: 72vh; }
    .hero-slide__headline { font-size: 2rem; }
    .hero-slide__lead { font-size: 1rem; }
    .hero-carousel__nav { width: 42px; height: 42px; }
    .hero-carousel__nav--prev { left: 12px; }
    .hero-carousel__nav--next { right: 12px; }
}

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-tag {
    position: absolute; top: 14px; left: 14px; background: rgba(67,39,71,.9); color: #fff;
    font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.card-tag.gold { background: var(--gold); color: var(--deep-plum); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-meta { display: flex; align-items: center; gap: 16px; color: var(--muted-purple); font-size: .86rem; margin: 6px 0 14px; }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-desc { font-size: .92rem; margin-bottom: 18px; flex: 1; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.price .now { font-family: var(--font-head); font-size: 1.5rem; color: var(--deep-plum); font-weight: 700; }
.price .was { color: var(--dusty-mauve); text-decoration: line-through; font-size: .95rem; }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.feature { text-align: center; padding: 30px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.feature .ic { width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 50%; background: var(--ivory-lavender); display: grid; place-items: center; color: var(--royal-purple); font-size: 1.6rem; }
.feature h3 { font-size: 1.15rem; }
.feature p { font-size: .9rem; margin: 0; }

/* ---------- Testimonials ---------- */
.quote { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px; }
.quote p { color: rgba(255,255,255,.9); font-style: italic; font-family: var(--font-head); font-size: 1.15rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .who img { width: 44px; height: 44px; border-radius: 50%; }
.quote .who strong { color: #fff; display: block; }
.quote .who small { color: var(--gold-soft); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.gallery img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: linear-gradient(120deg, var(--royal-purple), var(--deep-plum)); border-radius: var(--radius-lg); padding: 70px 30px; color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 520px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--deep-plum); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer a { color: rgba(255,255,255,.7); display: block; padding: 4px 0; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; text-align: center; font-size: .85rem; }

/* ---------- Badges / status ---------- */
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.badge-pending { background: #FFF4D6; color: #8A6D1B; }
.badge-confirmed { background: #E3EEDD; color: #3F6B2E; }
.badge-checkedin { background: #DDE9F5; color: #2E5B8A; }
.badge-inprogress { background: #E7DDF5; color: #5B3E8A; }
.badge-completed { background: #DFF3EA; color: #1F7A5A; }
.badge-cancelled { background: #F6DEDE; color: #8A2E2E; }
.badge-noshow { background: #ECECEC; color: #666; }
.badge-paid { background: #DFF3EA; color: #1F7A5A; }
.badge-unpaid { background: #F6E7DE; color: #8A552E; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--deep-plum); margin-bottom: 8px; }
.form-control, select.form-control, textarea.form-control {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .95rem; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: var(--muted-purple); box-shadow: 0 0 0 3px rgba(169,130,178,.15); }
.text-danger, .field-validation-error { color: #B4384E; font-size: .82rem; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; color: #B4384E; }

.auth-wrap { max-width: 440px; margin: 60px auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 44px; border: 1px solid var(--line); }
.auth-wrap h1 { font-size: 2rem; text-align: center; }
.auth-sub { text-align: center; margin-bottom: 30px; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: #DFF3EA; color: #1F7A5A; }
.alert-danger { background: #F6DEDE; color: #8A2E2E; }
.alert-info { background: var(--ivory-lavender); color: var(--royal-purple); }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(120deg, var(--ivory-lavender), var(--lavender)); padding: 70px 0; text-align: center; }
.page-hero p { max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: var(--muted-purple); margin-bottom: 10px; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.filter-bar button { padding: 9px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--text-soft); font-family: var(--font-body); font-weight: 500; cursor: pointer; transition: all .2s; }
.filter-bar button.active, .filter-bar button:hover { background: var(--deep-plum); color: #fff; border-color: var(--deep-plum); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:36px}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.muted { color: var(--text-soft); }
.hidden { display: none !important; }
.flex { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.gap-2 { gap: 16px; }

/* Empty / loading states */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-soft); }
.empty-state .ic { font-size: 3rem; color: var(--lavender); margin-bottom: 12px; }
.skeleton { background: linear-gradient(90deg, var(--ivory-lavender) 25%, #efe7f5 37%, var(--ivory-lavender) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.spinner { width: 22px; height: 22px; border: 3px solid var(--lavender); border-top-color: var(--deep-plum); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile sticky book button */
.mobile-book { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-3 { grid-template-columns: repeat(2,1fr); }
    .features { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-media { display: none; }
    .hero { min-height: auto; padding: 70px 0; }
}
@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2, .features, .footer-grid, .gallery { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .nav-links.open { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px; gap: 16px; box-shadow: var(--shadow-md); }
    .section { padding: 60px 0; }
    .mobile-book { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(252,250,253,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
    .mobile-book .btn { width: 100%; }
    body { padding-bottom: 76px; }
}
