/* Custom Styles for Cleo and Leo on Elm Street */

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

body {
    font-family: 'Lato', sans-serif;
    background-color: #FDFBF7;
    color: #2C2C2C;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

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

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

::-webkit-scrollbar-thumb {
    background: #D06046;
    border-radius: 5px;
}

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

/* Floating Animation for Hero Cards */
@keyframes float {
    0% { transform: translateY(0px) rotate(3deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(3deg); }
}

@keyframes float-reverse {
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(10px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

/* Apply floating animation to hero cards */
.lg\:block .absolute.top-0.right-0 {
    animation: float 4s ease-in-out infinite;
}

.lg\:block .absolute.top-40.left-0 {
    animation: float-reverse 4.5s ease-in-out infinite;
}

.lg\:block .absolute.bottom-0.right-12 {
    animation: float 5s ease-in-out infinite;
}

/* Hover effects for cards */
.absolute.top-0.right-0:hover,
.absolute.top-40.left-0:hover,
.absolute.bottom-0.right-12:hover {
    animation-play-state: paused;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.opacity-0 {
    visibility: hidden;
}

#mobile-menu.opacity-100 {
    visibility: visible;
}

/* Image Loading Placeholder */
img {
    background-color: #EFE3D5;
}

/* Focus States for Accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid #D06046;
    outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .absolute {
        display: none;
    }
}
