/* Custom Styles for Kristan Green Men's Hair Specialist */

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

/* Base Typography */
body {
    background-color: #1a0f1d;
    color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1a0f1d;
}
::-webkit-scrollbar-thumb {
    background: #3d2540;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4af37;
}

/* Reveal Animations */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1; /* Default visible for accessibility */
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation Classes (Applied via JS) */
.reveal-up.hidden, .reveal-left.hidden, .reveal-right.hidden {
    opacity: 0;
}

.reveal-up.hidden {
    transform: translateY(30px);
}

.reveal-left.hidden {
    transform: translateX(-30px);
}

.reveal-right.hidden {
    transform: translateX(30px);
}

/* Hero Animations (Immediate Load) */
.hero-content {
    animation: fadeInLeft 1s ease-out forwards;
}

.hero-image {
    animation: fadeInRight 1s ease-out forwards;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Gold Gradient Text Utility */
.text-transparent.bg-clip-text.bg-gold-gradient {
    background-image: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Focus Styles for Accessibility */
button:focus, a:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up, .reveal-left, .reveal-right,
    .hero-content, .hero-image {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img {
        transition: none;
    }
}
