/* Custom styles for Salon 20 */

/* Scroll reveal base - progressive enhancement, hidden by default */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf6e8;
}
::-webkit-scrollbar-thumb {
    background: #e0522a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d43b18;
}

/* Geometric decoration animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-16px) rotate(12deg); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(6px); }
}

.geometric-float {
    animation: float 6s ease-in-out infinite;
}
.geometric-float-slow {
    animation: floatSlow 8s ease-in-out infinite;
}

/* Selection color */
::selection {
    background: #e0522a;
    color: #fefcf6;
}
