/* ============================================
   Sparkle Beauty Lounge - Custom Styles
   Black, Gold & White Metallic Glass Theme
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES & VARIABLES
   ============================================ */
:root {
    /* Black Backgrounds */
    --black-primary: #000000;
    --black-soft: #0a0a0a;
    --black-card: #141414;
    --black-elevated: #1a1a1a;

    /* Metallic Gold */
    --primary: #D4AF37;
    --primary-light: #FFD700;
    --primary-dark: #B8941F;
    --gold-shine: #F4E5B2;

    /* White & Grays */
    --white: #FFFFFF;
    --white-soft: #F5F5F5;
    --gray-light: #CCCCCC;
    --gray-medium: #999999;
    --gray-dark: #666666;

    /* Glass Effects */
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-gold: rgba(212, 175, 55, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Legacy support (mapped to new colors) */
    --secondary: #CCCCCC;
    --accent: #FFD700;
    --dark: #000000;
    --light: #FFFFFF;
    --success: #4ECDC4;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #B8941F 0%, #D4AF37 50%, #FFD700 100%);
    --gradient-secondary: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 20, 0.6) 100%);
    --gradient-gold: linear-gradient(135deg, #B8941F 0%, #D4AF37 50%, #FFD700 100%);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 100px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}



/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--white);
    background-color: var(--black-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.sparkle-loader {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    padding: 1rem 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(45, 48, 71, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.glass-nav {
    background: rgba(45, 48, 71, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    transition: all var(--transition-fast);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .fa-gem {
    color: var(--primary);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px var(--primary));
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.btn-book {
    background: var(--gradient-primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(139, 95, 191, 0.4);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 95, 191, 0.6);
}

.theme-toggle {
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    transform: rotate(20deg) scale(1.1);
}

/* Offcanvas Menu */
.glass-offcanvas {
    background: rgba(45, 48, 71, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-body .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   GLASS MORPHISM CARDS
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

body.dark-mode .glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
    color: var(--white);
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 250px;
    }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Premium dark gradient overlay */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #F4E5B2 0%, #D4AF37 50%, #B8941F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    transition: all var(--transition-fast);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.stat-card {
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.7;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    position: relative;
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(45, 48, 71, 0.7);
}

body.dark-mode .section-title {
    color: var(--light);
}

body.dark-mode .section-subtitle {
    color: rgba(248, 249, 250, 0.7);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

body.dark-mode .services-section {
    background: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 100%);
}

.service-card {
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    transition: height var(--transition-slow);
    z-index: 0;
}

.service-card:hover::before {
    height: 100%;
}

.service-card>* {
    position: relative;
    z-index: 1;
    transition: all var(--transition-fast);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover li {
    color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 95, 191, 0.4);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.5);
}

.service-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-list li {
    padding: 0.5rem 0;
    color: var(--dark);
}

body.dark-mode .service-list li {
    color: var(--light);
}

.price-tag {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

.service-card:hover .price-tag {
    color: var(--white);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
/* Dark Mode Enforced */
.about-section {
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
}

body.dark-mode .about-section {
    background: #0f0f1e;
}

.about-image-wrapper {
    position: relative;
}

.image-frame {
    position: relative;
    z-index: 2;
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 95, 191, 0.1) 0%, rgba(255, 107, 139, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    color: var(--primary);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.badge-1 {
    top: 20px;
    right: -20px;
}

.badge-2 {
    bottom: 20px;
    left: -20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

body.dark-mode .gallery-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
}

.gallery-swiper {
    padding: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-md);
    height: 350px;
}

.gallery-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 95, 191, 0.2) 0%, rgba(255, 107, 139, 0.2) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: opacity var(--transition-normal);
    padding: 2rem;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem;
}

.swiper-pagination-bullet {
    background: var(--primary);
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
    width: 30px;
    border-radius: 10px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: #0f0f0f;
}

body.dark-mode .testimonials-section {
    background: #0f0f1e;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
}

.stars {
    color: #FFD700;
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--dark);
}

body.dark-mode .testimonial-text {
    color: var(--light);
}

.author-image i {
    color: var(--primary);
}

.author-name {
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 0;
}

.author-title {
    color: rgba(45, 48, 71, 0.6);
}

body.dark-mode .author-title {
    color: rgba(248, 249, 250, 0.6);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
}

body.dark-mode .contact-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1e 100%);
}

.info-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info a {
    color: var(--primary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.contact-info a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(139, 95, 191, 0.5);
}

/* Form Styles */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(139, 95, 191, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--dark);
    transition: all var(--transition-fast);
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139, 95, 191, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

body.dark-mode .form-label {
    color: var(--light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
}

body.dark-mode .footer {
    background: #000;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary);
}

.newsletter-form .form-control {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    border-right: none;
}

.newsletter-form .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ============================================
   MODAL STYLES
   ============================================ */
.glass-modal {
    background: rgba(45, 48, 71, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--white);
}

.modal-content {
    border: none;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.service-option {
    margin-bottom: 1rem;
}

.btn-check:checked+label {
    background: var(--gradient-primary) !important;
    border-color: var(--primary) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(139, 95, 191, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 95, 191, 0.6);
    background: var(--gradient-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    background: transparent;
    transition: all var(--transition-fast);
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 95, 191, 0.6);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

/* ============================================
   PREMIUM LAYOUT UTILITIES
   ============================================ */
.section-spacer {
    padding: 120px 0;
}

/* Apple-style big typography */
.display-large {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--white-pure);
}

.display-medium {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--white-soft);
}

/* Glass Section Separator */
.glass-separator {
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 175, 55, 0.5) 50%,
            transparent 100%);
    margin: 60px auto;
    width: 80%;
    opacity: 0.5;
}

/* Sticky Section Context */
.sticky-container {
    position: relative;
    height: 300vh;
    /* For scroll triggering */
}

.sticky-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}