:root {
    /* Barbekü Tema Renkleri */
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --primary: #ff4500; /* Ateş Turuncusu */
    --primary-hover: #ff5722;
    --secondary: #ffb300; /* Amber / Köz rengi */
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --success: #00e676;
    --danger: #ff1744;
    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(18,18,18,0) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2.5rem;
    animation: flicker 2s infinite alternate;
}

@keyframes flicker {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px var(--primary)); }
    100% { transform: scale(1.1); filter: drop-shadow(0 0 15px var(--secondary)); }
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: -4px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text h2 {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 230, 118, 0.1);
    color: var(--success);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.status-badge.closed {
    background: rgba(255, 23, 68, 0.1);
    color: var(--danger);
    border-color: rgba(255, 23, 68, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.status-badge.closed .status-dot {
    background-color: var(--danger);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(0, 230, 118, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* Main Content */
.menu-container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.category-header {
    margin-bottom: 20px;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.menu-item {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 69, 0, 0.15);
    border-color: rgba(255, 69, 0, 0.3);
}

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

.item-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, var(--bg-card) 100%);
}

.item-details {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-details h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.item-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.qty-controls {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 4px;
}

.btn-qty {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
}

.btn-qty:active {
    transform: scale(0.9);
}

.btn-qty.minus {
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
}

.qty-display {
    width: 30px;
    text-align: center;
    font-weight: 600;
}

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(255, 69, 0, 0.2);
}

.floating-cart.active {
    bottom: 20px;
}

.cart-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-icon {
    font-size: 1.8rem;
    position: relative;
}

.cart-icon .badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
}

.btn-checkout {
    background: linear-gradient(45deg, var(--primary), #ff7a00);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-checkout:active {
    transform: scale(0.95);
}

.btn-checkout:disabled {
    background: #444;
    color: #888;
    box-shadow: none;
    cursor: not-allowed;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 24px;
    position: relative;
    border: 1px solid var(--glass-border);
    transform: translateY(20px);
    transition: transform 0.3s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.input-group input, .input-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--primary);
}

.btn-location {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px dashed var(--glass-border);
    color: var(--secondary);
    padding: 10px;
    border-radius: 12px;
    margin-top: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-location:hover {
    background: rgba(255,255,255,0.1);
}

.checkout-summary {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
}

.summary-row strong {
    color: var(--primary);
    font-size: 1.3rem;
}

.btn-whatsapp {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s;
}

.btn-whatsapp:active {
    transform: scale(0.98);
}
