/* CSS Variables for a Premium Palette */
:root {
    --primary: #D4AF37;
    /* Gold */
    --secondary: #FADADD;
    /* Blush Pink */
    --accent: #B08D57;
    /* Deep Gold */
    --dark: #1a1a1a;
    --light: #fefefe;
    --grey: #f4f4f4;
    --text: #333333;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.8);
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

/* Reusable Components */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 30px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
    font-weight: 400;
}

nav ul {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../images/f521b753-a874-42fb-b737-9d87aca2990c.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content h2 {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about .grid {
    grid-template-columns: 1fr 1.2fr;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--secondary);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
}

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

.stat-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: var(--grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

.service-card.active {
    background: linear-gradient(135deg, var(--dark), #333);
    color: white;
}

.service-card.active i {
    color: var(--primary);
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background-color: var(--secondary);
    background: linear-gradient(rgba(250, 218, 221, 0.9), rgba(250, 218, 221, 0.9)), url('../images/f521b753-a874-42fb-b737-9d87aca2990c.jpg') center/cover;
}

.contact .grid {
    grid-template-columns: 1fr 1fr;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-list {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.info-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
}

.blurred-text {
    filter: blur(7px);
    user-select: none;
    -webkit-user-select: none;
    display: inline-block;
    letter-spacing: 0.5px;
    cursor: default;
    pointer-events: none;
    opacity: 0.8;
}

.map-placeholder {
    background: white;
    height: 100%;
    min-height: 300px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    background: var(--dark);
    color: #888;
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Modal Styles */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    /* Changed to none */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Increased z-index */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.booking-modal.active {
    display: flex;
    opacity: 1;
}

.booking-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-30px);
    transition: var(--transition);
}

.booking-modal.active .booking-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: #888;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.booking-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.booking-modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.booking-modal-header p {
    color: #666;
    font-size: 0.9rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1rem;
}

/* Reveal Animation Styles */
.service-card,
.portfolio-item,
.about-text,
.about-image {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.service-card.visible,
.portfolio-item.visible,
.about-text.visible,
.about-image.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .about .grid,
    .contact .grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
        background: var(--glass);
        backdrop-filter: blur(10px);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 5rem 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Luxury Salon Preloader & Seamless Multi-Tenant Transition
   ========================================================================== */
.salon-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111116;
    background: radial-gradient(circle at center, #1c1c24 0%, #0c0c0f 100%);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
}

.salon-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    max-width: 420px;
}

.preloader-gem {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.6), 0 0 18px var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-gem i {
    font-size: 2.2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary));
    transition: color 0.3s ease;
}

.preloader-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 1.4rem;
    font-weight: 600;
}

.preloader-progress {
    width: 160px;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.preloader-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    background-size: 200% 100%;
    animation: preloaderShimmer 1.4s infinite linear;
}

@keyframes preloaderPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 25px rgba(0, 0, 0, 0.6), 0 0 12px var(--primary);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.7), 0 0 25px var(--primary);
    }
}

@keyframes preloaderShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}