/* Custom Styles for Fatty Daddy's Place */

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

/* Navbar Transition */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(14, 14, 18, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

/* Scroll Indicator */
.scroll-indicator {
    animation: float 2s ease-in-out infinite;
}

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

/* Reveal Animations - Progressive Enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger children */
    .room-card:nth-child(1) { transition-delay: 0.1s; }
    .room-card:nth-child(2) { transition-delay: 0.2s; }
    .room-card:nth-child(3) { transition-delay: 0.3s; }
}

/* Room Card Hover */
.room-card {
    transform: translateY(0);
}

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

/* Button Focus States */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #ff8a68;
    outline-offset: 2px;
}

/* Input Focus States */
input:focus,
textarea:focus {
    outline: none;
}

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

::-webkit-scrollbar-track {
    background: #1a1a1f;
}

::-webkit-scrollbar-thumb {
    background: #42424a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b6b76;
}

/* Selection Color */
::selection {
    background-color: #ff8a68;
    color: white;
}

/* Mobile Navigation Links */
.mobile-nav-link {
    position: relative;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff8a68;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 100%;
}

/* Nav Links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff8a68;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
