/* Custom Styles for Upscale Barber Shop */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

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

::-webkit-scrollbar-thumb {
    background: #C2704E;
    border-radius: 3px;
}

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

/* Navigation */
.navbar-scrolled .nav-logo {
    color: #1a1a1a;
}

.navbar-scrolled .nav-link {
    color: #2d2d2d;
}

.navbar-light .nav-logo,
.navbar-light .nav-link {
    color: #ffffff;
}

.navbar-scrolled .nav-link:hover {
    color: #C2704E;
}

.navbar-light .nav-link:hover {
    color: #fad4c0;
}

/* Hero animations - NO opacity:0 initial state */
.hero-anim {
    transform: translateY(0);
    opacity: 1;
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu */
.mobile-menu-link {
    opacity: 1;
}

/* Gallery hover effects */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Service card hover */
.service-card {
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #C2704E;
    outline-offset: 2px;
}

/* Input focus states */
input:focus,
textarea:focus {
    border-color: #f09168 !important;
    box-shadow: 0 0 0 3px rgba(240, 145, 104, 0.1);
}

/* Image loading placeholder */
img {
    background-color: #f5ead7;
}

/* Selection color */
::selection {
    background-color: #C2704E;
    color: #ffffff;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
