/* Custom styles for Simondale Square Barber & Beauty Shop */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #0f766e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Selection color */
::selection {
    background: #0f766e;
    color: white;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.navbar-scrolled .font-display,
.navbar-scrolled span {
    color: #0f172a !important;
}

.navbar-scrolled .text-teal-400 {
    color: #0f766e !important;
}

.navbar-scrolled a.text-sm {
    color: #475569 !important;
}

.navbar-scrolled a.text-sm:hover {
    color: #0f766e !important;
}

/* Hero image animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Service card hover lift */
.group:hover {
    transform: translateY(-2px);
}

/* Gallery image hover */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Print styles */
@media print {
    nav, #contact-form, button, .reveal {
        display: none !important;
    }
    body {
        color: #000 !important;
        background: #fff !important;
    }
    section {
        page-break-inside: avoid;
    }
}
