/* ============================================
   Xquisite Hair Lounge - Custom Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    position: relative;
}

/* --- Geometric Background Shapes --- */
.geometric-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.03;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #14b8a6;
    top: -200px;
    right: -200px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #0d9488;
    bottom: 10%;
    left: -100px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #14b8a6;
    top: 40%;
    right: 5%;
    opacity: 0.02;
}

.shape-square {
    width: 200px;
    height: 200px;
    background: #0f766e;
    bottom: 20%;
    right: 10%;
    transform: rotate(45deg);
    opacity: 0.03;
}

.shape-ring {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid #2dd4bf;
    top: 60%;
    left: 5%;
    opacity: 0.03;
}

/* --- Navbar --- */
.navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: width 0.3s ease;
}

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

.nav-logo {
    letter-spacing: -0.02em;
}

/* Mobile menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

.mobile-menu.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Hero --- */
.hero {
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/8834046/pexels-photo-8834046.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(2, 6, 23, 0.6) 100%);
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(20, 184, 166, 0.3);
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: #2dd4bf;
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
    transform: translateY(-2px);
}

.btn-outline.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-light:hover {
    border-color: #2dd4bf;
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
    transform: translateY(-2px);
}

.btn-outline-light.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 14px;
}

/* --- Badges --- */
.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 184, 166, 0.1);
    color: #0d9488;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.tag-light {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
    border-color: rgba(45, 212, 191, 0.2);
}

.badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #2dd4bf;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* --- Stats --- */
.stat-item {
    text-align: center;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll-wheel-anim 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel-anim {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* --- Services --- */
.services-bg-shape {
    pointer-events: none;
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
}

.service-card:hover .service-card-inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.12);
    border-color: rgba(20, 184, 166, 0.2);
}

.service-card-shape {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, transparent 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.service-card:hover .service-card-shape {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, transparent 100%);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(13, 148, 136, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    width: 28px;
    height: 28px;
    color: #0d9488;
    transition: color 0.4s ease;
}

.service-card:hover .service-icon {
    color: #fff;
}

/* --- About --- */
.about-geo, .about-geo2 {
    pointer-events: none;
}

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

.about-image {
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.about-image-accent {
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(20, 184, 166, 0.3);
    border-radius: 24px;
    z-index: -1;
    transform: translate(16px, 16px);
}

.about-floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    flex-shrink: 0;
}

/* --- Gallery --- */
.gallery-accent {
    pointer-events: none;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-img {
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

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

/* --- Testimonials --- */
.testimonials-bg {
    pointer-events: none;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.15);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author-avatar {
    width: 44px;
    height: 44px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Contact --- */
.contact-accent {
    pointer-events: none;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(20, 184, 166, 0.05);
    border-color: rgba(20, 184, 166, 0.1);
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(13, 148, 136, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: #f8fafc;
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1e293b;
    background: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:hover {
    border-color: #cbd5e1;
}

/* --- Footer --- */
.footer-geo {
    pointer-events: none;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: rgba(20, 184, 166, 0.3);
    color: #2dd4bf;
    transform: translateY(-2px);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
        animation: revealUp 0.8s ease forwards;
    }
    
    .reveal-up:nth-child(2) { animation-delay: 0.1s; }
    .reveal-up:nth-child(3) { animation-delay: 0.2s; }
    .reveal-up:nth-child(4) { animation-delay: 0.3s; }
    
    @keyframes revealUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .scroll-reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default visible state for reduced-motion or no-JS */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero::before {
        background-position: center center;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-floating-badge {
        bottom: -10px;
        left: 10px;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 640px) {
    .hero-geo {
        display: none;
    }
}
