/* Custom styles for Elite Crete */

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

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

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

::-webkit-scrollbar-thumb {
    background: #d9c0a0;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #f9c7bc;
    color: #7a2315;
}

/* Animation for floating cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply float animation to floating cards */
.absolute.-top-6.-left-6,
.absolute.-bottom-4.-right-4 {
    animation: float 4s ease-in-out infinite;
}

.absolute.-bottom-4.-right-4 {
    animation-delay: 2s;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .absolute.-top-6.-left-6,
    .absolute.-bottom-4.-right-4 {
        animation: none;
    }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Image loading placeholder */
img {
    background-color: #f3ebe0;
}

/* Mobile menu transition */
#mobileMenu {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

#mobileMenu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobileMenu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}
