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

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f0;
}
::-webkit-scrollbar-thumb {
    background: #9dbe83;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4d7f3d;
}

/* Selection */
::selection {
    background: #9dbe83;
    color: #1a3116;
}

/* Navbar transition states */
nav.scrolled {
    background: rgba(12, 26, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Room card image hover */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #4d7f3d !important;
    box-shadow: 0 0 0 3px rgba(77, 127, 61, 0.15) !important;
}

/* Animation utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .animate-bounce {
        animation: none;
    }
}

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

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

/* Date input styling */
input[type="date"] {
    color-scheme: light;
}
