/* استایل کلی و ریزت */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    direction: rtl;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* هدر و نویگیشن */
header {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

nav {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* کانتینر اصلی */
.main-container {
    position: relative;
    min-height: 70vh;
}

/* بخش‌ها - نسخه اصلاح شده بدون فلش */
.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    contain: layout style paint;
}

.section.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all;
}

.section h2 {
    color: #b71c1c;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f0f0f0;
    font-size: 1.8rem;
    text-align: center;
}

/* دسته‌بندی‌ها */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-btn:hover {
    background: linear-gradient(135deg, #eeeeee 0%, #d5d5d5 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-btn.active {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    transform: translateY(-2px);
}

/* آیتم‌های منو */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.category-section {
    grid-column: 1 / -1;
    margin-bottom: 40px;
}

.category-section h3 {
    color: #d32f2f;
    border-bottom: 3px solid #d32f2f;
    padding-bottom: 12px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: right;
    font-weight: 700;
}

.category-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.menu-item {
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-item:hover::before {
    transform: scaleX(1);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: #d32f2f;
}

.menu-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.menu-item:hover img {
    transform: scale(1.08);
}

.menu-item-content {
    padding: 25px;
}

.menu-item-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.3;
}

.menu-item-price {
    color: #d32f2f;
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-item-price::before {
    content: '💰';
    font-size: 1.1rem;
}

.menu-item-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.add-to-cart {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    width: 100%;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.add-to-cart:hover::before {
    left: 100%;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #9c1c1c 100%);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    transform: translateY(-3px);
}

/* سبد خرید */
.cart-items {
    margin: 25px 0;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
    background: white;
    transition: background-color 0.3s ease;
}

.cart-item:hover {
    background-color: #fafafa;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1rem;
}

.cart-item-price {
    color: #888;
    font-size: 0.95rem;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    margin: 0 20px;
    gap: 10px;
}

.cart-item-controls button {
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.cart-item-controls button:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.cart-item-controls span {
    margin: 0 12px;
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.remove-btn {
    background: #ffebee !important;
    color: #d32f2f;
    margin-right: 10px;
}

.remove-btn:hover {
    background: #ffcdd2 !important;
    transform: scale(1.1);
}

.cart-item-total {
    font-weight: 800;
    color: #d32f2f;
    min-width: 120px;
    text-align: left;
    font-size: 1.1rem;
}

.cart-total {
    font-weight: 800;
    font-size: 1.5rem;
    text-align: left;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 12px;
    color: #d32f2f;
    border: 2px solid #e0e0e0;
}

.no-items {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
    font-size: 1.1rem;
}

/* اطلاعات مشتری */
.customer-info {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.customer-info h3 {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.3rem;
    text-align: center;
}

/* فرم‌ها */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #444;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d32f2f;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group button {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.form-group button:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #9c1c1c 100%);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
    transform: translateY(-3px);
}

/* دکمه تسویه حساب */
.checkout-btn {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.checkout-btn:hover::before {
    left: 100%;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
    transform: translateY(-3px);
}

/* فاکتور */
.invoice {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
}

.invoice-header {
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 3px solid #f0f0f0;
}

.invoice-header h2 {
    color: #d32f2f;
    margin-bottom: 15px;
    border-bottom: none;
    font-size: 2rem;
}

.invoice-details {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.invoice-details p {
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
}

.invoice-items {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.invoice-items th,
.invoice-items td {
    padding: 16px 20px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.invoice-items th {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.invoice-items tr:last-child td {
    border-bottom: none;
}

.invoice-items tr:nth-child(even) {
    background-color: #fafafa;
}

.invoice-items tr:hover {
    background-color: #f5f5f5;
}

.invoice-total {
    font-weight: 800;
    font-size: 1.6rem;
    text-align: left;
    padding: 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 12px;
    color: #d32f2f;
    border: 2px solid #e0e0e0;
}

/* کنترل‌های ادمین */
.admin-controls {
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 16px;
    border: 1px solid #e8e8e8;
}

.admin-controls h3 {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.4rem;
    text-align: center;
}

.admin-item {
    position: relative;
    border: 2px solid #e8e8e8;
}

.admin-item-controls {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.update-btn {
    background: linear-gradient(135deg, #2196f3 0%, #0d47a1 100%) !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    flex: 1;
    min-width: 160px;
}

.update-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4) !important;
}

.delete-btn {
    background: linear-gradient(135deg, #f44336 0%, #b71c1c 100%) !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    flex: 1;
    min-width: 160px;
}

.delete-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4) !important;
}

/* استایل‌های بخش مدیریت عکس */
.admin-image-upload {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 2px dashed #ddd;
    transition: all 0.3s ease;
}

.admin-image-upload:hover {
    border-color: #d32f2f;
    background: #fff5f5;
}

.admin-image-upload label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #555;
    font-size: 1rem;
}

.admin-image-upload input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-family: inherit;
}

.admin-image-upload small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.85rem;
}

.menu-item-category {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
}

/* بهبود نمایش عکس‌ها در بخش مدیریت */
.admin-item img {
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

/* استایل‌های فرم آپلود */
.form-group.file-upload {
    border: 3px dashed #ddd;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fafafa;
}

.form-group.file-upload:hover {
    border-color: #d32f2f;
    background: #fff5f5;
    transform: translateY(-2px);
}

.form-group.file-upload.dragover {
    border-color: #d32f2f;
    background: #ffeaea;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3.5rem;
    color: #ddd;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.form-group.file-upload:hover .upload-icon {
    color: #d32f2f;
}

.upload-text {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* پیش‌نمایش عکس */
.image-preview {
    margin-top: 20px;
    text-align: center;
}

.image-preview img {
    max-width: 250px;
    max-height: 180px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 3px solid #e8e8e8;
}

.preview-placeholder {
    width: 250px;
    height: 180px;
    background: #f9f9f9;
    border: 3px dashed #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin: 0 auto;
    font-weight: 600;
}

/* بهبود استایل‌های بخش مدیریت */
.admin-item input[type="number"] {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-item input[type="number"]:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
    outline: none;
}

.admin-item label {
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
    display: block;
    font-size: 1rem;
}

/* نوتیفیکیشن */
.notification {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 18px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    z-index: 10000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1), fadeOut 0.5s ease 3s forwards;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.notification.success {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

.notification.error {
    background: linear-gradient(135deg, #f44336 0%, #b71c1c 100%);
}

@keyframes slideIn {
    from { 
        top: -100px; 
        opacity: 0; 
        transform: translateX(-50%) scale(0.8);
    }
    to { 
        top: 30px; 
        opacity: 1; 
        transform: translateX(-50%) scale(1);
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

/* فوتر */
footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    color: #666;
    border-top: 1px solid #eee;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

footer p {
    font-size: 1rem;
    font-weight: 600;
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        width: 100%;
        padding: 12px 20px;
    }
    
    .section {
        padding: 20px;
        margin: 15px 0;
    }
    
    .menu-items,
    .category-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories {
        justify-content: center;
    }
    
    .category-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .cart-item-controls {
        margin: 0;
        width: 100%;
        justify-content: center;
    }
    
    .cart-item-total {
        text-align: right;
        width: 100%;
        margin-top: 10px;
    }
    
    .invoice {
        padding: 20px;
    }
    
    .invoice-items {
        font-size: 0.9rem;
    }
    
    .invoice-items th,
    .invoice-items td {
        padding: 12px 8px;
    }
    
    .admin-item-controls {
        flex-direction: column;
    }
    
    .admin-item-controls button {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .notification {
        width: 90%;
        text-align: center;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .menu-item-title {
        font-size: 1.2rem;
    }
    
    .menu-item-price {
        font-size: 1.2rem;
    }
    
    .cart-total,
    .invoice-total {
        font-size: 1.3rem;
    }
    
    .checkout-btn {
        padding: 16px 25px;
        font-size: 1.1rem;
    }
    
    .section {
        padding: 15px;
    }
    
    .menu-item-content {
        padding: 20px;
    }
}

/* انیمیشن‌های اضافی */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-8px);
    }
    70% {
        transform: translateY(-4px);
    }
    90% {
        transform: translateY(-2px);
    }
}

.bounce {
    animation: bounce 1s ease;
}

/* اسکرول بار سفارشی */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    border-radius: 5px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #9c1c1c 100%);
}

/* انتخاب متن */
::selection {
    background: rgba(211, 47, 47, 0.2);
    color: inherit;
}

::-moz-selection {
    background: rgba(211, 47, 47, 0.2);
    color: inherit;
}

/* حالت فوکوس برای دسترسی بهتر */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #d32f2f;
    outline-offset: 2px;
}

/* لودینگ اسکلتون */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* تایپوگرافی بهبود یافته */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* حالت تاریک - آماده برای آینده */
@media (prefers-color-scheme: dark) {
    .dark-mode {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .dark-mode .section {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .dark-mode .menu-item {
        background: #2d2d2d;
        border-color: #404040;
    }
}