/* Custom styles for Razorz Edge Barbershop */

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

/* Scroll reveal base styles — content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Hidden state for revealed elements (applied by JS) */
.reveal-hidden {
    opacity: 0;
    transform: translateY(24px);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-hidden {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-hidden {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Navbar styles */
.nav-logo-text {
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-logo-text {
    color: #0f172a;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Mobile link hover */
.mobile-link {
    transition: color 0.2s ease;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Selection color */
::selection {
    background: #99f6e4;
    color: #134e4a;
}

/* Image aspect ratio for gallery items */
.aspect-square {
    aspect-ratio: 1 / 1;
}
