/* Custom styles for New Look Unisex Barbershop */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 64px;
}

/* Subtle line accent */
.line-fade {
    background: linear-gradient(to right, #14b8a6, transparent);
    height: 1px;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Hero grid background */
.hero-grid-bg {
    background-image: 
        linear-gradient(rgba(13, 148, 136, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Floating stat cards */
.stat-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Mobile menu animation */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
}

/* Selection color */
::selection {
    background-color: #14b8a6;
    color: white;
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* Default visible state for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
