/* Custom CSS for Fashion New */

:root {
    --plum-50: #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8cfd9;
    --plum-300: #d4a7bc;
    --plum-400: #c07d9a;
    --plum-500: #a85a7a;
    --plum-600: #914462;
    --plum-700: #7a3651;
    --plum-800: #662e45;
    --plum-900: #4A1942;
    --plum-950: #2a0d24;
    --amber-300: #FCD34D;
    --amber-400: #F5C518;
    --amber-500: #F59E0B;
}

/* Font families */
.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-inter {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(250, 245, 247, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(74, 25, 66, 0.08);
}

.nav-logo-text {
    color: #4A1942;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F5C518;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu-link {
    position: relative;
}

/* Hero floating cards */
.floating-card-1 {
    animation: float1 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float2 7s ease-in-out infinite;
}

.floating-card-3 {
    animation: float3 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(1deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(12px) rotate(-1deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 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; }

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

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

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

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

/* Selection */
::selection {
    background: #F5C518;
    color: #2a0d24;
}

/* Form inputs */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

/* Collection card hover */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* 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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        display: none;
    }

    #hero h1 {
        font-size: 3rem;
    }

    #hero h1 span {
        font-size: 3.5rem;
    }
}

@media (max-width: 640px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    #hero h1 span {
        font-size: 3rem;
    }
}
