/* ============================================
   TREND BENDERZ KIDZ — Custom Styles
   Burgundy + Blush Editorial Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
    --color-burgundy-950: #3a0d0d;
    --color-burgundy-900: #6b1a1a;
    --color-burgundy-600: #b52a2a;
    --color-burgundy-500: #c43d3d;
    --color-burgundy-200: #f5c6c6;
    --color-burgundy-100: #fae5e5;
    --color-burgundy-50: #fdf2f2;
    --color-blush-300: #ffb3b3;
    --color-blush-100: #fff0f0;
    --color-cream: #faf8f5;
    --color-warmgray: #f5f3f0;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: var(--color-burgundy-200);
    color: var(--color-burgundy-950);
}

/* --- Navbar --- */
#navbar {
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    border-bottom-color: var(--color-burgundy-100);
    box-shadow: 0 1px 20px rgba(107, 26, 26, 0.06);
}

/* --- Floating Cards Animation --- */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: -2s;
}

.card-3 {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(0.5deg);
    }
    66% {
        transform: translateY(5px) rotate(-0.5deg);
    }
}

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

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Mobile Menu --- */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(6) { transition-delay: 0.35s; }

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

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

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-burgundy-200);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-burgundy-400);
}

/* --- Focus Styles --- */
:focus-visible {
    outline: 2px solid var(--color-burgundy-500);
    outline-offset: 2px;
}

/* --- Print Styles --- */
@media print {
    #navbar, .marquee-track, .floating-card {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
