/* ===== CUSTOM STYLES ===== */

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

/* Selection color */
::selection {
    background-color: rgba(16, 185, 129, 0.2);
    color: #064E3B;
}

/* ===== ANIMATIONS ===== */

/* Floating cards */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

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

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

.floating-card {
    animation-duration: 4s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.animate-float-slow {
    animation-name: float-slow;
}

.animate-float-medium {
    animation-name: float-medium;
}

.animate-float-fast {
    animation-name: float-fast;
    animation-duration: 3s;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== ROOM CARDS ===== */
.room-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.room-card:hover {
    transform: translateY(-4px);
}

/* ===== AMENITY CARDS ===== */
.amenity-card {
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-4px);
}

/* ===== NAVBAR ===== */
.nav-scrolled {
    background: rgba(253, 252, 248, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: 0 1px 0 rgba(5, 150, 105, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.nav-scrolled .nav-link {
    color: #065F46 !important;
}

/* ===== MOBILE MENU ===== */
.mobile-link {
    display: block;
    width: 100%;
    text-align: left;
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #10B981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .floating-card {
        display: none;
    }
}

/* ===== PRINT ===== */
@media print {
    nav, #contact, .floating-card { display: none; }
    body { color: #000; background: #fff; }
}
