/* ==========================================================================
   NEUENEGG Coiffeur - Premium Design System
   ========================================================================== */

:root {
    /* Colors */
    --clr-black: #050505;
    --clr-charcoal: #121212;
    --clr-charcoal-light: #1f1f1f;
    --clr-gold: #d4af37;
    --clr-gold-light: #f3e5ab;
    --clr-gold-dark: #aa8c2c;
    --clr-white: #ffffff;
    --clr-gray-light: #e0e0e0;
    --clr-gray: #a0a0a0;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 5rem 0;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--clr-gray-light);
    background-color: var(--clr-black);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--clr-white);
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.section-dark {
    background-color: var(--clr-black);
    padding: var(--section-padding);
}

.section-texture {
    background-color: var(--clr-charcoal);
    /* Subtle marble/texture effect using gradients */
    background-image: linear-gradient(45deg, rgba(212, 175, 55, 0.03) 25%, transparent 25%, transparent 75%, rgba(212, 175, 55, 0.03) 75%, rgba(212, 175, 55, 0.03)),
        linear-gradient(45deg, rgba(212, 175, 55, 0.03) 25%, transparent 25%, transparent 75%, rgba(212, 175, 55, 0.03) 75%, rgba(212, 175, 55, 0.03));
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    padding: var(--section-padding);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--clr-gold);
}

.title-separator {
    width: 60px;
    height: 2px;
    background-color: var(--clr-gold);
    margin: 0 auto 3rem auto;
}

.title-separator.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: transparent;
    color: var(--clr-gold);
    border: 1px solid var(--clr-gold);
}

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

.btn-primary:hover {
    color: var(--clr-black);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: padding var(--transition-fast);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 64px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    color: var(--clr-white);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: italic;

}

.logo-text2 {
    font-family: var(--font-heading);
    color: var(--clr-white);
    font-size: 0.8rem;
    padding-top: 20px;
    margin-left: -14px;
    font-style: italic;

}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-white);
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-gold);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--clr-gold);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--clr-gold);
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-black);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left var(--transition-normal);
}

.mobile-nav-overlay.active {
    left: 0;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--clr-gold);
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Offset header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 5, 5, 0.7), rgba(5, 5, 5, 0.9)),
        url('assets/hero-img.jpeg') center/cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-logo {
    max-width: 250px;
    margin: 0 auto 2rem auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2.5rem;
    color: var(--clr-white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-text .title-separator {
    margin-left: 0;
}

.hex-mask {
    border: 1px solid var(--clr-gold);
    /* Fallback if clip-path + border is tricky, we can use a wrapper */
}

/* To get a gold border around a clipped image, we need a wrapper trick */
.about-image {
    position: relative;
    padding: 10px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--clr-gold);
    z-index: 1;
}

.about-image .hex-mask {
    position: relative;
    z-index: 2;
    height: 100%;
}

.img-responsive {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image:hover .img-responsive {
    transform: scale(1.05);
}

/* ==========================================================================
   Staff Section
   ========================================================================== */

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.staff-card {
    text-align: center;
}

.staff-image-wrapper {
    width: 350px;
    height: 350px;
    margin: 0 auto 1.5rem auto;
    position: relative;
    padding: 5px;
}

.staff-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--clr-gold);
    z-index: 1;
}

.staff-image-wrapper .img-responsive {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-name {
    font-size: 1.5rem;
    color: var(--clr-gold);
    margin-bottom: 0.5rem;
}

.staff-title {
    color: var(--clr-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-category {
    background-color: var(--clr-charcoal-light);
    padding: 2.5rem;
    border-top: 3px solid var(--clr-gold);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--clr-gold);
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2rem 0;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed rgba(204, 204, 204, 0.2);
    padding-bottom: 0.5rem;
}

.service-name {
    flex: 1;
    padding-right: 1rem;
}

.service-price {
    font-family: var(--font-heading);
    color: var(--clr-gold);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(212, 175, 55, 0);
    transition: background-color var(--transition-normal);
    pointer-events: none;
}

.gallery-item:hover::after {
    background-color: rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Footer & Contact
   ========================================================================== */

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: var(--clr-gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-heading {
    color: var(--clr-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    color: var(--clr-gold);
    margin-top: 5px;
}

.contact-item a:hover {
    color: var(--clr-gold);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
}

.map-container {
    height: 250px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-gray);
    font-size: 0.9rem;
}

/* ==========================================================================
   WhatsApp Widget
   ========================================================================== */

.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    color: white;
}

/* ==========================================================================
   Mobile Sticky CTA
   ========================================================================== */

.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--clr-charcoal);
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay staggered animations for grid items */
.services-grid.is-visible .service-category:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid.is-visible .service-category:nth-child(2) {
    transition-delay: 0.3s;
}

.services-grid.is-visible .service-category:nth-child(3) {
    transition-delay: 0.5s;
}

.gallery-grid.is-visible .gallery-item:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-grid.is-visible .gallery-item:nth-child(2) {
    transition-delay: 0.2s;
}

.gallery-grid.is-visible .gallery-item:nth-child(3) {
    transition-delay: 0.3s;
}

.gallery-grid.is-visible .gallery-item:nth-child(4) {
    transition-delay: 0.4s;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-text .section-title {
        text-align: center;
    }

    .about-text .title-separator {
        margin-left: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    /* Show sticky CTA on mobile, hide whatsapp on small screens if it overlaps? Let's just adjust position */
    .whatsapp-widget {
        bottom: 80px;
        /* Above the sticky cta */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }

    .mobile-sticky-cta {
        display: block;
    }

    /* Extra padding at bottom to prevent footer overlap with sticky cta */
    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}


/* ==========================================================================
   Social Media Links
   ========================================================================== */

.hero-socials {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--clr-gold);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-socials a:hover {
    background: var(--clr-gold);
    color: var(--clr-black);
    transform: translateY(-3px);
    border-color: var(--clr-gold);
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--clr-gold);
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--clr-gold);
    color: var(--clr-black);
    transform: translateY(-3px);
}