/* Custom styles for Sophisticuts for Ladies */

:root {
    --coral-50: #fff5f5;
    --coral-100: #ffe5e5;
    --coral-500: #ff6666;
    --coral-600: #e63946;
    --coral-700: #cc2d3a;
    --warm-50: #faf8f6;
    --warm-100: #f5f0eb;
    --warm-200: #ebe0d5;
    --charcoal: #2d2d2d;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', system-ui, sans-serif;
    color: var(--charcoal);
    background-color: var(--warm-50);
    overflow-x: hidden;
}

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

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

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

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

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

::-webkit-scrollbar-track {
    background: var(--warm-100);
}

::-webkit-scrollbar-thumb {
    background: var(--coral-600);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coral-700);
}

/* Selection color */
::selection {
    background-color: var(--coral-200);
    color: var(--charcoal);
}

/* Focus styles */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid var(--coral-500);
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.active {
    max-height: 400px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, var(--warm-100) 25%, var(--warm-200) 50%, var(--warm-100) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

img[src] {
    animation: none;
    background: none;
}

/* Navbar glass effect when scrolled */
nav.scrolled {
    background: rgba(250, 248, 246, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav.scrolled a,
nav.scrolled span {
    color: var(--charcoal) !important;
}
