/* ========================================
   ROOT DEĞİŞKENLER - SADECE FALLBACK
   ======================================== */
:root {
    --primary-color: #d4af37;
    --primary-dark: #b89628;
    --secondary-color: #121212;
    --bg-color: #000000;
    --card-bg: #1a1a1a;
    --text-color: #f0f0f0;
    --text-muted: #888;
    --border-color: #333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.12);
    --bottom-nav-height: 70px;
    --container-max-width: 1200px;
    --header-height: 80px;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    --card-shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* ========================================
   LIGHT MODE
   ======================================== */
[data-theme="light"] {
    --bg-color: #f5f3f0;
    --secondary-color: #f0ece7;
    --card-bg: #ffffff;
    --text-color: #1a1a1a;
    --text-muted: #666;
    --border-color: #ddd;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 0 15px rgba(212, 175, 55, 0.15);
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 70%, rgba(255, 255, 255, 0) 100%);
}

[data-theme="light"] header h1 {
    color: #1a1a1a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .slide::after {
    background: linear-gradient(0deg, rgba(245, 243, 240, 0.9) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
}

[data-theme="light"] .slide-title {
    color: #1a1a1a;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .slide-subtitle {
    color: #444;
}

[data-theme="light"] .pick-info {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
}

[data-theme="light"] .pick-title {
    color: #1a1a1a;
}

[data-theme="light"] .product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .product-title {
    color: #1a1a1a;
}

[data-theme="light"] .product-desc {
    color: #666;
}

[data-theme="light"] .modal-box {
    background: linear-gradient(145deg, #fafafa 0%, #f0ece7 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .modal-content h2 {
    color: #1a1a1a;
}

[data-theme="light"] .modal-desc {
    color: #444;
}

[data-theme="light"] .section-title {
    color: #1a1a1a;
}

[data-theme="light"] .breadcrumb {
    color: #666;
}

[data-theme="light"] .breadcrumb a {
    color: var(--primary-color);
}

[data-theme="light"] .footer {
    background: linear-gradient(to top, #f5f3f0, #e8e4df);
    border-top: 2px solid var(--primary-color);
}

[data-theme="light"] .footer-text {
    color: #555;
}

[data-theme="light"] .footer-copyright {
    color: #888;
}

[data-theme="light"] .footer-copyright a {
    color: #666;
}

[data-theme="light"] .bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-item {
    color: #999;
}

[data-theme="light"] .nav-item.active {
    color: var(--primary-color);
}

[data-theme="light"] .toast-msg {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--primary-color);
    color: #1a1a1a;
}

[data-theme="light"] .close-btn {
    background: rgba(0, 0, 0, 0.06);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .close-btn:hover {
    background: var(--primary-color);
    color: #000;
}

[data-theme="light"] .floating-label {
    color: #1a1a1a !important;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-shadow: none;
}

[data-theme="light"] .cat-title {
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .modal-overlay.active-modal {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

[data-theme="light"] .footer-badge {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .footer-logo {
    color: #1a1a1a;
}

[data-theme="light"] .footer-divider {
    opacity: 0.3;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    padding-bottom: var(--bottom-nav-height);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Font display swap */
@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    font-display: swap;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 70, 70, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 70, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 70, 70, 0); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="light"] .theme-toggle {
    background: rgba(255, 255, 255, 0.85);
    color: #1a1a1a;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.theme-toggle:hover {
    transform: scale(1.08);
}

.theme-toggle:active {
    transform: scale(0.92);
}

/* ========================================
   CONTAINER - MASAÜSTÜ İÇİN
   ======================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* ========================================
   HEADER
   ======================================== */
header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0) 100%);
    padding: 15px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    pointer-events: none;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

header .header-inner {
    max-width: var(--container-max-width);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

header img {
    height: 50px;
    max-width: 200px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
    pointer-events: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

[data-theme="light"] header img {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

header h1 {
    font-size: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    pointer-events: auto;
    margin: 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

header .table-info {
    font-size: 0.8rem;
    color: var(--primary-color);
    margin-top: 5px;
    text-shadow: 0 1px 3px #000;
    pointer-events: auto;
}

[data-theme="light"] header .table-info {
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

/* ========================================
   SLIDER
   ======================================== */
.hero-slider {
    height: 50vh;
    min-height: 350px;
    max-height: 600px;
    position: relative;
    overflow: hidden;
    contain: layout style paint;
    margin-top: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: flex-end;
    will-change: opacity;
}

.slide.active {
    opacity: 1;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-color) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.4) 100%);
    transition: background 0.3s ease;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 30px 40px;
    width: 100%;
    text-align: left;
    margin-bottom: 30px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s 0.5s;
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.slide-subtitle {
    color: #ddd;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.5s 0.7s;
}

.slide.active .slide-subtitle {
    opacity: 1;
}

/* ========================================
   VIEW SECTIONS
   ======================================== */
.view-section {
    display: none;
    padding-top: var(--header-height);
    padding-bottom: 100px;
    animation: fadeIn 0.3s ease-out;
}

.view-section.active {
    display: block;
}

/* ========================================
   BACK BUTTON
   ======================================== */
.back-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 101;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.2rem;
    transition: all 0.3s;
}

[data-theme="light"] .back-btn {
    background: rgba(255, 255, 255, 0.7);
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.back-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.05);
}

/* ========================================
   PICK CARDS (Günün Seçimleri)
   ======================================== */
.picks-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.picks-container::-webkit-scrollbar {
    display: none;
}

.pick-card {
    flex: 0 0 85%;
    max-width: 400px;
    background: #222;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: center;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

[data-theme="light"] .pick-card {
    background: #fff;
    box-shadow: var(--card-shadow);
}

.pick-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.pick-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #2a2a2a;
}

.pick-info {
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    transition: background 0.3s ease;
}

[data-theme="light"] .pick-info {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.92) 0%, transparent 100%);
}

.pick-tag {
    background: var(--primary-color);
    color: #000;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pick-title {
    color: #fff;
    margin: 5px 0;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

[data-theme="light"] .pick-title {
    color: #1a1a1a;
}

.pick-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ========================================
   CATEGORY GRID
   ======================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 15px;
}

.cat-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
}

.cat-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--card-shadow-hover);
}

.cat-card:active {
    transform: scale(0.96);
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.75);
    background: #2a2a2a;
    transition: filter 0.3s;
}

.cat-card:hover img {
    filter: brightness(0.9);
}

[data-theme="light"] .cat-card img {
    filter: brightness(0.85);
}

[data-theme="light"] .cat-card:hover img {
    filter: brightness(1);
}

.cat-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-align: center;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
    width: 90%;
    pointer-events: none;
    transition: transform 0.3s;
}

[data-theme="light"] .cat-title {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.cat-card:hover .cat-title {
    transform: translate(-50%, -50%) scale(1.04);
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.product-card {
    display: flex;
    background: var(--card-bg);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s;
    cursor: pointer;
}

[data-theme="light"] .product-card {
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateX(4px);
    border-color: var(--primary-color);
    box-shadow: var(--card-shadow-hover);
}

.product-card:active {
    transform: scale(0.98);
}

.product-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    flex-shrink: 0;
    background: #2a2a2a;
}

.no-image {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.8rem;
}

.product-info {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

[data-theme="light"] .product-title {
    color: #1a1a1a;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.product-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   SECTION TITLE
   ======================================== */
.section-title {
    font-size: 1.6rem;
    margin: 30px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

[data-theme="light"] .section-title {
    color: #1a1a1a;
}

.section-title small {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 300;
    display: block;
    margin-top: 2px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(to top, #000, #111);
    padding: 50px 20px 30px;
    margin-top: 50px;
    border-top: 2px solid var(--primary-color);
    position: relative;
    z-index: 10;
    transition: background 0.3s ease;
}

[data-theme="light"] .footer {
    background: linear-gradient(to top, #f5f3f0, #e8e4df);
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

[data-theme="light"] .footer-logo {
    color: #1a1a1a;
}

.footer-text {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

[data-theme="light"] .footer-text {
    color: #555;
}

.footer-heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
    margin: 0 3px;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 1px dashed var(--primary-color);
}

.footer-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

[data-theme="light"] .footer-link:hover {
    color: #1a1a1a;
}

.footer-divider {
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    margin: 25px auto;
    opacity: 0.5;
}

.footer-copyright {
    color: #666;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

[data-theme="light"] .footer-copyright {
    color: #888;
}

.footer-copyright a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

[data-theme="light"] .footer-copyright a {
    color: #666;
}

.footer-copyright a:hover {
    color: var(--primary-color);
}

.footer-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

[data-theme="light"] .footer-badge {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-badge i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    padding: 20px 15px 10px;
    font-size: 0.9rem;
    color: #888;
    transition: color 0.3s ease;
}

[data-theme="light"] .breadcrumb {
    color: #666;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
}

[data-theme="light"] .breadcrumb a:hover {
    color: #1a1a1a;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #555;
}

/* ========================================
   BOTTOM NAVIGATION
   ======================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--bottom-nav-height);
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-item {
    color: #666;
    text-align: center;
    font-size: 0.7rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    padding: 8px 0;
    text-decoration: none;
    position: relative;
}

.nav-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 0 0 3px 3px;
}

.nav-fab-wrapper {
    position: relative;
    top: -25px;
}

.nav-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    animation: pulse 2s infinite;
}

/* ========================================
   FLOATING BUTTONS (Garson & Hesap)
   ======================================== */
.floating-buttons {
    position: fixed;
    bottom: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1100;
}

.floating-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    outline: none;
}

.floating-btn:active {
    transform: scale(0.88);
}

.floating-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

/* ===== GARSON BUTONU - DAHA DİKKAT ÇEKİCİ ===== */
.floating-btn-waiter {
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    color: #fff;
    box-shadow: 0 4px 25px rgba(255, 69, 0, 0.5);
    animation: pulse-waiter 2s ease-in-out infinite;
}

@keyframes pulse-waiter {
    0%, 100% { 
        box-shadow: 0 4px 25px rgba(255, 69, 0, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 40px rgba(255, 69, 0, 0.7);
        transform: scale(1.05);
    }
}

.floating-btn-waiter:hover {
    background: linear-gradient(135deg, #ff7a4a, #ff5500);
    box-shadow: 0 6px 35px rgba(255, 69, 0, 0.6);
}

.floating-btn-waiter i {
    animation: ring-bell 1.5s ease-in-out infinite;
}

@keyframes ring-bell {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

/* ===== HESAP BUTONU ===== */
.floating-btn-bill {
    background: linear-gradient(135deg, #ff6b6b, #cc3333);
    color: #fff;
    box-shadow: 0 4px 25px rgba(204, 51, 51, 0.4);
}

.floating-btn-bill:hover {
    background: linear-gradient(135deg, #ff7a7a, #dd4444);
    box-shadow: 0 6px 35px rgba(204, 51, 51, 0.5);
}

.floating-label {
    font-size: 0.65rem;
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.85);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    margin-top: 2px;
    transition: all 0.3s ease;
}

[data-theme="light"] .floating-label {
    color: #1a1a1a !important;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    text-shadow: none;
}

.floating-label-waiter {
    border-color: rgba(255, 69, 0, 0.5);
}

.floating-label-bill {
    border-color: rgba(204, 51, 51, 0.5);
}

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    cursor: pointer;
}

.modal-overlay.active-modal {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .modal-overlay.active-modal {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.modal-box {
    background: linear-gradient(145deg, #1c1c1c 0%, #0f0f0f 100%);
    width: 100%;
    max-width: 500px;
    border-radius: 40px;
    padding: 0;
    text-align: center;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.92);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: default;
    overflow: hidden;
}

[data-theme="light"] .modal-box {
    background: linear-gradient(145deg, #fafafa 0%, #f0ece7 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-overlay.active-modal .modal-box {
    transform: scale(1);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.2s;
    z-index: 11;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .close-btn {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.close-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: rotate(90deg);
}

.modal-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 40px 40px 0 0;
    display: block;
}

.modal-content {
    padding: 30px 35px 40px;
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

[data-theme="light"] .modal-content h2 {
    color: #1a1a1a;
}

.modal-desc {
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 300;
    transition: color 0.3s ease;
}

[data-theme="light"] .modal-desc {
    color: #444;
}

.modal-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 20px;
    display: inline-block;
    width: auto;
    margin-top: 10px;
}

.popup-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8960c 100%);
    border: none;
    padding: 16px 24px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #111;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.popup-btn:active {
    transform: scale(0.97);
}

.popup-btn:hover {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* ========================================
   TOAST
   ======================================== */
.toast-msg {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

[data-theme="light"] .toast-msg {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
}

.toast-msg.show {
    top: 40px;
    opacity: 1;
    visibility: visible;
}

/* ========================================
   PERFORMANCE & OPTIMIZATION
   ======================================== */
img {
    loading: lazy;
    decoding: async;
}

.product-card,
.cat-card,
.pick-card,
.floating-btn {
    will-change: transform;
}

.hero-slider {
    contain: layout style paint;
}

/* ========================================
   MASAÜSTÜ OPTİMİZASYONLARI (≥ 1024px)
   ======================================== */
@media (min-width: 1024px) {
    .container {
        max-width: var(--container-max-width);
        margin: 0 auto;
        padding: 0 30px;
    }

    header {
        height: 80px;
        padding: 20px 40px;
    }
    
    header img {
        height: 60px;
        max-width: 250px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }

    .hero-slider {
        height: 60vh;
        min-height: 450px;
        max-height: 700px;
        border-radius: 0 0 30px 30px;
    }

    .slide-content {
        padding: 40px 60px;
        margin-bottom: 40px;
        max-width: 800px;
    }

    .slide-title {
        font-size: 3.5rem;
    }

    .slide-subtitle {
        font-size: 1.3rem;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        padding: 20px 0;
    }

    .cat-card {
        aspect-ratio: 4/3;
        border-radius: 20px;
    }

    .cat-title {
        font-size: 1.4rem;
    }

    .picks-container {
        gap: 25px;
        padding: 20px 0;
        justify-content: center;
    }

    .pick-card {
        flex: 0 0 30%;
        max-width: 350px;
        border-radius: 22px;
    }

    .pick-img {
        height: 220px;
    }

    .pick-title {
        font-size: 1.3rem;
    }

    .product-card {
        border-radius: 16px;
        margin-bottom: 18px;
        transition: all 0.3s;
    }

    .product-card:hover {
        transform: translateX(6px);
        border-color: var(--primary-color);
    }

    .product-img {
        width: 160px;
        height: 160px;
    }

    .no-image {
        width: 160px;
        height: 160px;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-desc {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
        margin: 40px 0 25px;
        padding-left: 20px;
        border-left-width: 5px;
    }

    .section-title small {
        font-size: 1rem;
    }

    .footer {
        padding: 60px 40px 40px;
        margin-top: 60px;
    }

    .footer-logo {
        font-size: 2.5rem;
    }

    .footer-text {
        font-size: 1rem;
        max-width: 700px;
    }

    .bottom-nav {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 30px 30px 0 0;
        height: 75px;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    }

    [data-theme="light"] .bottom-nav {
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.06);
    }

    .nav-item {
        font-size: 0.75rem;
    }

    .nav-item i {
        font-size: 1.5rem;
    }

    .floating-buttons {
        bottom: 110px;
        right: 30px;
        gap: 15px;
    }

    .floating-btn {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }

    .floating-label {
        font-size: 0.7rem;
        padding: 5px 14px;
    }

    .modal-box {
        max-width: 550px;
        border-radius: 45px;
    }

    .modal-img {
        height: 320px;
    }

    .modal-content {
        padding: 35px 40px 45px;
    }

    .modal-content h2 {
        font-size: 2.2rem;
    }

    .modal-desc {
        font-size: 1.05rem;
    }

    .modal-price {
        font-size: 2rem;
    }

    .toast-msg {
        padding: 16px 35px;
        font-size: 1rem;
    }

    /* Theme toggle masaüstü */
    .theme-toggle {
        top: 25px;
        right: 30px;
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
}

/* ========================================
   TABLET (768px - 1023px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .pick-card {
        flex: 0 0 45%;
        max-width: 350px;
    }

    .hero-slider {
        height: 40vh;
        min-height: 300px;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .product-img {
        width: 120px;
        height: 120px;
    }

    .no-image {
        width: 120px;
        height: 120px;
    }
}

/* ========================================
   MOBİL (≤ 767px)
   ======================================== */
@media (max-width: 767px) {
    .hero-slider {
        height: 30vh;
        min-height: 200px;
        max-height: 350px;
    }

    .slide-title {
        font-size: 1.5rem;
    }

    .slide-subtitle {
        font-size: 0.9rem;
    }

    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 12px;
    }

    .cat-title {
        font-size: 1rem;
    }

    .pick-card {
        flex: 0 0 85%;
    }

    .product-img {
        width: 100px;
        height: 100px;
    }

    .no-image {
        width: 100px;
        height: 100px;
    }

    .product-title {
        font-size: 0.95rem;
    }

    .product-desc {
        font-size: 0.75rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.2rem;
        margin: 20px 0 12px;
        padding-left: 10px;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .floating-label {
        font-size: 0.55rem;
        padding: 2px 8px;
    }

    .floating-buttons {
        bottom: 85px;
        right: 12px;
        gap: 10px;
    }

    .modal-img {
        height: 200px;
    }

    .modal-content {
        padding: 20px 25px 30px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-desc {
        font-size: 0.9rem;
    }

    .modal-price {
        font-size: 1.4rem;
    }

    .bottom-nav {
        height: 65px;
    }

    .nav-item {
        font-size: 0.6rem;
    }

    .nav-item i {
        font-size: 1.2rem;
    }

    .footer {
        padding: 30px 20px 20px;
        margin-top: 30px;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .footer-text {
        font-size: 0.85rem;
    }

    .breadcrumb {
        font-size: 0.75rem;
        padding: 15px 12px 5px;
    }

    header img {
        height: 40px;
        max-width: 150px;
    }

    header h1 {
        font-size: 1.2rem;
    }

    /* Theme toggle mobil */
    .theme-toggle {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

/* ========================================
   ÇOK KÜÇÜK EKRANLAR (≤ 400px)
   ======================================== */
@media (max-width: 400px) {
    .category-grid {
        gap: 8px;
        padding: 8px;
    }

    .cat-title {
        font-size: 0.85rem;
    }

    .product-img {
        width: 80px;
        height: 80px;
    }

    .no-image {
        width: 80px;
        height: 80px;
    }

    .product-info {
        padding: 10px 12px;
    }

    .product-title {
        font-size: 0.85rem;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .floating-label {
        font-size: 0.5rem;
        padding: 2px 6px;
    }

    .floating-buttons {
        bottom: 75px;
        right: 8px;
        gap: 8px;
    }

    .theme-toggle {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}