/* 
    Custom styles for The Doo Whop
    Warm, friendly, rounded, approachable
*/

:root {
    --burgundy: #722F37;
    --blush: #FADADD;
    --cream: #FDFBF7;
}

body {
    background-color: var(--cream);
    color: #2D2D2D;
}

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

/* Custom selection color */
::selection {
    background-color: var(--blush);
    color: var(--burgundy);
}

/* Focus states for accessibility */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--burgundy);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Subtle hover transitions for images */
img {
    transition: transform 0.5s ease;
}

/* Ensure all text has good contrast */
.text-doo-text {
    color: #2D2D2D;
}

.text-doo-text-light {
    color: #595959;
}

/* Button hover effects handled by Tailwind, but adding custom transitions here if needed */
button, a {
    transition: all 0.3s ease;
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Navbar scroll state */
nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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