:root {
    --bg-color: #f8f9fa;
    --container-bg: #ffffff;
    --text-color: #212529;
    --accent-color: #e63946;
    --btn-bg: #457b9d;
    --btn-hover: #1d3557;
    --shadow: rgba(0, 0, 0, 0.1);
    --card-bg: #f1faee;
}

.dark-mode {
    --bg-color: #1a1a1a;
    --container-bg: #2d2d2d;
    --text-color: #f1faee;
    --accent-color: #ffb703;
    --btn-bg: #fb8500;
    --btn-hover: #ffb703;
    --shadow: rgba(0, 0, 0, 0.5);
    --card-bg: #3d3d3d;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    transition: all 0.3s ease;
}

.container {
    text-align: center;
    background-color: var(--container-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    width: 95%;
    max-width: 500px;
    position: relative;
    margin: 20px 0;
}

.top-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lang-selector select {
    background-color: var(--container-bg);
    color: var(--text-color);
    border: 1px solid var(--text-color);
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

#theme-btn {
    background: none;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
}

.category-buttons {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    margin-bottom: 30px;
}

.cat-btn {
    background-color: var(--btn-bg);
    color: white;
    border: none;
    padding: 12px 5px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
    font-size: 0.85rem;
    transition: transform 0.2s, background-color 0.2s;
}

.cat-btn:hover {
    background-color: var(--btn-hover);
    transform: scale(1.03);
}

.menu-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: left;
    transition: all 0.4s ease;
}

.hidden {
    display: none;
}

.image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

#dish-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-area {
    padding: 20px;
}

.menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.menu-icon {
    font-size: 24px;
}

.menu-name {
    margin: 0;
    color: var(--accent-color);
    font-size: 1.3rem;
}

.menu-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.placeholder-card {
    border: 2px dashed #ccc;
    padding: 40px 20px;
    border-radius: 15px;
    color: #888;
}

/* Contact Section Styles */
.divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 30px 0;
}

.dark-mode .divider {
    background: #444;
}

.contact-section {
    text-align: left;
}

.contact-section h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-desc {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: var(--container-bg);
    color: var(--text-color);
    font-size: 0.85rem;
    box-sizing: border-box;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease;
}

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