/* استایل‌های منتقل‌شده از inline ها و استایل داخلی صفحه */

.graystyle {
    filter: grayscale(100%);
    opacity: 0.6;
    pointer-events: none;
}

/* فونت لوکال Vazirmatn - فایل‌ها باید در پوشه fonts کنار این فایل قرار بگیرند */
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Thin.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2'),
         url('../fonts/Vazirmatn-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #1a1a1a;
    --shadow-light: #252525;
    --shadow-dark: #0f0f0f;
    --accent-color: #e67e22;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 800px;
}

.logo-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 8px 8px 16px var(--shadow-dark), 
                -8px -8px 16px var(--shadow-light);
    color: var(--accent-color);
    font-size: 2rem;
}

.logo-container--hidden {
    display: none;
}

h1 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header-subtitle {
    color: var(--text-secondary);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    background: var(--bg-color);
    color: var(--text-secondary);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 8px var(--shadow-dark), 
                -4px -4px 8px var(--shadow-light);
}

.tab-btn.active {
    color: var(--accent-color);
    box-shadow: inset 4px 4px 8px var(--shadow-dark), 
                inset -4px -4px 8px var(--shadow-light);
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
    padding: 10px;
}

.food-card {
    background: var(--bg-color);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 10px 10px 20px var(--shadow-dark), 
                -10px -10px 20px var(--shadow-light);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.food-card:hover {
    transform: translateY(-5px);
}

.image-box {
    width: 100%;
    height: 180px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
    box-shadow: inset 2px 2px 5px var(--shadow-dark), 
                inset -2px -2px 5px var(--shadow-light);
    border: 2px solid transparent;
}

.food-info {
    flex-grow: 1;
}

.food-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.food-price {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
}

.currency {
    font-size: 0.8rem;
    margin-right: 5px;
    color: var(--text-secondary);
}

.order-btn {
    margin-top: 15px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--text-primary);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 4px 8px var(--shadow-dark), 
                -4px -4px 8px var(--shadow-light);
    transition: all 0.2s ease;
    width: 100%;
}

.order-btn:active {
    box-shadow: inset 3px 3px 6px var(--shadow-dark), 
                inset -3px -3px 6px var(--shadow-light);
    color: var(--accent-color);
}

.order-btn--confirm {
    background: var(--accent-color);
    color: white;
}

#modalTitle {
    margin-bottom: 15px;
}

.modal-text {
    margin-bottom: 20px;
}

/* Modal Styles */
#orderModal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 20px 20px 60px #000;
    z-index: 1000;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 999;
}

/* Footer Styles */
.contact-footer {
    width: 100%;
    max-width: 1200px;
    margin-top: 60px;
    padding: 40px 20px;
    border-top: 1px solid var(--shadow-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
}

.footer-section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--bg-color);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 6px 6px 12px var(--shadow-dark), 
                -6px -6px 12px var(--shadow-light);
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark), 
                inset -3px -3px 6px var(--shadow-light);
    flex-shrink: 0;
}

.footer-info {
    flex: 1;
}

.footer-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-info a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .menu-container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 1.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-section {
        padding: 15px;
    }
    .footer-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
