/* ============================================
   The Cajun Smokehouse — Custom Styles
   ============================================ */

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

body {
    overflow-x: hidden;
}

::selection {
    background: #ff6b4a;
    color: #0f0f0f;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff6b4a;
}

/* --- Navbar --- */
#navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* --- Mobile menu --- */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b4a;
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* --- Geometric accent shapes --- */
.geo-diamond {
    width: 12px;
    height: 12px;
    background: #ff6b4a;
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* --- Menu card hover effects --- */
.group:hover .group-hover\:rotate-6 {
    transform: rotate(6deg);
}

/* --- Button ripple effect --- */
button, a {
    position: relative;
    overflow: visible;
}

/* --- Image hover zoom --- */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

/* --- Section reveal animations (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; }
}

/* --- Coral gradient text helper --- */
.text-coral-gradient {
    background: linear-gradient(135deg, #ff6b4a 0%, #ff9f82 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Map dark theme override --- */
.leaflet-container {
    filter: invert(90%) hue-rotate(180deg) brightness(0.95) contrast(0.9);
}

/* --- Focus visible for accessibility --- */
*:focus-visible {
    outline: 2px solid #ff6b4a;
    outline-offset: 2px;
}

/* --- Smooth transitions for all interactive elements --- */
a, button, input, textarea, select {
    transition: all 0.3s ease;
}

/* --- Counter animation --- */
.counter {
    display: inline-block;
}

/* --- Custom bullet points for lists --- */
.custom-list li {
    position: relative;
    padding-left: 1.5rem;
}
.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: #ff6b4a;
    transform: rotate(45deg);
}
