:root {
    --primary: #D35400;
    --secondary: #F39C12;
    --accent: #E67E22;
    --light: #FDEBD0;
    --dark: #7E5109;
    --success: #27ae60;
    --danger: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.logo { cursor: pointer; }

.reset-link {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.choice-view {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.choice-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 560px;
    text-align: center;
}

.choice-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.large-btn {
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.btn.outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn.small {
    padding: 0.5rem 0.9rem;
    font-size: 0.9rem;
}

.admin-login-row {
    display: flex;
    justify-content: flex-end;
    margin: 1rem 0;
}

.tabs {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: none;
    border-radius: 30px;
    margin: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: var(--secondary);
    color: white;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.menu-category {
    display: none;
    margin-bottom: 2rem;
}

.menu-category.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.category-title {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--dark);
    position: relative;
    padding-bottom: 0.5rem;
}

.category-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.item-info {
    padding: 1.2rem;
}

.item-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.item-desc {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.item-price {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
}

.feedback-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.feedback-form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn {
    padding: 0.8rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--accent);
}

.admin-panel {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.admin-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.admin-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Tablo */
.table-responsive { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: white; }
.data-table th, .data-table td { padding: 0.75rem; border-bottom: 1px solid #eee; text-align: left; }
.data-table thead th { background: var(--light); color: var(--dark); }

/* Feedback List */
#feedback-list {
    margin-top: 1rem;
}

.feedback-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feedback-item p {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.feedback-item strong {
    color: var(--dark);
    font-weight: 600;
}

.feedback-item em {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
}

.feedback-item hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 0.5rem 0;
}

footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.qr-section {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 2rem 0;
}

.qr-code {
    width: 180px;
    height: 180px;
    background: #f1f1f1;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .menu-items {
        grid-template-columns: 1fr;
    }

    .admin-actions {
        grid-template-columns: 1fr;
    }
}

/* Modal */
.modal.hidden { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.modal-content { position: relative; background: #fff; width: min(640px, 92%); margin: 8vh auto; border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,0.2); overflow: hidden; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid #eee; }
.modal-body { padding: 1rem 1.25rem; display: grid; gap: 1rem; }
.modal-footer { display: flex; justify-content: flex-end; gap: .5rem; padding-top: .5rem; }