﻿@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&family=Tajawal:wght@300;400;500;700;900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Primary Colors requested by user */
    --primary: #080046;          /* Deep Royal Navy */
    --primary-light: #160a63;    /* Royal Indigo */
    --primary-glow: rgba(8, 0, 70, 0.25);
    
    --accent: #dba562;           /* Warm Golden Sand */
    --accent-light: #e6b97e;
    --accent-dark: #b88340;
    --accent-glow: rgba(219, 165, 98, 0.35);

    /* Brand consistency aliases */
    --cafe-gold: var(--accent);
    --cafe-gold-dark: var(--accent-dark);
    --cafe-roast: var(--primary);
    --cafe-espresso: var(--primary);
    --cafe-cream: #faf7f2;

    /* Light & Modern Canvas & Surfaces */
    --bg-canvas: #f8fafc;        /* Crisp porcelain canvas */
    --bg-surface: #ffffff;       /* Pure white cards */
    --bg-surface-hover: #fbfcfe;
    --bg-subtle: #f1f5f9;        /* Soft neutral background */
    --surface-border: rgba(8, 0, 70, 0.08);
    --surface-border-strong: rgba(8, 0, 70, 0.15);

    /* Typography */
    --text-primary: #080046;     /* Deep navy for high-contrast, modern readability */
    --text-secondary: #475569;   /* Slate gray */
    --text-muted: #8090a7;

    /* Functional Accents */
    --success: #059669;
    --success-bg: rgba(5, 150, 105, 0.1);
    --warning: #d97706;
    --warning-bg: rgba(217, 119, 6, 0.1);
    --info: #2563eb;
    --info-bg: rgba(37, 99, 235, 0.1);
    --danger: #dc2626;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    --shadow-sm: 0 4px 12px rgba(8, 0, 70, 0.04);
    --shadow-main: 0 12px 32px rgba(8, 0, 70, 0.07);
    --shadow-hover: 0 18px 45px rgba(8, 0, 70, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-canvas);
    background-image: 
        radial-gradient(at 100% 0%, rgba(219, 165, 98, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(8, 0, 70, 0.05) 0px, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    direction: rtl;
    text-align: right;
    line-height: 1.6;
    overflow-x: hidden;
}

body.ltr-mode {
    direction: ltr;
    text-align: left;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

/* Modern Card */
.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Contrast Safety Guards for Light Modern Theme */
.glass-card, .pager-device {
    color: var(--text-primary);
}

.glass-card h1, .glass-card h2, .glass-card h3, .glass-card h4, .glass-card h5, .glass-card h6,
.pager-device h1, .pager-device h2, .pager-device h3, .pager-device h4, .pager-device h5, .pager-device h6 {
    color: var(--primary) !important;
}

/* Force dark readable navy if text-white was placed on a light card */
.glass-card .text-white:not(.btn):not(.badge),
.pager-device .text-white:not(.btn):not(.badge),
.table-dark-custom .text-white {
    color: var(--primary) !important;
}

/* Modern Light Navbar */
.main-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
    padding: 0.9rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.brand-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
}

.nav-link-fandeer {
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nav-link-fandeer:hover {
    color: var(--accent-dark) !important;
    background: rgba(219, 165, 98, 0.12);
}

/* Custom Modern Fandeer Buttons */
.btn-fandeer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #ffffff !important;
    border: 1px solid rgba(219, 165, 98, 0.4);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px var(--primary-glow);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-fandeer:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary-light) 0%, #201085 100%);
    box-shadow: 0 8px 24px rgba(8, 0, 70, 0.35);
    color: #ffffff;
}

.btn-fandeer-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--primary) !important;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.75rem 1.75rem;
    font-weight: 800;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-fandeer-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(219, 165, 98, 0.5);
    color: var(--primary);
}

.btn-fandeer-outline {
    background: transparent;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.75rem;
    font-weight: 700;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-fandeer-outline:hover {
    border-color: var(--accent);
    background: rgba(219, 165, 98, 0.12);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm-action {
    padding: 0.45rem 1rem;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
}

/* Status Badges */
.badge-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-pending {
    background: var(--warning-bg);
    color: #b45309;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.badge-preparing {
    background: rgba(219, 165, 98, 0.15);
    color: #925816;
    border: 1px solid rgba(219, 165, 98, 0.4);
}

.badge-ready {
    background: var(--success-bg);
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.4);
    box-shadow: 0 0 15px rgba(5, 150, 105, 0.2);
    animation: pulse-ring 2s infinite;
}

.badge-completed {
    background: var(--bg-subtle);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

/* Vibrating Pager Animation for Customer Mobile Screen */
@keyframes pager-shake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(-3px, -3px) rotate(-1deg); }
    20% { transform: translate(3px, 2px) rotate(1deg); }
    30% { transform: translate(-4px, 1px) rotate(-1deg); }
    40% { transform: translate(4px, -2px) rotate(1deg); }
    50% { transform: translate(-2px, 3px) rotate(0deg); }
    60% { transform: translate(3px, 1px) rotate(1deg); }
    70% { transform: translate(-3px, -2px) rotate(-1deg); }
    80% { transform: translate(2px, 2px) rotate(1deg); }
    90% { transform: translate(-1px, -1px) rotate(0deg); }
}

.vibrate-active {
    animation: pager-shake 0.4s infinite !important;
}

@keyframes pulse-ring {
    0% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(219, 165, 98, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 16px rgba(219, 165, 98, 0); }
    100% { transform: scale(0.98); box-shadow: 0 0 0 0 rgba(219, 165, 98, 0); }
}

.pulse-glow {
    animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Stat Cards */
.stat-box {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--surface-border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: var(--accent);
}

body.ltr-mode .stat-box::before {
    right: auto;
    left: 0;
}

.stat-value {
    font-size: 2.3rem;
    font-weight: 900;
    font-family: 'Cairo', sans-serif;
    color: var(--primary);
    margin-top: 0.4rem;
}

/* TV Display Screen Styles (High-Contrast Sleek Dark Modern) */
.tv-screen {
    background: #05002e;
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

.tv-number-card {
    background: rgba(14, 7, 60, 0.95);
    border: 2px solid rgba(219, 165, 98, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tv-number-ready {
    border-color: #10b981;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.15) 0%, rgba(14, 7, 60, 0.95) 100%);
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.3);
}

.tv-number-ready .number-text {
    font-size: 4rem;
    font-weight: 900;
    color: #34d399;
    letter-spacing: 2px;
}

.tv-number-prep {
    border-color: rgba(219, 165, 98, 0.4);
}

.tv-number-prep .number-text {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
}

/* Customer Mobile Pager Styles (Modern Light & Gold) */
.mobile-pager-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
}

.pager-device {
    background: #ffffff;
    border: 3px solid var(--accent);
    border-radius: 36px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(8, 0, 70, 0.12), 0 0 30px rgba(219, 165, 98, 0.25);
    position: relative;
    overflow: hidden;
}

.pager-led {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0 auto 16px auto;
    background: #f59e0b;
    box-shadow: 0 0 12px #f59e0b;
}

.pager-led.active {
    background: #10b981;
    box-shadow: 0 0 20px #10b981;
    animation: blink-led 0.6s infinite alternate;
}

@keyframes blink-led {
    from { opacity: 0.3; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.2); }
}

.order-big-number {
    font-size: 4.5rem;
    font-weight: 900;
    font-family: 'Cairo', sans-serif;
    color: var(--primary);
    line-height: 1;
    text-shadow: 0 4px 15px rgba(8, 0, 70, 0.15);
}

/* Dashboard Statistics Boxes */
.stat-box {
    background: var(--bg-surface);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-inline-start: 4px solid var(--accent);
}

.stat-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-main);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Cairo', sans-serif;
    color: var(--primary);
    line-height: 1.2;
    margin: 4px 0;
}

/* Modern Light Order Tables */
.table-dark-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table-dark-custom tr {
    background: #ffffff;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.table-dark-custom tr:hover {
    background: #fbfcfe;
    box-shadow: var(--shadow-main);
    transform: translateY(-1px);
}

.table-dark-custom td, .table-dark-custom th {
    padding: 14px 18px;
    vertical-align: middle;
}

.table-dark-custom th {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    background: transparent;
}

.table-dark-custom td:first-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.table-dark-custom td:last-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

body.ltr-mode .table-dark-custom td:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

body.ltr-mode .table-dark-custom td:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Modern Form Controls */
.form-control-custom {
    background: #ffffff;
    border: 1.5px solid var(--surface-border-strong);
    border-radius: var(--radius-md);
    color: var(--primary);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
}

.form-control-custom:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(219, 165, 98, 0.25);
    background: #ffffff;
    color: var(--primary);
}

.form-control-custom::placeholder {
    color: #94a3b8;
}

/* Fullscreen modal for buzzer */
.buzzer-modal {
    position: fixed;
    inset: 0;
    background: rgba(8, 0, 70, 0.95);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    place-items: center;
    padding: 20px;
}

.buzzer-modal.open {
    display: grid;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Game Modal & Canvas Overlay */
.game-modal-dialog {
    max-width: 480px;
    width: 96vw;
    margin: 1rem auto;
}

@media (max-width: 576px) {
    .game-modal-dialog {
        width: 96vw;
        margin: 0.5rem auto;
    }
}

.game-modal-content {
    background: radial-gradient(circle at 50% 0%, #160654 0%, #08003a 60%, #030018 100%) !important;
    border: 2px solid var(--accent) !important;
    border-radius: 28px !important;
    box-shadow: 0 25px 70px rgba(8, 0, 70, 0.7), 0 0 40px rgba(219, 165, 98, 0.25) !important;
    overflow: hidden;
}

.game-canvas-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 480;
    max-height: 58vh;
    border-radius: 22px;
    overflow: hidden;
    border: 1.5px solid rgba(219, 165, 98, 0.45);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.75), 0 8px 30px rgba(0, 0, 0, 0.5);
    background: radial-gradient(circle at 50% 15%, #1c0663 0%, #07002e 70%, #020014 100%);
    touch-action: none;
}

#coffeeCanvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

.game-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(8, 0, 58, 0.94);
    backdrop-filter: blur(12px);
    z-index: 100;
    padding: 1.5rem;
    text-align: center;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.game-overlay.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Game Touch Pad Buttons */
.game-touch-pad {
    background: linear-gradient(180deg, rgba(219, 165, 98, 0.25) 0%, rgba(219, 165, 98, 0.12) 100%);
    border: 2px solid var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.35rem;
    border-radius: 20px;
    padding: 15px 20px;
    flex: 1;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 6px 18px rgba(8, 0, 70, 0.4);
    transition: all 0.12s ease;
    cursor: pointer;
}

.game-touch-pad:active {
    background: var(--accent) !important;
    color: var(--primary) !important;
    transform: scale(0.96);
    box-shadow: 0 0 25px rgba(219, 165, 98, 0.7);
}

/* Push Notification Requirement Modal & Badges */
.push-requirement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 0, 70, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.push-requirement-overlay.active {
    opacity: 1;
    visibility: visible;
}

.push-requirement-card {
    background: #ffffff;
    border: 2.5px solid var(--accent);
    border-radius: 28px;
    max-width: 440px;
    width: 100%;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(8, 0, 70, 0.45), 0 0 40px rgba(219, 165, 98, 0.35);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.push-requirement-overlay.active .push-requirement-card {
    transform: scale(1);
}

.bell-pulse-container {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: rgba(219, 165, 98, 0.15);
    border: 2px solid var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    animation: bell-bounce 1.6s infinite ease-in-out;
}

@keyframes bell-bounce {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 15px rgba(219, 165, 98, 0.3); }
    50% { transform: translateY(-6px) scale(1.08); box-shadow: 0 0 30px rgba(219, 165, 98, 0.6); }
}

.pulse-btn-accent {
    background: linear-gradient(135deg, #dba562 0%, #b8860b 100%);
    color: #080046 !important;
    border: none;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(219, 165, 98, 0.45);
    transition: all 0.25s ease;
    animation: btn-pulse 2s infinite ease-in-out;
}

.pulse-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(219, 165, 98, 0.6);
}

@keyframes btn-pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(219, 165, 98, 0.4); }
    50% { box-shadow: 0 12px 32px rgba(219, 165, 98, 0.7); transform: scale(1.02); }
}

/* ============================================================
   FANDEER COFFEE - LUXURY PUBLIC WEBSITE DESIGN SYSTEM
   ============================================================ */
:root {
    --cafe-dark: #080046;
    --cafe-espresso: #160a63;
    --cafe-roast: #080046;
    --cafe-gold: #dba562;
    --cafe-gold-light: #f0caa0;
    --cafe-gold-dark: #b88340;
    --cafe-cream: #fbf8f5;
    --cafe-latte: #ecdccb;
    --cafe-card-bg: rgba(255, 255, 255, 0.95);
    --cafe-card-dark: rgba(8, 0, 70, 0.92);
}

/* Staff Auth Ribbon */
.staff-auth-ribbon {
    background: #080046;
    color: #f1f5f9;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(219, 165, 98, 0.3);
}

.staff-auth-ribbon a {
    color: var(--cafe-gold);
    text-decoration: none;
    font-weight: 600;
}

.staff-auth-ribbon a:hover {
    text-decoration: underline;
}

/* Luxury Main Navbar */
.fandeer-navbar {
    background: rgba(8, 0, 70, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(219, 165, 98, 0.28);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1040;
    transition: all 0.3s ease;
}

.fandeer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.fandeer-brand img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.fandeer-brand:hover img {
    transform: scale(1.05);
}

.fandeer-brand-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #ffffff;
    line-height: 1.2;
}

.fandeer-brand-slogan {
    font-size: 0.75rem;
    color: var(--cafe-gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.fandeer-nav-link {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
    position: relative;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fandeer-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--cafe-gold);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.fandeer-nav-link:hover, .fandeer-nav-link.active {
    color: var(--cafe-gold);
    background: rgba(219, 165, 98, 0.1);
}

.fandeer-nav-link:hover::after, .fandeer-nav-link.active::after {
    width: 60%;
}

.btn-fandeer-gold {
    background: linear-gradient(135deg, #dba562 0%, #b88340 100%);
    color: #080046 !important;
    font-weight: 800;
    padding: 9px 20px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(219, 165, 98, 0.35);
}

.btn-fandeer-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(219, 165, 98, 0.5);
    background: linear-gradient(135deg, #e6b97e 0%, #c8934e 100%);
}

.btn-fandeer-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(219, 165, 98, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-fandeer-ghost:hover {
    background: rgba(219, 165, 98, 0.15);
    border-color: var(--cafe-gold);
    color: var(--cafe-gold) !important;
}

/* Hero Section */
.cafe-hero-section {
    position: relative;
    background: #080046;
    color: #ffffff;
    overflow: hidden;
}

.cafe-hero-banner {
    width: 100%;
    min-height: 480px;
    max-height: 620px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.cafe-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 0, 70, 0.92) 0%, rgba(8, 0, 70, 0.48) 55%, rgba(8, 0, 70, 0.20) 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 52px;
}

.hero-badge {
    background: rgba(219, 165, 98, 0.2);
    border: 1px solid rgba(219, 165, 98, 0.5);
    color: var(--cafe-gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

/* Section Headings */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(219, 165, 98, 0.15);
    border: 1.5px solid rgba(219, 165, 98, 0.35);
    color: var(--cafe-gold-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--cafe-roast);
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Feature Pillars */
.pillar-card {
    background: #ffffff;
    border: 1px solid rgba(219, 165, 98, 0.25);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: var(--cafe-gold);
    box-shadow: 0 20px 45px rgba(219, 165, 98, 0.18);
}

.pillar-icon-box {
    width: 76px;
    height: 76px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(219, 165, 98, 0.2) 0%, rgba(219, 165, 98, 0.05) 100%);
    border: 1.5px solid rgba(219, 165, 98, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
}

/* Product Cards */
.drink-card {
    background: #ffffff;
    border: 1px solid rgba(219, 165, 98, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.drink-card:hover {
    transform: translateY(-6px);
    border-color: var(--cafe-gold);
    box-shadow: 0 16px 36px rgba(219, 165, 98, 0.2);
}

.drink-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #080046;
}

.drink-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.drink-card:hover .drink-card-img {
    transform: scale(1.08);
}

.drink-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(8, 0, 70, 0.9);
    color: var(--cafe-gold);
    border: 1px solid rgba(219, 165, 98, 0.4);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
}

.drink-price {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--cafe-roast);
}

/* Menu Gallery Boards */
.menu-board-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(219, 165, 98, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    background: #080046;
}

.menu-board-card:hover {
    transform: translateY(-6px);
    border-color: var(--cafe-gold);
    box-shadow: 0 18px 40px rgba(219, 165, 98, 0.3);
}

.menu-board-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.menu-board-card:hover .menu-board-img {
    transform: scale(1.04);
}

.menu-board-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 0, 70, 0.95) 0%, rgba(8, 0, 70, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff;
}

/* Branch Cards */
.branch-card {
    background: #ffffff;
    border: 1.5px solid rgba(219, 165, 98, 0.2);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.branch-card:hover {
    border-color: var(--cafe-gold);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(219, 165, 98, 0.16);
}

.branch-city-pill {
    background: rgba(219, 165, 98, 0.15);
    color: var(--cafe-gold-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(219, 165, 98, 0.3);
}

/* Contact Info Cards */
.contact-feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(219, 165, 98, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--cafe-gold);
    box-shadow: 0 18px 40px rgba(219, 165, 98, 0.18);
}

.contact-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(219, 165, 98, 0.2) 0%, rgba(219, 165, 98, 0.05) 100%);
    color: var(--cafe-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 18px;
    border: 1.5px solid rgba(219, 165, 98, 0.35);
}

/* Social Media Button Circles */
.social-circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(219, 165, 98, 0.35);
    color: var(--cafe-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-circle-btn:hover {
    background: var(--cafe-gold);
    color: #080046;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(219, 165, 98, 0.4);
}

/* Luxury Footer */
.fandeer-footer {
    background: #05002b;
    color: #94a3b8;
    padding-top: 65px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(219, 165, 98, 0.2);
}

.fandeer-footer h5 {
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.fandeer-footer-link {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.fandeer-footer-link:hover {
    color: var(--cafe-gold);
    transform: translateX(-4px);
}

body.ltr-mode .fandeer-footer-link:hover {
    transform: translateX(4px);
}

.staff-discrete-link {
    color: #475569;
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.2s ease;
}

.staff-discrete-link:hover {
    color: var(--cafe-gold);
}

/* Mobile Sticky Bottom Navigation */
.fandeer-mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 0, 70, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(219, 165, 98, 0.28);
    z-index: 1050;
    padding: 8px 12px 10px;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 3px;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 10px;
}

.mobile-nav-item i {
    font-size: 1.25rem;
}

.mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--cafe-gold);
    background: rgba(219, 165, 98, 0.12);
}

/* Lightbox Modal */
.menu-lightbox-modal .modal-content {
    background: rgba(8, 0, 70, 0.98);
    border: 1px solid var(--cafe-gold);
    border-radius: 20px;
}

@media (max-width: 991px) {
    .fandeer-mobile-bar {
        display: block;
    }

    body {
        padding-bottom: 70px;
    }

    .cafe-hero-banner {
        min-height: 380px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}