/*
Theme Name: KhoPress Aura - Viện Thẩm Mỹ & Spa Cao Cấp
Theme URI: https://khopress.com
Author: KhoPress Luxury Design Studio
Description: Giao diện Spa, Thẩm Mỹ Viện Y Khoa & Chăm Sóc Sắc Đẹp Hoàng Gia 2026 - Aura Beauty & Luxury Spa Edition.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: khopress-spa
*/

/* ==========================================================================
   1. Luxury Spa Design Tokens & CSS Variables
   ========================================================================== */
:root {
    /* Rose Gold & Soft Blush Palette */
    --rose-50: #fdf8f6;
    --rose-100: #f7ebe6;
    --rose-200: #eed6ce;
    --rose-300: #dfb7aa;
    --rose-400: #cb917f;
    --rose-500: #b97460;
    --rose-600: #a45a47;
    --rose-700: #884736;
    --rose-800: #713c2f;
    --rose-900: #5d352c;

    /* Champagne Gold Accents */
    --gold-primary: #d4af37;
    --gold-light: #f6ecd0;
    --gold-dark: #a1811f;

    /* Serene Cream & Silk Surfaces */
    --cream-bg: #faf7f2;
    --cream-surface: #ffffff;
    --cream-soft: #f4eee6;
    --dark-slate: #1f2421;
    --dark-muted: #525b56;

    /* Borders & Shadows */
    --border-rose-subtle: rgba(185, 116, 96, 0.15);
    --border-rose-medium: rgba(185, 116, 96, 0.35);
    --shadow-soft: 0 10px 30px -5px rgba(185, 116, 96, 0.08), 0 0 0 1px rgba(185, 116, 96, 0.08);
    --shadow-card-hover: 0 20px 40px -10px rgba(185, 116, 96, 0.18), 0 0 0 1px rgba(185, 116, 96, 0.2);
    --shadow-glow: 0 0 35px rgba(212, 175, 55, 0.25);
}

/* ==========================================================================
   2. Base Typography & Resets
   ========================================================================== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--cream-bg);
    color: var(--dark-slate);
    font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

.font-serif, h1, h2, h3, h4, .spa-serif {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

/* Shimmer metallic effect */
.text-shimmer-gold {
    background: linear-gradient(135deg, #a1811f 0%, #d4af37 50%, #f6ecd0 75%, #a1811f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-shimmer-rose {
    background: linear-gradient(135deg, #713c2f 0%, #b97460 40%, #cb917f 70%, #884736 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   3. Interactive Before / After Slider
   ========================================================================== */
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 480px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 640px) {
    .before-after-container {
        height: 340px;
    }
}

.before-after-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.before-after-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-right: 2px solid #ffffff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.before-after-overlay img {
    width: 800px;
    max-width: none;
}

@media (max-width: 800px) {
    .before-after-overlay img {
        width: 100vw;
    }
}

.before-after-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 3px solid #b97460;
    border-radius: 50%;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 10;
    transition: transform 0.15s ease;
}

.before-after-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.badge-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    z-index: 5;
}

.badge-label.before {
    left: 20px;
}

.badge-label.after {
    right: 20px;
}

/* ==========================================================================
   4. Floating Action Buttons (Hotline & Booking)
   ========================================================================== */
.quick-call-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-call-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b97460, #884736);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 25px rgba(185, 116, 96, 0.4);
    animation: phonePulse 1.8s infinite;
    cursor: pointer;
}

@keyframes phonePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(185, 116, 96, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(185, 116, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(185, 116, 96, 0);
    }
}

.quick-call-label {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: #884736;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(185, 116, 96, 0.2);
}

/* Glassmorphism utility */
.glass-spa {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--cream-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--rose-300);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--rose-500);
}
