/* =========================================
   1. SHARED FONT ASSETS (Agntio Central)
   ========================================= */

/* Brands (For WhatsApp Icon) */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('../../../assets/fonts/fa-brands-400.woff2') format('woff2');
}

/* Solid (For Icons) */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('../../../assets/fonts/fa-solid-900.woff2') format('woff2');
}

.fa, .fas, .far, .fab {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fab { font-family: 'Font Awesome 6 Brands'; font-weight: 400; }
.fas, .fa-solid { font-family: 'Font Awesome 6 Free'; font-weight: 900; }

.fa-whatsapp:before { content: "\f232"; }
.fa-shopping-cart:before { content: "\f07a"; }

/* =========================================
   2. KEBAP HAUS STYLES
   ========================================= */

:root {
    --nazar-gold: #d4af37;
    --nazar-orange: #ff6600;
    --dark-bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --white: #ffffff;
    --wa-green: #25D366;
}

body { 
    /* Using system fonts to be GDPR safe, adding Impact as backup for Oswald look */
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; 
    margin: 0; 
    background-color: var(--dark-bg); 
    color: var(--white); 
    overflow-x: hidden; 
}

h1, h2, h3 { 
    font-family: "Impact", "Arial Black", sans-serif; /* Simulating Oswald Style */
    letter-spacing: 1px;
}

/* HEADER */
header {
    height: 220px; display: flex; justify-content: center; align-items: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('../img/Mix Teller.jpg');
    background-size: cover; background-position: center; border-bottom: 3px solid var(--nazar-gold);
}
.logo-area { text-align: center; padding: 15px 40px; }
.logo-area h1 { font-size: 2.5rem; margin: 0; letter-spacing: 4px; color: var(--white); }
.logo-area img { width: 70% }

/* NAVIGATION */
.nav-wrapper {
    position: sticky; top: 0; z-index: 1000; background: #000;
    border-bottom: 2px solid var(--nazar-gold); display: flex; align-items: center;
}
.nav-container {
    display: flex; overflow-x: auto; white-space: nowrap; scroll-behavior: smooth;
    gap: 12px; padding: 12px 20px; width: 100%; scrollbar-width: none; -ms-overflow-style: none;
}
.nav-container::-webkit-scrollbar { display: none; }

@media (min-width: 1024px) {
    .nav-container { justify-content: center; overflow-x: hidden; }
    .nav-scroll-btn { display: none !important; }
}

.nav-scroll-btn {
    background: none; color: var(--nazar-gold); border: none; font-size: 1.5rem;
    padding: 0 15px; cursor: pointer; z-index: 1001; display: block;
}

.tab-btn {
    flex: 0 0 auto; padding: 8px 18px; border-radius: 50px; border: 1px solid #333;
    background: #1a1a1a; color: #fff; font-weight: 600; cursor: pointer; transition: 0.3s; font-size: 16px;
}
.tab-btn.active { background: var(--nazar-gold) !important; color: #000 !important; }

/* OVERLAYS */
#delay-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); z-index: 9999; justify-content: center; align-items: center; text-align: center;
}
.delay-box { padding: 30px; width: 85%; max-width: 400px; }
.loader-bar { width: 100%; height: 6px; background: #333; margin-top: 25px; border-radius: 10px; overflow: hidden; }
.loader-progress { width: 0%; height: 100%; background: var(--nazar-gold); transition: width 3s linear; }

#toast {
    position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(200px); 
    background: var(--nazar-gold); color: black; padding: 12px 30px; border-radius: 50px; 
    font-weight: 900; z-index: 5000; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
#toast.show { transform: translateX(-50%) translateY(0); }

#welcome-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 9999; display: flex;
    justify-content: center; align-items: center; backdrop-filter: blur(8px);
}
.welcome-card {
    background: #1a1a1a; padding: 40px 30px; border-radius: 25px;
    border: 2px solid var(--nazar-gold); text-align: center; width: 85%;
    max-width: 400px; box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.welcome-card h2 { color: var(--nazar-gold); margin-bottom: 15px; font-size: 1.8rem; }
.welcome-step { display: flex; align-items: center; text-align: left; margin-bottom: 20px; color: #ccc; font-size: 0.9rem; }
.step-icon { font-size: 1.5rem; margin-right: 15px; background: #333; padding: 10px; border-radius: 50%; min-width: 30px; text-align: center; }
.start-btn { background: var(--nazar-gold); color: black; border: none; padding: 15px 40px; border-radius: 50px; font-weight: 900; font-size: 1rem; cursor: pointer; width: 100%; margin-top: 10px; text-transform: uppercase; }

/* MENU */
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px 150px 20px; }
.menu-section { display: none; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.menu-section.active { display: grid; }
.item-card { background: var(--card-bg); border-radius: 15px; border: 1px solid #222; overflow: hidden; display: flex; flex-direction: column; transition: 0.3s; }
.item-card:hover { border-color: var(--nazar-gold); transform: scale(1.02); }
.item-img { height: 190px; width: 100%; object-fit: cover; }
.item-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.item-body h3 { margin: 0 0 8px 0; color: var(--nazar-gold); font-size: 1.4rem; }
.item-body p { font-size: 0.85rem; color: #bbb; margin-bottom: 20px; line-height: 1.5; }
.item-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-weight: 900; font-size: 1.3rem; color: white; }
.add-btn { background: var(--nazar-gold); color: black; border: none; padding: 10px 18px; font-weight: 800; border-radius: 6px; cursor: pointer; }

/* CART & MODAL */
#cart-floater { 
    position: fixed; bottom: 25px; right: 25px; background: #d43737; color: black; 
    padding: 18px 30px; border-radius: 50px; font-weight: 900; display: none; 
    z-index: 2000; cursor: pointer; box-shadow: 0 8px 25px rgba(255,102,0,0.4); 
    border: 2px solid white; 
}

#modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.97); z-index: 3000; justify-content: center; align-items: center; }
.modal-card { background: #111; padding: 30px; border-radius: 20px; width: 95%; max-width: 420px; border: 1px solid var(--nazar-gold); text-align: center; max-height: 90vh; overflow-y: auto; }
.input-field { width: 100%; padding: 14px; margin-bottom: 12px; border-radius: 10px; border: 1px solid #333; background: #000; color: white; box-sizing: border-box; }
.cart-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #222; align-items: center; }
.qty-btn { background: var(--nazar-gold); border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-weight: bold; }
#qrcode { background: white; padding: 12px; display: inline-block; border-radius: 12px; margin: 20px 0; }
.order-btn { background: var(--wa-green); color: white; width: 100%; padding: 18px; border: none; border-radius: 12px; font-weight: 900; cursor: pointer; font-size: 1.2rem; }

@media (max-width: 768px) {
    header { height: 160px; }
    .logo-area img { width: 60%; }
}