/* ============================================
   QR Menü - Tema Stilleri
   Her tema tamamen farklı bir tasarım deneyimi sunar
   ============================================ */

/* -------------------------------------------------------
   Tema: Varsayılan (Açık)
   Temiz, minimal, beyaz arka plan
   ------------------------------------------------------- */
body.theme-default {
    --bg: #f7f7f7;
    --surface: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #f0f0f0;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-search: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* -------------------------------------------------------
   Tema: Gece (Koyu)
   Glassmorphism efektli modern karanlık tema
   Neon vurgulu, cam efektli kartlar
   ------------------------------------------------------- */
body.theme-dark {
    --bg: #0a0a0f;
    --surface: rgba(255, 255, 255, 0.04);
    --text-primary: #eef0f6;
    --text-secondary: #8b8fa3;
    --text-muted: #555770;
    --border: rgba(255, 255, 255, 0.06);
    --accent: #a78bfa;
    --accent-light: rgba(167, 139, 250, 0.1);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 40px rgba(167, 139, 250, 0.15);
    --shadow-search: 0 2px 20px rgba(0, 0, 0, 0.3);
    --radius-sm: 16px;
    --radius-md: 20px;
    --radius-lg: 24px;
}

body.theme-dark .header {
    background: linear-gradient(180deg, rgba(20, 20, 35, 0.95) 0%, rgba(10, 10, 15, 0.8) 100%);
    border-bottom: 1px solid rgba(167, 139, 250, 0.08);
}

body.theme-dark .product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.theme-dark .product-card:hover {
    border-color: rgba(167, 139, 250, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

body.theme-dark .card-price {
    color: #a78bfa;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}

body.theme-dark .cat-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

body.theme-dark .cat-chip.active {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.4);
}

body.theme-dark .lang-btn.active {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    box-shadow: 0 2px 12px rgba(167, 139, 250, 0.4);
}

body.theme-dark .search-section {
    background: transparent;
}

body.theme-dark .search-bar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

body.theme-dark .search-bar:focus-within {
    border-color: rgba(167, 139, 250, 0.4);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1), 0 0 30px rgba(167, 139, 250, 0.05);
}

body.theme-dark .categories-section {
    background: rgba(10, 10, 15, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
}

body.theme-dark .lang-switcher {
    background: rgba(255, 255, 255, 0.04);
}

body.theme-dark .placeholder-img {
    background: linear-gradient(135deg, #131320, #1a1a2e);
}

body.theme-dark .footer {
    border-top-color: rgba(255, 255, 255, 0.04);
}

body.theme-dark .section-title {
    letter-spacing: 0.03em;
}

/* -------------------------------------------------------
   Tema: Okyanus
   Premium lüks restoran teması
   Derin lacivert, altın accent, zarif kartlar
   ------------------------------------------------------- */
body.theme-ocean {
    --bg: #0b1024;
    --surface: #111836;
    --text-primary: #e8ecf4;
    --text-secondary: #8892b0;
    --text-muted: #5a6380;
    --border: rgba(136, 146, 176, 0.08);
    --accent: #f0b429;
    --accent-light: rgba(240, 180, 41, 0.1);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.4);
    --shadow-search: 0 2px 20px rgba(0, 0, 0, 0.3);
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 20px;
}

body.theme-ocean .header {
    background: linear-gradient(180deg, #0d1430 0%, #111836 100%);
    border-bottom: 1px solid rgba(240, 180, 41, 0.08);
}

body.theme-ocean .header-title {
    font-weight: 800;
    letter-spacing: -0.01em;
}

body.theme-ocean .header-slogan {
    color: #f0b429;
    font-weight: 400;
    font-style: italic;
}

body.theme-ocean .header-logo {
    border-radius: 14px;
    border: 2px solid rgba(240, 180, 41, 0.3);
}

body.theme-ocean .product-card {
    background: linear-gradient(160deg, #141c3d 0%, #111836 100%);
    border: 1px solid rgba(136, 146, 176, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.theme-ocean .product-card:hover {
    border-color: rgba(240, 180, 41, 0.15);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

body.theme-ocean .card-price {
    color: #f0b429;
    font-weight: 800;
}

body.theme-ocean .card-name {
    font-weight: 600;
}

body.theme-ocean .section-title {
    font-weight: 700;
    color: #e8ecf4;
    position: relative;
    padding-bottom: 0.5rem;
}

body.theme-ocean .section-title::after {
    content: '';
    position: absolute;
    left: 0.25rem;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #f0b429, transparent);
    border-radius: 2px;
}

body.theme-ocean .cat-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(136, 146, 176, 0.12);
}

body.theme-ocean .cat-chip.active {
    background: linear-gradient(135deg, #f0b429, #e09a10);
    color: #0b1024;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(240, 180, 41, 0.3);
    font-weight: 700;
}

body.theme-ocean .lang-btn.active {
    background: #f0b429;
    color: #0b1024;
    box-shadow: 0 2px 10px rgba(240, 180, 41, 0.3);
}

body.theme-ocean .lang-switcher {
    background: rgba(255, 255, 255, 0.04);
}

body.theme-ocean .search-section {
    background: transparent;
}

body.theme-ocean .search-bar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(136, 146, 176, 0.1);
}

body.theme-ocean .search-bar:focus-within {
    border-color: rgba(240, 180, 41, 0.4);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.08);
}

body.theme-ocean .categories-section {
    background: rgba(11, 16, 36, 0.95);
    border-bottom: 1px solid rgba(136, 146, 176, 0.06);
    backdrop-filter: blur(20px);
}

body.theme-ocean .placeholder-img {
    background: linear-gradient(135deg, #111836, #1a2240);
}

body.theme-ocean .footer {
    border-top: 1px solid rgba(136, 146, 176, 0.06);
}

/* -------------------------------------------------------
   Tema: Orman
   Büyük kart düzeni, tek sütun, doğal yuvarlaklıklar,
   Organik kafeterya hissi
   ------------------------------------------------------- */
body.theme-forest {
    --bg: #faf6f1;
    --surface: #ffffff;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-muted: #a0a8ab;
    --border: rgba(45, 52, 54, 0.06);
    --accent: #00b894;
    --accent-light: rgba(0, 184, 148, 0.08);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-search: 0 2px 12px rgba(0, 0, 0, 0.04);
    --radius-sm: 20px;
    --radius-md: 24px;
    --radius-lg: 28px;
    --radius-full: 9999px;
}

body.theme-forest .header {
    background: linear-gradient(180deg, #f0ebe4 0%, #faf6f1 100%);
}

body.theme-forest .header-title {
    color: #2d3436;
    font-weight: 800;
}

body.theme-forest .header-slogan {
    color: #00b894;
}

body.theme-forest .header-logo {
    border-radius: 50%;
    border: 3px solid #00b894;
}

/* Orman - Tek sütun büyük kartlar */
body.theme-forest .products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

body.theme-forest .product-card {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

body.theme-forest .product-card:hover {
    box-shadow: 0 16px 40px rgba(0, 184, 148, 0.1);
    transform: translateY(-4px);
}

body.theme-forest .card-img {
    aspect-ratio: 16 / 9;
}

body.theme-forest .card-body {
    padding: 1rem 1.25rem 1.25rem;
}

body.theme-forest .card-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

body.theme-forest .card-desc {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
    color: var(--text-secondary);
}

body.theme-forest .card-price {
    color: #00b894;
    font-size: 1.15rem;
    font-weight: 800;
}

body.theme-forest .section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2d3436;
    position: relative;
    padding-left: 1rem;
}

body.theme-forest .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    bottom: 0.2em;
    width: 4px;
    background: #00b894;
    border-radius: 4px;
}

body.theme-forest .cat-chip {
    background: #f0ebe4;
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1.25rem;
    color: #636e72;
    font-weight: 600;
}

body.theme-forest .cat-chip.active {
    background: #00b894;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 184, 148, 0.3);
}

body.theme-forest .lang-btn.active {
    background: #00b894;
    box-shadow: 0 2px 8px rgba(0, 184, 148, 0.3);
}

body.theme-forest .lang-switcher {
    background: #f0ebe4;
}

body.theme-forest .search-bar {
    background: #f0ebe4;
    border-radius: 9999px;
    border: 2px solid transparent;
}

body.theme-forest .search-bar:focus-within {
    border-color: #00b894;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.1);
}

body.theme-forest .search-section {
    background: transparent;
}

body.theme-forest .categories-section {
    background: rgba(250, 246, 241, 0.95);
    border-bottom: none;
    backdrop-filter: blur(20px);
}

body.theme-forest .placeholder-img {
    background: linear-gradient(135deg, #f0ebe4, #e8e2da);
}

body.theme-forest .footer {
    border-top: none;
    color: #a0a8ab;
}

body.theme-forest .product-card.no-image {
    background: linear-gradient(135deg, #f0ebe4, #faf6f1);
}