:root {
    --brand-yellow: #FFB703;
    --dark-bg: #101010;
    --card-bg: #1E1E1E;
    --text-white: #F4F4F4;
    --text-gray: #A0A0A0;
    --red-alert: #E63946;
}

body {
    background-color: #050505; /* Masaüstünde arka plan tam siyah */
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

.qr-container {
    width: 100%;
    margin: 0 auto;
    background-color: var(--dark-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.qr-header {
    padding: 30px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #2A2A2A;
    background: linear-gradient(180deg, #181818 0%, #101010 100%);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    margin-bottom: 15px;
}

.logo-bi { font-size: 1.2rem; margin-right: 2px; margin-top: -20px; }
.logo-durum { font-size: 3rem; color: var(--brand-yellow); letter-spacing: -1px; line-height: 1; }
.logo-var { font-size: 1rem; writing-mode: vertical-rl; transform: rotate(180deg); margin-left: 2px; }

.header-details {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    padding: 0 10px;
}

.maps-link {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.maps-link i { color: #FFD700; font-size: 0.9rem; }
.maps-link:hover { color: white; }

.category-tabs {
    display: flex;
    overflow-x: auto;
    padding: 20px 15px 10px;
    gap: 12px;
    scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }

.tab {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-gray);
    padding: 10px 22px;
    border-radius: 25px;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.tab.active {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: #000;
}

.menu-list {
    padding: 15px;
    flex-grow: 1;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px; /* Mobilde alt alta boşluk */
    position: relative;
    border: 1px solid rgba(255,255,255,0.03);
    animation: fadeIn 0.4s ease-out forwards;
    display: flex;
    flex-direction: column;
}

.product-card.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.product-card.no-image { border-left: 4px solid var(--brand-yellow); }
.product-card.no-image .product-info { padding-top: 20px; }

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red-alert);
    color: #FFF;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.product-info { 
    padding: 16px 20px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Kartların boylarını eşit tutmak için */
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.product-name { font-size: 1.15rem; font-weight: 700; margin: 0; color: #FFF; }
.weight {
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--text-gray);
    white-space: nowrap;
}

.description { 
    font-size: 0.85rem; 
    color: var(--text-gray); 
    line-height: 1.5; 
    margin-bottom: 15px; 
    flex-grow: 1; /* Metin kısa olsa da butonları en alta iter */
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 12px;
}

.prices { display: flex; align-items: baseline; gap: 10px; }
.old-price { text-decoration: line-through; color: #666; font-size: 0.95rem; }
.current-price { font-size: 1.3rem; font-weight: 800; color: var(--brand-yellow); }

.qr-footer {
    text-align: center;
    padding: 30px 20px;
    background: #0A0A0A;
    border-top: 1px solid #1A1A1A;
    margin-top: auto;
}

.social-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--text-gray);
    font-size: 1.2rem;
    transition: 0.3s;
    background: #1A1A1A;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.social-links a:hover { color: var(--brand-yellow); transform: translateY(-3px); }

.credit {
    margin-top: 33px;
    font-size: 0.75rem;
    color: #555;
}

.credit a { color: var(--brand-yellow); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.credit a:hover { color: #FFF; }

.credit-colored { color: var(--brand-yellow); font-weight: 600; }

/* =========================================
   RESPONSIVE (DUYARLI) TASARIM AYARLARI
   ========================================= */

/* Tablet Ekranları İçin (iPad vb.) */
@media (min-width: 768px) {
    .qr-container {
        max-width: 800px;
        margin: 40px auto;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.6);
        overflow: hidden;
    }
    
    .menu-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* Tek/az ürün varsa sola yapıştırmak yerine şıkça ortalar */
        align-content: flex-start; /* Sayfa yüksekliğini doldurmak için kartı gereksiz sündürmeyi engeller */
        gap: 20px;
        padding: 25px;
    }
    
    .product-card {
        width: calc(50% - 10px); /* 2 sütun genişliği */
        margin-bottom: 0; 
    }

    .category-tabs {
        justify-content: center; 
    }
}

/* Masaüstü ve Geniş Ekranlar İçin */
@media (min-width: 1024px) {
    .qr-container {
        max-width: 1100px; 
    }

    .product-card {
        width: calc(33.333% - 14px); /* 3 sütun genişliği */
    }
}