/* Custom base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #020617;
}

/* Floating card animations */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Scroll indicator animation */
@keyframes scrollDown {
    0% { top: -16px; opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

.animate-scrollDown {
    animation: scrollDown 1.5s ease-in-out infinite;
}

/* Room card hover effects */
.room-card {
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.room-card:hover {
    border-color: rgba(20, 184, 166, 0.2);
    background: rgba(20, 184, 166, 0.02);
}

.room-card:hover img {
    transform: scale(1.05);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile menu active state */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Mobile link hover */
.mobile-link {
    transition: all 0.3s ease;
}

.mobile-link:hover {
    letter-spacing: 0.1em;
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 166, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(20, 184, 166, 0.5);
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.2);
    color: #f0fdf9;
}

/* Fade-in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Input focus styles */
input:focus,
textarea:focus {
    border-color: rgba(20, 184, 166, 0.5) !important;
}

/* Date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(5) hue-rotate(130deg);
    cursor: pointer;
}
