@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Outfit:wght@100..900&display=swap');

:root {
    /* Color Palette - Refined Premium Nude Tones */
    --clr-bg: 30, 20%, 98%;
    --clr-surface: 30, 20%, 95%;
    --clr-primary: 35, 30%, 30%;
    --clr-secondary: 35, 20%, 50%;
    --clr-accent: 35, 40%, 80%;
    --clr-text: 35, 15%, 15%;
    --clr-text-muted: 35, 10%, 40%;
    --clr-white: 0, 0%, 100%;
    --clr-glass: rgba(255, 255, 255, 0.7);
    --clr-glass-dark: rgba(0, 0, 0, 0.05);
    --clr-glass-dark: rgba(0, 0, 0, 0.05);

    /* Typography */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Outfit", sans-serif;

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 40px rgba(63, 49, 34, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: hsl(var(--clr-bg));
    color: hsl(var(--clr-text));
    font-family: var(--font-sans);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.serif {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
}

a {
    transition: var(--transition-smooth);
}

/* Glassmorphism Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--clr-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    height: 120px;
    /* Increased to accommodate larger logo */
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Logo Animation */
.logo img {
    height: 110px;
    /* Doubled size */
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Premium Desktop Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 3.5rem;
    /* Increased spacing */
}

nav ul li a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    /* Wider letter spacing for elegance */
    color: hsl(var(--clr-primary));
    text-decoration: none;
    opacity: 0.7;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

/* Elegant line animation */
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: hsl(var(--clr-primary));
    transition: width 0.3s ease, left 0.3s ease;
}

nav ul li a:hover {
    opacity: 1;
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

/* Nav Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 200px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    padding: 0.8rem 1.5rem;
    color: hsl(var(--clr-text));
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    display: block;
    text-align: left;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.03);
    padding-left: 2rem;
    opacity: 1;
    color: hsl(var(--clr-primary));
}

/* Mobile Sub-menu Styles */
.mobile-nav .nav-item-dropdown {
    width: 100%;
    text-align: center;
}

.mobile-nav .nav-item-dropdown>a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-nav .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem 0;
    opacity: 1;
    visibility: visible;
    display: none;
    border: none;
    min-width: 100%;
}

.mobile-nav .nav-item-dropdown.active .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
}

.mobile-nav .nav-dropdown-menu a {
    font-size: 1.1rem;
    opacity: 0.8;
    padding: 0.6rem 0;
    border: none;
    text-transform: none;
    letter-spacing: normal;
}

.mobile-nav .nav-dropdown-menu a:hover {
    color: hsl(var(--clr-primary));
    opacity: 1;
}

.mobile-nav .nav-dropdown-menu a::after {
    display: none;
}

/* Mobile Lang Switcher */
.mobile-lang-switcher {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 80%;
}

.mobile-lang-switcher a {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
    opacity: 0.6;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    text-transform: uppercase;
    font-family: var(--font-sans);
    color: hsl(var(--clr-text));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mobile-lang-switcher a:hover {
    opacity: 1;
    color: hsl(var(--clr-primary));
    border-color: hsl(var(--clr-primary));
}

.mobile-lang-switcher a::after {
    display: none;
}


/* Buttons - Magnetic Feel */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border: 1px solid hsl(var(--clr-primary));
    background: transparent;
    color: hsl(var(--clr-primary));
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: hsl(var(--clr-primary));
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn:hover {
    color: white;
}

.btn:hover::before {
    left: 0;
}

.btn.primary {
    background: hsl(var(--clr-primary));
    color: white;
}

.btn.primary:hover {
    background: hsl(var(--clr-secondary));
    border-color: hsl(var(--clr-secondary));
}

/* Hero Section with Parallax Effect */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('img/n1 Beauty salon outside.JPG') no-repeat center center/cover;
    position: relative;
    background-attachment: fixed;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(250, 249, 247, 0.95) 20%, rgba(250, 249, 247, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* Sections & Typography */
section {
    padding: 10rem 0;
}

.section-title {
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.section-title p {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 700;
    color: hsl(var(--clr-secondary));
    margin-bottom: 0.5rem;
}

/* Service Cards - Refined */
.service-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.service-img {
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-card h3 {
    padding: 2.5rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Portrait Image Styles */
.portrait-container {
    position: relative;
}

.portrait-container::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 1px solid hsl(var(--clr-accent));
    z-index: -1;
    border-radius: 4px;
}

.portrait-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aos-animate {
    animation: fadeInUp 1s ease forwards;
}

/* Premium Language Switcher */
.lang-switcher {
    position: relative;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
}

.lang-switcher::after {
    content: attr(data-current-lang);
    text-transform: uppercase;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-soft);
}

.globe-icon {
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.native-lang-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* visually hidden but fully clickable */
    color: transparent;
    background: transparent;
    border: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    z-index: 20;
}



/* Mobile Responsive Adjustments */
/* Mobile Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: hsl(var(--clr-primary));
    transition: var(--transition-smooth);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    max-width: 85%;
    height: 100vh;
    background: hsl(var(--clr-bg));
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -100vw 0 0 rgba(0, 0, 0, 0), -10px 0 30px rgba(0, 0, 0, 0);
}

.mobile-nav.active {
    right: 0;
    box-shadow: -100vw 0 0 rgba(0, 0, 0, 0.5), -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav a {
    font-size: 1.4rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.05em;
    color: hsl(var(--clr-primary));
    text-decoration: none;
    position: relative;
    padding: 0.4rem 1rem;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.mobile-nav a:hover,
.mobile-nav a:active {
    opacity: 1;
    color: hsl(var(--clr-primary));
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 0;
    height: 1px;
    background: hsl(var(--clr-primary));
    transition: width 0.3s ease, left 0.3s ease;
}

.mobile-nav a:hover::after,
.mobile-nav a:active::after {
    width: 100%;
    left: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 3rem;
    color: hsl(var(--clr-primary));
    cursor: pointer;
    line-height: 1;
    z-index: 10000;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.mobile-menu-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.mobile-book-btn {
    display: none !important;
}

@media (max-width: 1024px) {
    .mobile-book-btn {
        display: none !important; /* Hide the one inside the menu if we show it in header, or keep both? User said 'available on header' */
        margin-top: 1rem !important;
    }
}

/* Marketing Sections */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-accordion details {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-accordion details[open] {
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-accordion summary {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: hsl(var(--clr-primary));
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    outline: none;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: hsl(var(--clr-text-muted));
}

.faq-accordion details[open] summary::after {
    content: '−';
}

.faq-accordion p {
    margin-top: 1rem;
    color: hsl(var(--clr-text-muted));
    line-height: 1.7;
}

.faq-accordion ul {
    margin-top: 1rem;
    color: hsl(var(--clr-text-muted));
    line-height: 1.7;
    margin-left: 1.5rem;
}

.faq-accordion p:first-of-type {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: hsl(var(--clr-surface));
    padding: 4rem 2rem;
    text-align: center;
    font-style: italic;
    font-size: 1.25rem;
    font-family: var(--font-serif);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.1;
    font-family: var(--font-serif);
}

@media (max-width: 1024px) {
    nav {
        display: none;
    }

    header {
        height: 80px;
    }

    .logo img {
        height: 60px;
    }

    .nav-inner {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .desktop-only {
        display: none !important;
    }

    /* Show booking button and lang switcher in header on mobile */
    .mobile-hidden-actions,
    .mobile-hidden-actions > div {
        display: flex !important;
        align-items: center;
        gap: 1rem;
    }

    header .btn.primary {
        display: inline-flex !important;
        padding: 0.5rem 0.8rem !important;
        font-size: 0.65rem !important;
        letter-spacing: 0.05em;
        white-space: nowrap;
        min-width: auto;
    }
    
    .lang-switcher {
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hero::after {
        background: rgba(250, 249, 247, 0.85);
    }

    .portrait-container::after {
        display: none;
    }
}

/* Trust Badges Section */
.trust-badges {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0.6;
    margin-top: 4rem;
}

.trust-badges img {
    height: 30px;
    filter: grayscale(1);
    transition: var(--transition-smooth);
}

.trust-badges img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.booking-modal.active {
    display: flex;
}

.booking-modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.booking-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
    background: white;
    padding: 0.2rem 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.booking-modal-content iframe {
    flex-grow: 1;
    border: none;
}

@media (max-width: 768px) {
    .featured-post {
        grid-template-columns: 1fr !important;
    }

    .featured-post>div:first-child {
        min-height: 250px !important;
    }
}

/* Contact Icons in Hero */
.contact-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: hsl(var(--clr-primary));
    transition: var(--transition-smooth);
}

.contact-icon-link:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon-link svg {
    width: 20px;
    height: 20px;
}