/* === Shelby's — Custom Styles === */

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

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

::-webkit-scrollbar-track {
    background: #120E0B;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #D4845E;
}

/* Selection */
::selection {
    background: #C0603A;
    color: #F5E6D3;
}

/* === Navbar === */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(18, 14, 11, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(196, 168, 130, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* === Floating Card Animations === */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

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

/* === Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.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; }

/* === Menu Card Hover === */
.group:hover .group-hover\:scale-105 {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Gallery Hover === */
.group:hover .group-hover\:scale-110 {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Mobile Menu === */
.mobile-link {
    position: relative;
}

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

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

/* === Input Autofill === */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #120E0B inset !important;
    -webkit-text-fill-color: #F5E6D3 !important;
}

/* === Focus Visible === */
:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .group:hover .group-hover\:scale-105,
    .group:hover .group-hover\:scale-110 {
        transform: none;
    }
}
