/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5f7;
}
::-webkit-scrollbar-thumb {
    background: #d9adbc;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a85576;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(250, 245, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(46, 16, 28, 0.08);
}

/* Hero geometric shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 118, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(251, 191, 36, 0.15);
    border-radius: 24px;
    top: 25%;
    right: 8%;
    transform: rotate(15deg);
}

.shape-line-1 {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 118, 0.2), transparent);
    bottom: 30%;
    left: 0;
    border-radius: 2px;
}

/* Scroll line animation */
.scroll-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, transparent, #a85576);
    animation: scrollDown 1.5s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes scrollDown {
    0% { top: -40%; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Marquee */
.marquee-track {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Collection cards */
.collection-card {
    transition: transform 0.3s ease;
}

.collection-card:hover {
    transform: translateY(-4px);
}

/* Scroll reveal animations (below the fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
.mobile-link {
    transition: opacity 0.2s ease;
}

/* Button focus states */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #a85576;
    outline-offset: 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;
    }
    .scroll-line {
        animation: none;
    }
    .marquee-track {
        animation: none;
    }
}

/* Mobile menu open state */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.close {
    opacity: 0;
    pointer-events: none;
}

/* Hamburger animation */
#menuToggle.active #bar1 {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuToggle.active #bar2 {
    opacity: 0;
}
#menuToggle.active #bar3 {
    width: 6px;
    transform: rotate(-45deg) translate(5px, -5px);
}
