/* Custom CSS for Charlene's Boutique */

:root {
    --plum-50: #faf5ff;
    --plum-100: #f3e8ff;
    --plum-200: #e9d5ff;
    --plum-300: #d8b4fe;
    --plum-400: #c084fc;
    --plum-500: #a855f7;
    --plum-600: #9333ea;
    --plum-700: #7e22ce;
    --plum-800: #6b21a8;
    --plum-900: #581c87;
    --plum-950: #3b0764;
    
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
}

/* Tailwind Config */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    html {
        scroll-behavior: smooth;
    }
    
    body {
        font-family: 'Quicksand', sans-serif;
    }
    
    .font-playfair {
        font-family: 'Playfair Display', serif;
    }
    
    .font-quicksand {
        font-family: 'Quicksand', sans-serif;
    }
}

@layer components {
    .btn-primary {
        @apply bg-gradient-to-r from-plum-600 to-plum-700 text-white px-6 py-3 rounded-full font-semibold hover:from-plum-700 hover:to-plum-800 transition-all duration-300 shadow-md hover:shadow-lg;
    }
    
    .btn-secondary {
        @apply bg-white text-plum-700 px-6 py-3 rounded-full font-semibold hover:bg-plum-50 transition-all duration-300 border border-plum-200;
    }
    
    .btn-primary-light {
        @apply bg-white text-plum-700 px-6 py-3 rounded-full font-semibold hover:bg-plum-50 transition-all duration-300 shadow-md hover:shadow-lg;
    }
    
    .btn-secondary-light {
        @apply bg-transparent text-white px-6 py-3 rounded-full font-semibold hover:bg-white/10 transition-all duration-300;
    }
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(88, 28, 135, 0.1);
}

.nav-logo-text {
    color: #581c87;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #9333ea, #f59e0b);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-nav-link {
    position: relative;
}

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

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

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
    animation-delay: 1s;
}

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

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

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #9333ea, #f59e0b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #7e22ce, #d97706);
}
