/* ═══════════════════════════════════════════════════════════
   Spa Body N Beyond — Premium Elegant Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
    --purple-deep:   #3B1F5E;
    --purple:        #5B2E8E;
    --purple-mid:    #7B4FAF;
    --orchid:        #B892D9;
    --orchid-light:  #D4B8E8;
    --lavender:      #EDE0F5;
    --cream:         #FDF8F0;
    --cream-dark:    #F5EDE0;
    --gold:          #C9A84C;
    --gold-light:    #E0C97A;
    --charcoal:      #2C2C2C;
    --text:          #3A3A3A;
    --text-light:    #6B6B6B;
    --white:         #FFFFFF;
    --radius:        8px;
    --radius-lg:     16px;
    --shadow:        0 4px 24px rgba(59,31,94,.10);
    --shadow-lg:     0 12px 48px rgba(59,31,94,.14);
    --transition:    .3s cubic-bezier(.4,0,.2,1);
    --font-display:  'Cormorant Garamond', Georgia, serif;
    --font-body:     'Jost', 'Segoe UI', sans-serif;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orchid); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--charcoal); }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--lavender); }
.section-dark { background: var(--purple-deep); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header .accent-line { display: block; width: 60px; height: 3px; background: var(--gold); margin: .75rem auto 0; border-radius: 2px; }
.section-header p { margin: 1rem auto 0; color: var(--text-light); font-size: 1.05rem; }
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.revealed { opacity: 1; transform: translateY(0); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 2rem; font-family: var(--font-body); font-weight: 500; font-size: .95rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: all var(--transition); text-align: center; justify-content: center; }
.btn-primary { background: var(--purple); color: var(--white); border-color: var(--purple); }
.btn-primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: var(--white); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-sm { padding: .5rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(253,248,240,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(91,46,142,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: .75rem 1.5rem; }
.logo { display: flex; align-items: center; gap: .5rem; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--purple-deep); letter-spacing: -.02em; }
.logo-orchid { flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; padding: .5rem; cursor: pointer; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 24px; height: 2px; background: var(--purple-deep); border-radius: 2px; transition: all var(--transition); position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.nav-list { display: flex; gap: .25rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 50%, var(--purple-mid) 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(184,146,217,.2) 0%, transparent 60%), radial-gradient(ellipse at 70% 80%, rgba(201,168,76,.12) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 1; padding: 4rem 1.5rem; max-width: 800px; }
.hero-content h1 { color: var(--white); margin-bottom: 1.5rem; font-weight: 700; letter-spacing: -.02em; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.hero-content p { color: var(--orchid-light); font-size: clamp(1.05rem,2vw,1.25rem); margin: 0 auto 2rem; max-width: 60ch; line-height: 1.8; }
.hero-content .btn { margin: .5rem; }
.hero-orchid { position: absolute; opacity: .12; }
.hero-orchid svg { width: 300px; height: 300px; fill: var(--orchid-light); }
.hero-orchid.left { top: -50px; left: -80px; transform: rotate(-20deg); }
.hero-orchid.right { bottom: -60px; right: -100px; transform: rotate(15deg); }

/* ── Cards ───────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-accent { border-top: 4px solid var(--purple); }
.card-icon { width: 48px; height: 48px; background: var(--lavender); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--purple); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-light); font-size: .95rem; }

/* ── Service Cards ───────────────────────────────────────── */
.service-cat { margin-bottom: 3.5rem; }
.service-cat h2 { margin-bottom: 1.5rem; text-align: center; }
.service-item { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem 2rem; box-shadow: var(--shadow); border-left: 4px solid var(--orchid); transition: all var(--transition); }
.service-item:hover { box-shadow: var(--shadow-lg); border-left-color: var(--purple); }
.service-item h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.service-item .desc { color: var(--text-light); font-size: .92rem; margin-bottom: .75rem; }
.price-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.price-chip { display: inline-block; background: var(--lavender); color: var(--purple-deep); padding: .3rem .8rem; border-radius: 100px; font-size: .82rem; font-weight: 500; white-space: nowrap; }
.price-note { font-style: italic; color: var(--gold); font-size: .8rem; font-weight: 500; }
.price-inquiry { color: var(--purple-mid); font-style: italic; font-size: .9rem; }

/* ── Forms ───────────────────────────────────────────────── */
.form-grid { display: grid; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 500; font-size: .9rem; margin-bottom: .35rem; color: var(--charcoal); }
.form-group label .req { color: var(--purple-mid); }
.form-group input, .form-group textarea, .form-group select { padding: .75rem 1rem; border: 1.5px solid var(--orchid-light); border-radius: var(--radius); font-family: var(--font-body); font-size: .95rem; color: var(--text); background: var(--white); transition: border-color var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px rgba(91,46,142,.12); }
.form-group input.invalid, .form-group textarea.invalid { border-color: #C0392B; }
.field-error { color: #C0392B; font-size: .8rem; margin-top: .25rem; min-height: 1.1em; }
.form-notice { background: var(--lavender); border: 1px solid var(--orchid); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: .9rem; color: var(--purple); margin-bottom: 1.5rem; }
.form-success { background: #E8F5E9; border-color: #4CAF50; color: #2E7D32; }
.form-error { background: #FFEBEE; border-color: #E53935; color: #C62828; }

.nav-link { padding: .4rem .65rem; font-size: .88rem; font-weight: 500; color: var(--text); border-radius: var(--radius); transition: all var(--transition); letter-spacing: .02em; text-transform: uppercase; }
.nav-link:hover, .nav-link.active { color: var(--purple); background: var(--lavender); }
.nav-cta { display: flex; gap: .5rem; margin-left: .5rem; }


/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--purple-deep); color: var(--orchid-light); padding: 4rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 3rem; }
.footer-col h3 { color: var(--gold); font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .75rem; }
.footer-col ul li { margin-bottom: .4rem; font-size: .9rem; }
.footer-col a { color: var(--orchid-light); transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-brand .logo-text { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--white); display: block; margin-bottom: .5rem; }
.footer-tagline { font-size: .9rem; color: var(--orchid); margin-bottom: 1rem; }
.footer-loc { font-size: .88rem; margin-top: .75rem; color: var(--orchid); }
.social-links { display: flex; gap: .75rem; }
.social-links a { color: var(--orchid-light); transition: color var(--transition); }
.social-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; font-size: .8rem; }
.price-disclaimer { font-style: italic; opacity: .7; }

/* ── Page Specific ───────────────────────────────────────── */
.page-header { background: linear-gradient(135deg, var(--purple-deep), var(--purple)); padding: 4rem 1.5rem; text-align: center; }
.page-header h1 { color: var(--white); margin-bottom: .5rem; }
.page-header p { color: var(--orchid-light); font-size: 1.1rem; max-width: 60ch; margin: 0 auto; }

/* About */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }

/* Training */
.course-card { text-align: center; }
.course-card .course-img-placeholder { background: var(--lavender); border-radius: var(--radius-lg); height: 200px; display: flex; align-items: center; justify-content: center; color: var(--purple-mid); font-style: italic; margin-bottom: 1.25rem; }
.course-card h3 { margin-bottom: .5rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.gallery-item { background: var(--lavender); border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--purple-mid); font-style: italic; font-size: .9rem; overflow: hidden; cursor: pointer; transition: transform var(--transition); }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* Products */
.product-card { text-align: center; }
.product-img-placeholder { background: var(--cream-dark); border-radius: var(--radius-lg); height: 220px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-style: italic; margin-bottom: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-item { margin-bottom: 1.5rem; }
.contact-info-item h3 { color: var(--purple); margin-bottom: .35rem; font-size: 1.1rem; }
.contact-info-item p, .contact-info-item a { color: var(--text); font-size: .95rem; }

/* FAQ */
.faq-item { background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1rem; box-shadow: 0 2px 8px rgba(59,31,94,.06); }
.faq-item h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.faq-item p { color: var(--text-light); font-size: .92rem; }

/* Payment */
.payment-redirect { text-align: center; padding: 3rem 0; }
.payment-redirect .btn { margin-top: 1.5rem; }

/* Outdoor inquiry */
.outdoor-highlight { background: linear-gradient(135deg, var(--purple-mid), var(--orchid)); border-radius: var(--radius-lg); padding: 2rem; color: var(--white); text-align: center; margin-bottom: 2rem; }
.outdoor-highlight h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .5rem; }

/* Appointment form */
.appt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.appt-grid .form-group.full { grid-column: 1 / -1; }

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
p { max-width: 68ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--purple); color: var(--white); padding: .5rem 1rem; border-radius: var(--radius); z-index: 1000; font-weight: 500; }
.skip-link:focus { top: 1rem; }

/* ── Premium Animations & Effects ─────────────────────────── */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floatOrchid {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-15px) rotate(var(--rot, 0deg)); }
}
.hero-content h1 { animation: fadeInUp .9s ease both; }
.hero-content p { animation: fadeInUp .9s ease .2s both; }
.hero-content .btn { animation: fadeInUp .9s ease .4s both; }
.hero-orchid { animation: floatOrchid 6s ease-in-out infinite; }
.hero-orchid.left { --rot: -20deg; }
.hero-orchid.right { --rot: 15deg; animation-delay: -3s; }
.btn-gold { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%); background-size: 200% 100%; }
.btn-gold:hover { animation: shimmer 1.5s ease infinite; }
.service-item { position: relative; overflow: hidden; }
.service-item::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(184,146,217,.06), transparent); transition: left .6s ease; pointer-events: none; }
.service-item:hover::after { left: 100%; }
.page-header { position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(184,146,217,.15), transparent 70%); pointer-events: none; }
.card { position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--purple), var(--orchid), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.card:hover::before { transform: scaleX(1); }


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .appt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; top: 0; right: -100%; width: 85%; max-width: 360px; height: 100vh; background: var(--white); flex-direction: column; align-items: stretch; padding: 5rem 1.5rem 2rem; box-shadow: -8px 0 30px rgba(0,0,0,.15); transition: right var(--transition); overflow-y: auto; z-index: 99; }
    .main-nav.open { right: 0; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-link { display: block; padding: .75rem 1rem; font-size: .95rem; border-radius: 0; }
    .nav-link:hover, .nav-link.active { background: var(--lavender); }
    .nav-cta { flex-direction: column; margin-left: 0; margin-top: 1.5rem; gap: .75rem; }
    .nav-cta .btn { width: 100%; justify-content: center; }
    body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 98; }
    .hero { min-height: 70vh; }
    .hero-content { padding: 3rem 1rem; }
    .section { padding: 3.5rem 0; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}
@media (max-width: 480px) {
    .price-list { flex-direction: column; }
    .hero-content h1 { font-size: 2rem; }
}
