/* Custom Styles for Bouvy's Barber Shop */

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #102a43 0%,
        #0a1929 30%,
        #1a1a2e 60%,
        #102a43 100%
    );
}

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

/* Service Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #d9a441, #c7882a);
    transition: height 0.5s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(201, 136, 42, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 41, 0.6) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .gallery-item img {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Navbar Scroll State */
nav.scrolled {
    background: rgba(10, 25, 41, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 136, 42, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #102a43;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #334e68;
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

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

/* Button Hover Glow */
button:hover,
a:hover {
    box-shadow: 0 0 20px rgba(201, 136, 42, 0.2);
}
