/* Custom styles for Ladies & Gents Professional Hair Services */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1728;
}
::-webkit-scrollbar-thumb {
    background: #d4900a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e8a810;
}

/* Hero animations */
.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}
.hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-stats {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}
.hero-scroll {
    animation: fadeIn 1s ease-out 1.2s both;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll reveal animations (below the fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Geometric decorative shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Navbar glass effect */
#navbar.scrolled {
    background: rgba(10, 23, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 144, 10, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Selection color */
::selection {
    background: rgba(212, 144, 10, 0.3);
    color: #fff;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #d4900a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Service card hover glow */
.group:hover .group-hover\:bg-gold-500\/20 {
    background-color: rgba(212, 144, 10, 0.2);
}

/* Image gallery hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f2c52f 0%, #d4900a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(212, 144, 10, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}
