/* ============================================
   Hair by Abby Wurgler — Custom Styles
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF5EB;
}
::-webkit-scrollbar-thumb {
    background: #C4785B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A85F45;
}

/* Selection color */
::selection {
    background: #F3BDB8;
    color: #5C362C;
}

/* Navbar transitions */
#navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(196, 120, 91, 0.08);
}

/* Mobile menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Service cards */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(196, 120, 91, 0.12);
}

/* Gallery hover */
.gallery-item {
    cursor: pointer;
    transition: transform 0.4s ease;
}

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

/* 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='%236B7280' 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;
}

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

/* Focus visible */
*:focus-visible {
    outline: 2px solid #C4785B;
    outline-offset: 2px;
}

/* Typography refinements */
.font-serif {
    letter-spacing: -0.01em;
}

/* Subtle gradient text for hero */
.gradient-text {
    background: linear-gradient(135deg, #C4785B 0%, #E06655 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading state for buttons */
button:active {
    transform: scale(0.98);
}

/* Map container */
iframe {
    filter: saturate(0.8) brightness(1.05);
    transition: filter 0.3s ease;
}

iframe:hover {
    filter: saturate(1) brightness(1);
}
