/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Merriweather:ital,wght@0,300;0,400;1,400&display=swap');

:root {
    /* Deep Matte Black / Charcoal */
    --color-bg: #121212;
    --color-bg-secondary: #0a0a0a;
    /* High contrast text */
    --color-text: #f5f5f5;
    --color-text-muted: #d1d5db;

    /* Rose Gold (Pink + Gold Blend) */
    --color-rose-gold: #B76E79;
    --color-rose-gold-light: rgba(183, 110, 121, 0.1);

    /* Metallic Gold Accent */
    --color-gold: #D4AF37;
    --color-gold-hover: #F4C430;

    /* Light Theme (Soft Luxury) */
    --color-bg-light: #FAF9F6;
    --color-text-dark: #333333;
    --color-text-muted-dark: #666666;
    --color-glass-light: rgba(255, 255, 255, 0.8);

    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Merriweather', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body.is-loading {
    overflow: hidden !important;
    height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

section {
    position: relative;
    width: 100%;
}

/* Utilities replacing Tailwind */
.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* Fix horizontal scroll issue */
/* Fix horizontal scroll issue */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    /* scroll-behavior: smooth; <- Removed for Lenis */
    /* Smooth Scroll managed by JS */
    scroll-padding-top: 80px;
}

.h-screen {
    height: 100vh;
}

/* Ensure all main sections are 100vh and centered */
section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.z-50 {
    z-index: 50;
}

/* Preloader */
#preloader {
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#preloader.fade-out {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

#scissors-container {
    width: 120px;
    height: 120px;
    color: var(--color-rose-gold);
    opacity: 0;
    filter: drop-shadow(0 0 15px rgba(183, 110, 121, 0.4));
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scissors-container svg {
    overflow: visible;
}

.scissors-left,
.scissors-right {
    transform-origin: 12px 12px;
}

#brand-name {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: linear-gradient(90deg,
            var(--color-rose-gold) 0%,
            var(--color-gold) 50%,
            var(--color-rose-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

#main-nav.scrolled {
    padding: 0.8rem 2rem;
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid rgba(183, 110, 121, 0.3);
}

.logo a {
    font-family: var(--font-serif);
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--color-rose-gold);
    letter-spacing: 0.1em;
}

.desktop-menu {
    display: none;
}

#hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1200;
    /* Above mobile menu */
}

#hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-rose-gold);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .desktop-menu {
        display: flex;
        gap: 2rem;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #d1d5db;
    }

    #hamburger {
        display: none;
    }
}

.desktop-menu a:hover {
    color: var(--color-rose-gold);
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    inset: 0;
    /* top:0, right:0, bottom:0, left:0 */
    background-color: var(--color-bg);
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1100;
    /* Below hamburger */
    width: 100%;
    height: 100vh;
}

/* Hero Section */
#home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    top: 0;
    z-index: 10;
}

#home video {
    object-fit: cover;
    opacity: 0.6;
}

.overlay {
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
}

.hero-text {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: transparent;
    /* Fully transparent */
    backdrop-filter: none;

    /* Kept Gold Border, slightly thicker for visibility */
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: none;
    /* Removed box shadow as background is gone */
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
    /* Strong text shadow for contrast */
}

@media (min-width: 768px) {
    .hero-text {
        font-size: 5rem;
    }
}

.hero-text span {
    color: var(--color-rose-gold);
    display: block;
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, -25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translate(-50%, 0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Services */
#services {
    height: 100vh;
    /* Fixed height */
    /* Solid background to cover the previous section during stack */
    background-color: var(--color-bg);
    position: relative;
    z-index: 20;
    border-top: 1px solid rgba(183, 110, 121, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 8vw, 3.5rem);
    /* Responsive font size */
    color: var(--color-rose-gold);
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: none;
    /* Remove heavy shadows as requested */
    position: relative;
    z-index: 10;
    padding: 0 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        margin-bottom: 5rem;
    }
}

#services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    justify-items: center;
    /* Center cards in grid tracks */
}

@media (min-width: 768px) {
    #services-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        justify-content: center;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    /* Rose Gold border only on hover */
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    backface-visibility: hidden;
    /* Fix for potential text blurriness */
    width: 100%;
    max-width: 380px;
    /* Consistent card size */
}

.service-card:hover {
    border-color: var(--color-rose-gold);
    transform: translateY(-15px);
    box-shadow: 0 25px 50px -12px rgba(183, 110, 121, 0.3);
}

.number-badge {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(to top right, var(--color-rose-gold), var(--color-gold));
    padding: 1px;
    box-shadow: 0 0 20px rgba(183, 110, 121, 0.6);
    /* Subtle Rose Gold glow */
}

.number-inner {
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.number-inner i {
    color: var(--color-rose-gold);
    /* Soft pink/rose gold color */
    filter: drop-shadow(0 0 10px rgba(183, 110, 121, 0.4));
    /* Match glow effect */
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-card:hover h3 {
    color: var(--color-rose-gold);
}

.service-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Gallery Section Fixed Layout */
#gallery {
    flex-direction: column;
    perspective: 1000px;
    overflow: visible;
    /* Changed from hidden to prevent clipping */
    justify-content: flex-start;
    padding-top: 6rem;
    padding-bottom: 12rem;
    /* Added padding to prevent touching bottom */
    height: auto;
    min-height: 100vh;
}

#gallery .section-title {
    color: #ffffff;
    /* High contrast clean white */
}

#gallery-container {
    width: 100%;
    height: clamp(400px, 70vh, 800px);
    /* Responsive height */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    margin-top: 2rem;
}

/* Premium Center-Focus Gallery (Unused/Legacy) */
.premium-gallery {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(183, 110, 121, 0.1), transparent 70%);
}

.gallery-track {
    position: relative;
    width: 0;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-card {
    position: absolute;
    width: 250px;
    /* Base size */
    height: 350px;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    /* Transformation handled by JS (GSAP) */
}

/* Base Image Style */
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card Overlay (Title/Reference Style) */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    /* Hidden by default */
    transition: transform 0.3s ease;
    text-align: center;
}

.gallery-card.active .card-overlay {
    transform: translateY(0);
    /* Visible on Active */
}

.card-overlay h3 {
    color: var(--color-gold);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    text-shadow: 0 2px 4px black;
    margin: 0;
}

/* Navigation - Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Let clicks pass through center */
    z-index: 50;
    transform: translateY(-50%);
}

.nav-arrow {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.nav-arrow:hover {
    background: var(--color-gold);
    color: #000;
    transform: scale(1.1);
}

/* Navigation - Dots */
.gallery-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 50;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--color-gold);
    transform: scale(1.4);
    box-shadow: 0 0 10px var(--color-gold);
}

/* Mobile */
@media (max-width: 768px) {
    #services {
        height: auto;
        padding: 80px 1rem;
    }

    .gallery-card {
        width: 180px;
        height: 260px;
    }

    .gallery-nav {
        width: 100%;
        padding: 0 10px;
    }
}

/* About Us */
#about {
    min-height: 100vh;
    background-color: var(--color-bg);
    position: relative;
    z-index: 40;
    display: flex;
    flex-direction: column;
    /* Mobile: Stack Vertically */
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap: 2rem;
}

@media (min-width: 768px) {
    #about {
        flex-direction: row;
        /* Desktop: 3 Columns */
        padding: 0;
        gap: 0;
    }
}

.about-text {
    flex: 1;
    /* Center Column */
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Center Content */
    text-align: center;
    /* Center Text */
    background: transparent;
    z-index: 10;
    max-width: 600px;
    /* Constrain text width */
}

.about-side-images {
    flex: 1;
    /* Left/Right Columns */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

/* Images in side columns */
.about-side-images img {
    width: 100%;
    max-width: 280px;
    /* Limit image width */
    height: 350px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.about-side-images img:hover {
    transform: scale(1.05);
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
    .about-side-images {
        flex-direction: row;
        /* Row for mobile stack if desired, or wrapped grid */
        flex-wrap: wrap;
        height: auto;
    }

    .about-side-images img {
        width: 45%;
        height: 200px;
    }
}

/* Footer */
#contact {
    height: auto;
    min-height: 50vh;
    background-color: #000;
    position: relative;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(183, 110, 121, 0.3);
    padding: 2.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--color-rose-gold);
}

.social-links a:hover {
    color: white;
}

/* WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
    animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
}

.floating-whatsapp svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .7;
    }
}

/* Gallery Modal */
#image-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

#modal-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

#image-modal.active #modal-image {
    transform: scale(1);
}

#modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    z-index: 10001;
}

#modal-close:hover {
    color: var(--color-rose-gold);
}

/* Google Maps Section Styles */
.map-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.map-link {
    display: block;
    cursor: pointer;
}

.btn-gold {
    background: linear-gradient(to right, var(--color-gold), var(--color-gold-hover));
    color: #000;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    background: var(--color-gold-hover);
    color: #000;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* About Page (Light Theme) */
.light-page {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.light-page .section-title {
    color: var(--color-rose-gold);
}

.about-hero {
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('hair_style/a7.jpeg');
    background-size: cover;
    background-position: center;
    padding: 2rem;
}

.about-hero h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--color-rose-gold);
}

.about-story {
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem;
    line-height: 1.8;
    text-align: center;
}

.about-story p {
    font-size: 1.25rem;
    color: var(--color-text-muted-dark);
    margin-bottom: 2rem;
}

.about-page-section {
    padding: 6rem 0;
    background: var(--color-bg-light);
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(183, 110, 121, 0.1);
}

.about-service-card:hover {
    transform: translateY(-10px);
}

.about-service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.about-service-card-content {
    padding: 2rem;
    text-align: center;
}

.about-service-card h3 {
    font-family: var(--font-serif);
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-service-card p {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
}

.professional-closing {
    background: white;
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(183, 110, 121, 0.1);
}

.professional-closing h2 {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--color-rose-gold);
    max-width: 800px;
    margin: 0 auto;
    font-size: 2rem;
}

/* Adjust Nav for Light Page */
.light-page #main-nav {
    border-bottom: 1px solid rgba(183, 110, 121, 0.2);
    color: var(--color-text-dark);
}

.light-page .logo a {
    color: var(--color-rose-gold);
}

.light-page .desktop-menu {
    color: var(--color-text-muted-dark);
}

.light-page #main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.light-page section {
    height: auto;
    min-height: auto;
    display: block;
}

/* Integrated About Section (Home Page) */
#home-about-section {
    padding: 100px 0;
    background-color: var(--color-bg);
    color: var(--color-text);
    display: block;
    /* Override global flex */
    height: auto;
    /* Override global 100vh */
    min-height: 100vh;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(183, 110, 121, 0.1);
}

.about-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(183, 110, 121, 0.15);
}

.about-service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.about-service-card-content {
    padding: 2rem;
    text-align: center;
}

.about-service-card-content h3 {
    font-family: var(--font-serif);
    color: var(--color-rose-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-service-card-content p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-services-grid {
        grid-template-columns: 1fr;
    }
}