/* ============================================
   B & L Fair Food's — Premium Dark Luxury CSS
   ============================================ */

/* --- Custom Properties --- */
:root {
    --gold: #D4A853;
    --gold-light: #EDCF82;
    --gold-dark: #B8860B;
    --burgundy: #7B2D3B;
    --burgundy-deep: #3D0F18;
    --blush: #FF6B6B;
    --dark: #0A0A0A;
    --dark-deeper: #050505;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Raleway', Arial, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-deeper);
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Gold Button --- */
.gold-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--dark-deeper);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.gold-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.3);
}

.gold-btn:hover::before {
    opacity: 1;
}

.gold-btn span,
.gold-btn svg,
.gold-btn p {
    position: relative;
    z-index: 1;
}

/* --- Gold Card --- */
.gold-card {
    background: linear-gradient(145deg, rgba(212, 168, 83, 0.15) 0%, rgba(123, 45, 59, 0.1) 100%);
    border: 1px solid rgba(212, 168, 83, 0.25);
    backdrop-filter: blur(10px);
}

/* --- Feature Pill --- */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition);
}

.feature-pill:hover {
    background: rgba(212, 168, 83, 0.1);
    border-color: rgba(212, 168, 83, 0.3);
    color: var(--gold);
}

/* --- Card Glow --- */
.card-glow {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.card-glow:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 168, 83, 0.2);
    box-shadow: 0 0 40px rgba(212, 168, 83, 0.06);
}

/* --- Info Card --- */
.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 168, 83, 0.15);
    transform: translateX(4px);
}

/* --- Form Inputs --- */
.form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    transition: all var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    border-color: rgba(212, 168, 83, 0.6);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.form-input:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

/* --- Navigation --- */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(212, 168, 83, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--gold) !important;
}

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

/* --- Hamburger --- */
.hamburger-line {
    transition: all 0.3s ease;
}

#mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

#mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
    margin-right: 0;
}

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

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* --- Hero Orbs --- */
.hero-orb {
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    animation-delay: 0s;
}

.orb-2 {
    animation-delay: -3s;
    animation-duration: 10s;
}

.orb-3 {
    animation-delay: -5s;
    animation-duration: 12s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.02); }
}

/* --- Scroll Indicator --- */
.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: -8px;
    left: -3px;
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: -8px; opacity: 1; }
    50% { top: 40px; opacity: 0.3; }
}

/* --- Menu Tabs --- */
.menu-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all var(--transition);
}

.menu-tab:hover {
    color: var(--gold);
    border-color: rgba(212, 168, 83, 0.3);
}

.menu-tab.active {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--dark-deeper);
    border-color: transparent;
    font-weight: 600;
}

/* --- Menu Items --- */
.menu-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.menu-item.show {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Gallery --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-deeper);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 50;
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 168, 83, 0.4);
}

/* --- Reveal Animations --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-up.visible {
    transform: translateY(0);
}

.reveal-left.visible {
    transform: translateX(0);
}

.reveal-right.visible {
    transform: translateX(0);
}

/* --- Selection --- */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #fff;
}

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

::-webkit-scrollbar-track {
    background: var(--dark-deeper);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--burgundy), var(--gold-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .gold-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1.5rem;
        max-width: 100%;
    }
    
    .gallery-item {
        min-height: 180px;
    }
    
    .gallery-item.row-span-2 {
        row-span: 1;
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 70px;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 42px;
        height: 42px;
    }
}
