/* Custom styles for Perfect Blend Salon */

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

/* Navbar transition */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

.nav-fixed.scrolled {
    background-color: rgba(10, 16, 25, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(251, 191, 36, 0.08);
}

/* Mobile menu */
.mobile-menu {
    z-index: 40;
}

.mobile-link {
    transition: all 0.2s ease;
}

.mobile-link:hover {
    transform: scale(1.05);
}

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

::-webkit-scrollbar-track {
    background: #0f1826;
}

::-webkit-scrollbar-thumb {
    background: #1e2f4d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2a4066;
}

/* Selection color */
::selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Image hover effects */
img {
    transition: filter 0.3s ease;
}

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

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
}

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

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fade-in-section {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    img {
        transition: none !important;
    }

    .hover\\:scale-105:hover {
        transform: none !important;
    }
}
