/* ============================================
   Hair463 — Custom Styles
   Warm terracotta + sand palette
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #C1694F;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A8553F;
}

/* Selection color */
::selection {
    background: #F5C4B0;
    color: #5C3027;
}

/* Base transitions for performance */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Service card stagger animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.5s ease;
    }
    
    .service-card:hover {
        transform: translateY(-8px) !important;
    }
}

/* Gallery hover effect */
.gallery-item {
    cursor: pointer;
}

/* Navbar glass effect when scrolled */
.navbar-scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(193, 105, 79, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Back to top button animation */
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Print styles */
@media print {
    header, footer, #back-to-top, .service-card {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
