/* ===== Custom Styles for Lil Cee's ===== */

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #0B0C0E;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0B0C0E;
}
::-webkit-scrollbar-thumb {
    background: #2a2d32;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C05640;
}

/* Selection */
::selection {
    background: rgba(192, 86, 64, 0.3);
    color: #E8DCC4;
}

/* ===== Animations ===== */

/* Scroll dot animation */
@keyframes scrollDot {
    0% { transform: translateY(-16px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

.animate-scroll-dot {
    animation: scrollDot 1.5s ease-in-out infinite;
}

/* ===== Navigation ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(11, 12, 14, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 175, 55, 0.08);
}

.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #D4AF37 !important;
}

/* Mobile menu lines animation */
#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}

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

.mobile-link {
    position: relative;
}

/* ===== Hero ===== */
#hero {
    position: relative;
}

/* ===== Menu Cards ===== */
.menu-card {
    background: #0B0C0E;
    border: 1px solid rgba(232, 220, 196, 0.06);
    border-radius: 4px;
    padding: 0;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.menu-card ul li {
    border-bottom: 1px solid rgba(232, 220, 196, 0.04);
    padding-bottom: 3px;
}

.menu-card ul li:last-child {
    border-bottom: none;
}

/* ===== Buttons ===== */
a[href^="tel"] {
    text-decoration: none;
}

/* ===== Gallery ===== */
.grid > div {
    position: relative;
    overflow: hidden;
}

/* ===== Scroll Reveal (Progressive Enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

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

/* If JS is disabled, all content is visible by default (already set in HTML) */

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .font-serif {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
}

/* ===== Focus States ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 4px;
    border-radius: 2px;
}
