/* Lotus Boutique — Custom Styles */

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

/* Base font smoothing */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background-color: #b92f4d;
    color: #fef7f5;
}

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

::-webkit-scrollbar-track {
    background: #fdf8f5;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #c49a3e;
}

/* Reveal animations — progressive enhancement only */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger children */
    .reveal-grid > *:nth-child(1) { transition-delay: 0.05s; }
    .reveal-grid > *:nth-child(2) { transition-delay: 0.15s; }
    .reveal-grid > *:nth-child(3) { transition-delay: 0.25s; }
}

/* Navbar transition */
.nav-scrolled {
    background-color: rgba(254, 252, 251, 0.97) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(127, 31, 51, 0.08);
}

.nav-scrolled .nav-link {
    color: #7f1f33 !important;
}

.nav-scrolled .nav-link:hover {
    color: #b92f4d !important;
}

/* 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='%237f1f33' stroke-width='2'%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;
    padding-right: 2.5rem;
}

/* Image lazy load fade */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

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

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

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

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Print styles */
@media print {
    nav, #back-to-top, #contact-form button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
