/* ============================================
   Todo Cafe — Menü Arayüzü
   ============================================ */
:root {
    --bg: #0d0b09;
    --bg-2: #14110d;
    --surface: #1a1611;
    --surface-2: #221d16;
    --border: #2e2820;
    --text: #f5f1ea;
    --text-muted: #a89d8d;
    --accent: #d4a24e;
    --accent-2: #e8c07a;
    --accent-soft: rgba(212, 162, 78, 0.12);
    --radius: 18px;
    --shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ---- Hero ---- */
.hero {
    position: relative;
    background:
        radial-gradient(1000px 420px at 50% -120px, rgba(212, 162, 78, 0.16), transparent 65%),
        linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
    padding: 64px 20px 44px;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(245, 241, 234, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse 75% 80% at 50% 20%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 20%, black, transparent);
    pointer-events: none;
}
.hero-inner { position: relative; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--accent-2);
    font-size: 0.74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.3em;
    margin-bottom: 18px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
    content: ''; width: 34px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}
.hero-eyebrow::after { background: linear-gradient(90deg, var(--accent), transparent); }
.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 7vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.slogan {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 1.02rem;
}
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; margin-top: 24px;
}
.meta-chip {
    background: rgba(26, 22, 17, 0.8);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    padding: 8px 17px;
    border-radius: 999px;
    font-size: 0.86rem;
    transition: border-color 0.2s, transform 0.2s, color 0.2s;
}
.meta-chip:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-1px); }

/* ---- Kategori Navigasyonu ---- */
.category-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13, 11, 9, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.category-nav-inner {
    display: flex; gap: 8px;
    overflow-x: auto;
    padding: 12px 16px;
    max-width: 920px; margin: 0 auto;
    scrollbar-width: none;
}
.category-nav-inner::-webkit-scrollbar { display: none; }
.cat-link {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem; font-weight: 600;
    padding: 8px 17px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.cat-link:hover { color: var(--text); background: var(--surface); }
.cat-link.active {
    color: var(--accent-2);
    background: var(--accent-soft);
    border-color: rgba(212, 162, 78, 0.35);
}

/* ---- Arama ---- */
.search-wrap { max-width: 920px; margin: 22px auto 0; padding: 0 16px; }
.search-input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font: inherit; font-size: 0.95rem;
    padding: 13px 22px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 162, 78, 0.12);
}
.search-input::placeholder { color: var(--text-muted); }

/* ---- Menü ---- */
.menu { max-width: 920px; margin: 0 auto; padding: 8px 16px 48px; }
.category { padding-top: 40px; }
.category-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.45rem, 4vw, 1.8rem);
    font-weight: 800;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
}
.category-title::after {
    content: '';
    flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}
.category-title span { font-size: 1.3rem; }

.products { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .products { grid-template-columns: 1fr 1fr; } }

.product-card {
    display: flex;
    background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 162, 78, 0.45);
    box-shadow: var(--shadow);
}
.product-img { flex: 0 0 108px; }
.product-img img {
    width: 108px; height: 100%; min-height: 108px;
    object-fit: cover; display: block;
}
.product-body { flex: 1; padding: 16px 18px; min-width: 0; display: flex; flex-direction: column; }
.product-top {
    display: flex; justify-content: space-between;
    align-items: baseline; gap: 10px;
}
.product-name {
    font-size: 1.02rem; font-weight: 700;
    letter-spacing: 0.01em;
}
.product-dots {
    flex: 1;
    border-bottom: 2px dotted rgba(168, 157, 141, 0.35);
    margin: 0 2px;
    min-width: 16px;
    transform: translateY(-4px);
}
.product-price {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--accent-2);
    font-weight: 800;
    white-space: nowrap;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}
.product-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Rozetler ---- */
.badge {
    display: inline-block;
    font-size: 0.62rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 999px;
    vertical-align: 2px;
    margin-left: 7px;
}
.badge-new     { background: rgba(74, 222, 128, 0.12);  color: #6ee7a0; border: 1px solid rgba(74, 222, 128, 0.25); }
.badge-popular { background: rgba(212, 162, 78, 0.14);  color: var(--accent-2); border: 1px solid rgba(212, 162, 78, 0.3); }
.badge-sale    { background: rgba(248, 113, 113, 0.12); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.25); }

/* ---- Boş Durumlar ---- */
.empty-note, .no-result {
    text-align: center;
    color: var(--text-muted);
    padding: 70px 20px;
    font-size: 1.05rem;
}

/* ---- Footer ---- */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    padding: 34px 20px 40px;
}
.footer-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem; font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}
.footer-logo span { color: var(--accent); }
.footer .copy { margin-top: 8px; font-size: 0.78rem; opacity: 0.65; }
.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--accent-2); }
