/* Custom styles for Blissful Blades Barbershop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040B16;
}
::-webkit-scrollbar-thumb {
    background: #1a3a2a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2ab078;
}

/* Selection color */
::selection {
    background: rgba(78, 196, 144, 0.3);
    color: #ffffff;
}

/* Reveal animations - progressive enhancement, respects prefers-reduced-motion */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover lift */
.service-card {
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .service-card:hover {
        transform: translateY(-4px);
    }
}

/* Navbar glass effect */
.nav-glass {
    background: rgba(4, 11, 22, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu transitions */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #4EC490, #2AB078);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pulse for CTA buttons */
@keyframes pulse-mint {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(78, 196, 144, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(78, 196, 144, 0);
    }
}

.cta-pulse {
    animation: pulse-mint 2s infinite;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234EC490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

/* Map filter for dark theme */
.map-dark {
    filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}
