/* Custom styles for Sunya Boutique */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #365a36;
}

/* Hero animations - only for below-fold content */
@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .hero-images {
        animation: fadeInRight 0.8s ease-out 0.2s forwards;
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Collection cards */
.collection-card {
    opacity: 1;
}

/* Experience cards */
.experience-card {
    opacity: 1;
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Mobile menu */
.mobile-menu-link {
    opacity: 1;
}

/* Back to top button */
.back-to-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-2px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c9a227;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav,
    .back-to-top,
    #mobile-menu-btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}
