/* Custom styles for ECB Styling */

:root {
    --color-coral: #FF6B6B;
    --color-coral-dark: #E85555;
    --color-charcoal: #2D3436;
    --color-stone-50: #FAFAFA;
    --color-stone-100: #F5F5F5;
    --color-stone-200: #EEEEEE;
}

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Outfit:wght@300;400;500;600&display=swap');

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

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* Custom colors */
.text-coral {
    color: var(--color-coral);
}

.text-coral-dark {
    color: var(--color-coral-dark);
}

.bg-coral {
    background-color: var(--color-coral);
}

.bg-coral-dark {
    background-color: var(--color-coral-dark);
}

.bg-charcoal {
    background-color: var(--color-charcoal);
}

.text-charcoal {
    color: var(--color-charcoal);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

/* Delay classes for staggered animations */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

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

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

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

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

/* Focus styles for accessibility */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

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

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

/* Hero gradient animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-gradient {
    background: linear-gradient(-45deg, #fff5f5, #ffe8e8, #fff0f5, #ffe8d6);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal-up {
        opacity: 1;
        transform: none;
    }
}
