/*
Theme Name: VL Luxe Imperial
Description: Premium luxury medical spa WordPress theme for VL Luxe Imperial Recovery — a mobile post-operative recovery spa in New York.
Version: 1.1.0
Author: VL Luxe Imperial
Text Domain: vl-luxe-imperial
*/

/* ═══════════════════════════════════════════════════════════════════════════
   VL Luxe Imperial Recovery — Global Styles (Native WP)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Color Palette */
    --color-gold: #c9a96e;
    --color-gold-dark: #b39359;
    --color-gold-subtle: rgba(201, 169, 110, 0.1);
    --color-gold-border: rgba(201, 169, 110, 0.3);
    
    --color-purple: #261559; /* Client Requested Dark Purple */
    --color-charcoal: #111111;
    --color-ivory: #fafaf7;
    --color-cream: #f4f4f0;
    
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-on-dark: #fafaf7;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-ui: 'DM Sans', sans-serif;
    
    /* Layout */
    --container-xl: 1280px;
    --container-md: 800px;
    --container-pad: 1.5rem;
    --navbar-height: 80px;
    
    /* Transitions */
    --duration-normal: 0.3s;
    --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--color-ivory);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-normal) var(--ease-luxury);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol { list-style: none; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ── Layout Container ────────────────────────────────────────────────────── */
.vl-container {
    width: 100%;
    max-width: var(--container-xl);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

/* ── Section Layout ──────────────────────────────────────────────────────── */
.vl-section {
    padding-block: clamp(4rem, 8vw, 8rem);
}

.vl-section--dark {
    background-color: var(--color-charcoal);
    color: var(--text-on-dark);
}

.vl-section--purple {
    background-color: var(--color-purple);
    color: var(--text-on-dark);
}

.vl-section--ivory {
    background-color: var(--color-ivory);
}

.vl-section--cream {
    background-color: var(--color-cream);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.vl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 999px;
    transition: all var(--duration-normal) var(--ease-luxury);
}

.vl-btn--primary {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
}

.vl-btn--primary:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
}

.vl-btn--purple {
    background-color: var(--color-purple);
    color: var(--color-ivory);
}

.vl-btn--purple:hover {
    background-color: #1e1045;
    transform: translateY(-2px);
}

.vl-btn--outline {
    background: transparent;
    color: var(--color-ivory);
    border: 2px solid rgba(250, 250, 247, 0.5);
}

.vl-btn--outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ── Navbar ──────────────────────────────────────────────────────────────── */
.vl-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: transparent;
    transition: background-color var(--duration-normal) var(--ease-luxury);
    z-index: 100;
}

.vl-navbar--scrolled {
    background-color: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.vl-navbar--scrolled .vl-navbar__link,
.vl-navbar--scrolled .vl-navbar__logo {
    color: var(--text-primary);
}

.vl-navbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vl-navbar__brand {
    display: flex;
    align-items: center;
}
.vl-navbar__brand img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform var(--duration-normal) var(--ease-luxury);
}

.vl-navbar__brand:hover img {
    transform: scale(1.05);
}

.vl-navbar__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-ivory);
}

.vl-navbar__logo-vl { color: var(--color-gold); margin-right: 0.25rem; }

.vl-navbar__nav ul {
    display: flex;
    gap: 2rem;
}

.vl-navbar__link {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ivory);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vl-navbar__link:hover {
    color: var(--color-gold);
}

/* Contact info top */
.vl-navbar__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.vl-navbar__contact-top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.vl-contact-link {
    font-size: 0.85rem;
    color: var(--color-ivory);
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.3s;
}

.vl-navbar--scrolled .vl-contact-link {
    color: var(--text-secondary);
}

.vl-contact-link:hover {
    color: var(--color-gold) !important;
}

.vl-navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.vl-navbar__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
    transition: all 0.3s;
}

/* ── Mobile Menu (Native) ────────────────────────────────────────────────── */
.vl-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-ivory);
    z-index: 99;
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s var(--ease-luxury);
}

.vl-mobile-menu.is-open {
    right: 0;
}

.vl-mobile-menu ul li {
    margin-bottom: 1.5rem;
}

.vl-mobile-menu__link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.vl-mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.vl-mobile-menu__overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 900px) {
    .vl-navbar__nav, .vl-navbar__actions { display: none; }
    .vl-navbar__hamburger { display: flex; }
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.vl-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--color-ivory);
    overflow: hidden;
}

.vl-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.vl-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vl-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17,17,17,0.8) 0%, rgba(17,17,17,0.4) 100%);
}

.vl-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.vl-hero h1 {
    color: var(--color-ivory);
    margin-bottom: 0.5rem;
}

.vl-hero__accent {
    color: var(--color-gold);
    display: block;
}

.vl-hero p {
    color: rgba(250, 250, 247, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.vl-hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Services Grid ───────────────────────────────────────────────────────── */
.vl-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.vl-service-card {
    background-color: var(--color-ivory);
    padding: 3rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.4s var(--ease-luxury), box-shadow 0.4s var(--ease-luxury);
    border-top: 4px solid var(--color-gold);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vl-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.vl-service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--color-purple);
}

.vl-service-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* ── Why Choose Us ───────────────────────────────────────────────────────── */
.vl-why-us {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vl-why-us__image img {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.vl-why-us__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vl-feature {
    display: flex;
    gap: 1rem;
}

.vl-feature__icon {
    color: var(--color-gold);
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .vl-why-us { grid-template-columns: 1fr; }
}

/* ── Pricing Cards ───────────────────────────────────────────────────────── */
.vl-pricing-card {
    background: var(--color-ivory);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 4px solid var(--color-gold);
    transition: all 0.4s var(--ease-luxury);
    position: relative;
    color: var(--text-secondary);
}

.vl-pricing-card h3 {
    color: var(--color-purple);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.4s;
}

.vl-pricing-card .vl-pricing-sessions {
    font-size: 1.1rem;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.vl-pricing-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: inherit;
    transition: color 0.4s, opacity 0.4s;
}

.vl-pricing-card .vl-badge {
    background: rgba(201,169,110,0.2);
    color: var(--color-gold);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: bold;
}

.vl-pricing-card .vl-btn {
    width: 100%;
    background: transparent;
    color: var(--color-purple);
    border: 2px solid var(--color-purple);
}

/* Hover & Active States */
.vl-pricing-card:hover, 
.vl-pricing-card.is-active {
    background: var(--color-purple);
    color: #fafaf7;
    box-shadow: 0 20px 40px rgba(38,21,89,0.2);
    transform: translateY(-5px);
}

.vl-pricing-card.is-active {
    padding: 3.5rem 2rem;
    z-index: 2;
}

.vl-pricing-card:hover h3, 
.vl-pricing-card.is-active h3 {
    color: #fafaf7;
}

.vl-pricing-card:hover p, 
.vl-pricing-card.is-active p {
    color: #fafaf7;
    opacity: 0.9;
}

.vl-pricing-card:hover .vl-btn, 
.vl-pricing-card.is-active .vl-btn {
    background: var(--color-gold);
    color: var(--color-charcoal);
    border-color: var(--color-gold);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.vl-footer {
    background-color: var(--color-charcoal);
    color: var(--color-ivory);
    padding-block: 4rem 2rem;
}

.vl-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.vl-footer h4 {
    color: var(--color-gold);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.vl-footer p {
    color: rgba(250, 250, 247, 0.7);
}

.vl-footer ul li {
    margin-bottom: 0.5rem;
}

.vl-footer__brand img.custom-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.vl-footer a:hover {
    color: var(--color-gold);
}

.vl-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(250, 250, 247, 0.5);
}

@media (max-width: 768px) {
    .vl-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Mobile Responsive Tweaks ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .desktop-only { display: none !important; }
}

@media (max-width: 768px) {
    .vl-btn {
        width: 100%;
        padding: 1.25rem 2rem;
        justify-content: center;
    }
    
    .vl-hero {
        text-align: center;
    }
    
    .vl-hero__ctas {
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }
    
    .vl-hero h1 {
        font-size: 2.5rem;
    }
    
    .vl-pricing-card {
        transform: scale(1) !important; /* Disable zoom effect on mobile packages */
    }
    
    .vl-pricing-card.is-active {
        padding: 2.5rem 2rem; /* Normal padding on mobile */
        transform: translateY(0);
    }
}

/* ── Scroll Reveal & Animations ───────────────────────────────────────────── */
.vl-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
    will-change: opacity, transform;
}

.vl-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.vl-reveal--delay-1 { transition-delay: 0.1s; }
.vl-reveal--delay-2 { transition-delay: 0.2s; }
.vl-reveal--delay-3 { transition-delay: 0.3s; }
.vl-reveal--delay-4 { transition-delay: 0.4s; }
.vl-reveal--delay-5 { transition-delay: 0.5s; }

/* Parallax Background Helper */
.vl-hero__bg {
    transition: transform 0.1s linear;
}

/* Floating animation for ornaments (optional) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.vl-floating {
    animation: float 6s ease-in-out infinite;
}

/* ── Floating WhatsApp Button ────────────────────────────────────────────── */
.vl-whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp Green */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s var(--ease-luxury), background-color 0.3s;
    text-decoration: none;
}

.vl-whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    stroke: none;
}

/* Add inner path for exact WhatsApp logo shape */
.vl-whatsapp-float svg path {
    d: path("M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z");
    fill: currentColor;
}

.vl-whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
    background-color: #128C7E;
    color: #ffffff;
}

@media (max-width: 768px) {
    .vl-whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .vl-whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
