/* Custom Styles for Billionaire Beauty & Barbershop */

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

#mobile-menu.close {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Navbar Scroll Effect */
#navbar.scrolled {
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #fbbf24 !important;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

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

/* Text Selection */
::selection {
    background-color: #f59e0b;
    color: #020617;
}

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

/* Mobile Menu Button Animation */
#menu-btn svg {
    transition: transform 0.3s ease;
}

#menu-btn.active svg {
    transform: rotate(90deg);
}

/* Service Card Hover */
.group:hover .group-hover\:bg-gold-500 {
    background-color: #f59e0b;
}

.group:hover .group-hover\:text-navy-950 {
    color: #020617;
}

/* Button Hover Effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Gallery Grid Gap */
.grid-cols-3 > * + * {
    margin-top: 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}
