/* Custom styles for Boutique S&M */

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

/* Scroll animation base - content always visible by default */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Only apply hidden state for animated elements when JS is enabled and motion is preferred */
@media (prefers-reduced-motion: no-preference) {
    .scroll-animate.hidden {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Navbar glass effect */
nav.scrolled {
    background: rgba(250, 247, 242, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-6px) translateX(4px); }
}

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}
.floating-card-2 {
    animation: float-slow 5s ease-in-out infinite;
}
.floating-card-3 {
    animation: float 4.5s ease-in-out infinite 0.5s;
}

/* Custom selection color */
::selection {
    background: #e86e4c;
    color: #fff;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e86e4c;
    outline-offset: 2px;
}

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

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

/* Form input autofill override */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,0.05) inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Subtle gradient text for hero */
.gradient-text {
    background: linear-gradient(135deg, #d45430, #e86e4c, #f19a7e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover lift */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}
