/* Custom styles for Time Out Inn */

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

/* Custom animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 8s ease-in-out infinite;
}

/* Reveal animations - progressive enhancement, only when JS is available */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    
    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Navbar styles */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(26, 35, 126, 0.08);
}

.navbar-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-transparent .nav-link {
    color: rgba(26, 35, 126, 0.8) !important;
}

.navbar-transparent .navbar-brand {
    color: #1a237e !important;
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #58d68d;
}

/* Selection color */
::selection {
    background: #d5f5e3;
    color: #1a237e;
}

/* Button hover effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #82e0aa;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav, #mobile-menu, .animate-float, .animate-float-delay {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
