/* ============================
   Luminous Noir — Shared Styles
   ============================ */

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0e0e11; }
::-webkit-scrollbar-thumb { background: #353438; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d4af37; }

/* Selection */
::selection { background: #d4af37; color: #3c2f00; }

/* ============================
   Animations
   ============================ */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.skeleton-shimmer {
    background: linear-gradient(90deg, #1b1b1e 25%, #2a2a2d 50%, #1b1b1e 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.pulse-gold { animation: pulseGlow 2s infinite; }
.float-anim { animation: float 6s ease-in-out infinite; }
.ken-burns { animation: kenBurns 12s ease-in-out infinite alternate; }

/* Reveal animations */
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-fade {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-fade  { transform: scale(0.96); }

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ============================
   Nav link gold underline
   ============================ */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    height: 1px;
    width: 0;
    background: #d4af37;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================
   Glassmorphism utility
   ============================ */
.glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid rgba(212, 175, 55, 0.15);
}
.glass-strong {
    background: rgba(14, 14, 17, 0.75);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Ambient shadow for floating cards */
.ambient-shadow {
    box-shadow: 0 60px 80px -20px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.6s ease, background 0.5s ease;
}
.ambient-shadow:hover {
    box-shadow: 0 80px 100px -20px rgba(0, 0, 0, 0.7);
}

/* Decorative gold line */
.gold-divider {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #d4af37 50%, transparent 100%);
    margin: 1.5rem auto;
    width: 80px;
    opacity: 0.6;
}

/* Eyebrow label */
.eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #d4af37;
}

/* Display headline */
.display-headline {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.95;
}

/* Editorial body */
.editorial-body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #d0c5af;
}

/* Menu item — editorial list */
.menu-list-item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    transition: padding 0.3s ease;
}
.menu-list-item:hover {
    padding-left: 0.5rem;
}
.menu-list-item .dots {
    flex: 1;
    border-bottom: 1px dotted rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}
.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.gallery-item:hover .overlay {
    opacity: 1;
}

/* Image hover zoom wrapper */
.img-zoom { overflow: hidden; }
.img-zoom img {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-zoom:hover img { transform: scale(1.06); }

/* Page hero */
.page-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    transform: scale(1.05);
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(14, 14, 17, 0.4) 0%,
        rgba(14, 14, 17, 0.7) 60%,
        rgba(14, 14, 17, 1) 100%);
}

/* Form inputs */
.luna-input {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #4d4635;
    color: #e4e1e6;
    padding: 0.875rem 0;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}
.luna-input::placeholder { color: #6b6b6b; }
.luna-input:focus {
    outline: none;
    border-bottom-color: #d4af37;
}
.luna-input option {
    background: #1b1b1e;
    color: #e4e1e6;
}

/* ============================
   Mobile responsive fixes
   ============================ */

/* Allow grid children to shrink below their content size
   so emails / long words can wrap on narrow viewports. */
footer .grid > * { min-width: 0; }

/* Footer column links: ensure 32px+ tap target on touch. */
footer ul a {
    display: inline-block;
    min-height: 32px;
    padding: 4px 0;
    line-height: 1.4;
}

/* Footer email: break at sensible points if it ever overflows. */
footer a[href^="mailto:"] {
    overflow-wrap: anywhere;
}

/* Footer social icon links: 44x44 tap area. */
footer .flex.gap-4 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 9999px;
}

/* Footer bottom legal links: ensure 32px+ tap target. */
footer .flex.gap-6 a {
    display: inline-block;
    min-height: 32px;
    padding: 6px 0;
}

/* Menu tab bar: prevent huge stacked rows on mobile by
   allowing horizontal scroll with snap. */
@media (max-width: 767px) {
    .menu-tab {
        flex-shrink: 0;
    }
    /* The tabs wrapper div: enable horizontal scroll instead of wrap. */
    .flex.flex-wrap.justify-center.mb-20 {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start !important;
        scrollbar-width: none;
    }
    .flex.flex-wrap.justify-center.mb-20::-webkit-scrollbar { display: none; }
}

/* Reservation form selects: keep arrow visible on iOS. */
select.luna-input {
    -webkit-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #d4af37 50%),
                      linear-gradient(135deg, #d4af37 50%, transparent 50%);
    background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 28px;
}

/* Reserve button on form: ensure comfortable hit area. */
button[type="submit"] {
    min-height: 48px;
}
