/* ========================================
   تنظیمات پایه و ریست
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'IranianSans';
    src: url('../fonts/IRANSansWeb.woff2') format('woff2');
    font-weight: normal;
}

body {
    font-family: 'IranianSans', Tahoma, sans-serif;
    background: #f5f8f5;
    color: #2d3e2d;
    direction: rtl;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   هدر و ناوبری
   ======================================== */
header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 3px solid #4CAF50;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 50px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* منوی اصلی */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 5px;
    align-items: center;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 10px 18px;
    color: #2d3e2d;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.main-nav ul li a:hover {
    background: #f0f7f0;
    color: #4CAF50;
}

/* دراپ‌داون */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 8px 0;
    border: 1px solid #eef5ee;
}

.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeDown 0.3s ease;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-weight: 400;
    border-radius: 0;
}

.dropdown-menu li a:hover {
    background: #f5faf5;
    padding-right: 25px;
}

/* بخش سرچ و کاربری */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f5f8f5;
    border-radius: 30px;
    padding: 0 15px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: #4CAF50;
    background: #fff;
}

.search-box input {
    border: none;
    padding: 8px 0;
    background: transparent;
    outline: none;
    font-size: 14px;
    width: 160px;
    font-family: inherit;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 8px 0 8px 8px;
    color: #666;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-sm {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4CAF50;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.cart-icon {
    font-size: 22px;
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    background: #4CAF50;
    color: #fff;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 11px;
    position: absolute;
    top: -8px;
    right: -12px;
}

/* ========================================
   منوی پایین موبایل
   ======================================== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 5px 0;
    border-top: 1px solid #e8f0e8;
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 15px;
    color: #888;
    font-size: 11px;
    transition: all 0.3s;
    position: relative;
}

.nav-item .icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.nav-item.active {
    color: #4CAF50;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: -6px;
    width: 20px;
    height: 3px;
    background: #4CAF50;
    border-radius: 3px;
}

/* ========================================
   دکمه‌ها
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: #e8f0e8;
    color: #2d3e2d;
}

.btn-secondary:hover {
    background: #d5e8d5;
}

.btn-large {
    padding: 16px 45px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* ========================================
   اسلایدر / هیرو
   ======================================== */
.hero-slider {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 60px 0;
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-slider::before {
    content: '🌾';
    position: absolute;
    font-size: 300px;
    opacity: 0.05;
    left: -50px;
    bottom: -80px;
}

.slider-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.slider-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #1e3a1e;
}

.slider-content h1 strong {
    color: #2e7d32;
}

.slider-content p {
    font-size: 18px;
    color: #3a5a3a;
    margin-bottom: 30px;
}

/* ========================================
   بخش‌های محصولات، مقالات و تجارب
   ======================================== */
section {
    padding: 40px 0;
}

section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #1e3a1e;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #81c784);
    border-radius: 4px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-all {
    color: #4CAF50;
    font-weight: 500;
    transition: all 0.3s;
}

.view-all:hover {
    transform: translateX(-5px);
}

/* گرید محصولات */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    padding: 20px;
    text-align: center;
    border: 1px solid #eef5ee;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: #1e3a1e;
}

.product-card .price {
    color: #4CAF50;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.product-card .btn {
    width: 100%;
    padding: 10px;
}

/* گرید مقالات و تجارب */
.article-grid,
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.article-card,
.experience-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    border: 1px solid #eef5ee;
}

.article-card:hover,
.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.article-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-card h3 a:hover {
    color: #4CAF50;
}

.article-card .excerpt {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.read-more {
    color: #4CAF50;
    font-weight: 500;
    transition: all 0.3s;
}

.read-more:hover {
    transform: translateX(-5px);
    display: inline-block;
}

.experience-card h3 {
    color: #1e3a1e;
    margin-bottom: 10px;
}

.experience-card p {
    color: #555;
    font-size: 14px;
    margin-bottom: 12px;
}

.experience-card a {
    color: #4CAF50;
    font-weight: 500;
}

/* ========================================
   فوتر
   ======================================== */
footer {
    background: #1a2e1a;
    color: #d5e8d5;
    padding: 50px 0 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #2d4a2d;
}

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 30px;
    height: 3px;
    background: #4CAF50;
    border-radius: 3px;
}

.footer-col p {
    line-height: 1.8;
    font-size: 14px;
    color: #b0c8b0;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    color: #b0c8b0;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-right: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0c8b0;
}

.contact-info li a {
    color: #b0c8b0;
}

.contact-info li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    padding: 8px 16px;
    background: #2d4a2d;
    border-radius: 8px;
    font-size: 13px;
    color: #b0c8b0;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #4CAF50;
    color: #fff;
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #2d4a2d;
    border-radius: 30px;
    background: #1a2e1a;
    color: #fff;
    font-family: inherit;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #4CAF50;
}

.newsletter-form button {
    padding: 10px 25px;
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.newsletter-form button:hover {
    background: #45a049;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: #7a9a7a;
    font-size: 14px;
}

/* ========================================
   صفحات داخلی (شاپ، مقاله، تجربه)
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 40px 0;
    border-radius: 0 0 30px 30px;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    color: #1e3a1e;
}

.page-header .breadcrumb {
    margin-top: 10px;
    color: #4a6a4a;
}

.page-header .breadcrumb a {
    color: #2e7d32;
}

/* فیلترها و سایدبار */
.filter-sidebar {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.filter-sidebar h3 {
    margin-bottom: 15px;
    color: #1e3a1e;
}

.filter-sidebar input,
.filter-sidebar select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dde8dd;
    border-radius: 8px;
    font-family: inherit;
    margin-bottom: 10px;
    outline: none;
}

.filter-sidebar input:focus,
.filter-sidebar select:focus {
    border-color: #4CAF50;
}

/* ========================================
   فرم‌ها (ورود، ثبت آگهی، ارسال تجربه)
   ======================================== */
.form-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #1e3a1e;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8f0e8;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group .btn {
    width: 100%;
}

.otp-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.otp-container input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #e8f0e8;
    border-radius: 12px;
    outline: none;
}

.otp-container input:focus {
    border-color: #4CAF50;
}

/* ========================================
   پروفایل کاربری
   ======================================== */
.profile-header {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #4CAF50;
}

.profile-info h2 {
    margin-bottom: 5px;
}

.profile-info .phone {
    color: #666;
}

.profile-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #e8f0e8;
    margin-bottom: 30px;
}

.profile-tabs button {
    padding: 12px 25px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
    font-family: inherit;
    border-bottom: 3px solid transparent;
}

.profile-tabs button.active {
    color: #4CAF50;
    border-bottom-color: #4CAF50;
}

.profile-tabs button:hover {
    color: #2d3e2d;
}

/* ========================================
   ریسپانسیو (موبایل و تبلت)
   ======================================== */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .search-box {
        display: none;
    }

    .bottom-nav {
        display: block;
    }

    .header-flex {
        padding: 10px 0;
    }

    .logo img {
        height: 40px;
    }

    .hero-slider {
        padding: 40px 0;
        border-radius: 0 0 25px 25px;
    }

    .slider-content h1 {
        font-size: 28px;
    }

    .slider-content p {
        font-size: 16px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .article-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .form-container {
        padding: 25px;
        margin: 20px;
    }

    section {
        padding: 25px 0;
    }

    section h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-card {
        padding: 12px;
    }

    .product-card h3 {
        font-size: 14px;
    }

    .product-card .price {
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slider-content h1 {
        font-size: 22px;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 16px;
    }
}
/* ============================================
   استایل‌های جدید برای صفحه اصلی کامل
   ============================================ */

/* ---- اسلایدر (Hero) ---- */
.hero-slider {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    padding: 60px 0 40px;
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
}

.slider-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.slider-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #1e3a1e;
}

.slider-content h1 strong {
    color: #2e7d32;
}

.slider-content p {
    font-size: 18px;
    color: #3a5a3a;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 25px;
    border-top: 1px solid rgba(46, 125, 50, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #2e7d32;
}

.stat-label {
    font-size: 14px;
    color: #4a6a4a;
}

/* ---- دسته‌بندی‌ها ---- */
.quick-categories {
    padding: 20px 0 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.category-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #eef5ee;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #4CAF50;
}

.category-icon {
    font-size: 32px;
    color: #4CAF50;
    margin-bottom: 10px;
}

.category-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #1e3a1e;
}

.category-card p {
    font-size: 13px;
    color: #888;
}

/* ---- محصولات ---- */
.product-card {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    z-index: 1;
}

.product-short-desc {
    font-size: 13px;
    color: #888;
    margin: 5px 0 10px;
}

.product-actions {
    margin-top: 15px;
}

.product-actions .btn {
    width: 100%;
    padding: 10px;
}

/* ---- تجارب کشاورزان ---- */
.experience-card {
    position: relative;
}

.experience-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: #888;
}

.experience-user i {
    margin-left: 5px;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 12px;
}

.tag {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.experience-card .read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 500;
}

/* ---- مقالات ---- */
.article-card {
    overflow: hidden;
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.article-content {
    padding: 20px 0 0;
}

.article-category {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 8px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef5ee;
}

.article-date {
    font-size: 13px;
    color: #888;
}

.article-date i {
    margin-left: 5px;
}

/* ---- بخش CTA (فراخوان) ---- */
.cta-section {
    background: linear-gradient(135deg, #1a2e1a, #2d4a2d);
    padding: 60px 0;
    border-radius: 40px 40px 0 0;
    margin-top: 40px;
    color: #fff;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-text h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #fff;
}

.cta-text p {
    font-size: 16px;
    color: #b0c8b0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ---- پیام‌های وضعیت ---- */
.no-products,
.no-items {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    background: #f9fcf9;
    border-radius: 12px;
    grid-column: 1 / -1;
}

.error-message {
    color: #c62828;
    background: #ffebee;
    padding: 12px 18px;
    border-radius: 8px;
    grid-column: 1 / -1;
}

/* ---- ریسپانسیو ---- */
@media (max-width: 768px) {
    .slider-content h1 {
        font-size: 28px;
    }
    
    .hero-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        padding: 30px 0;
    }
    
    .slider-content h1 {
        font-size: 22px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .experience-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
/* ============================================
   منوی همبرگری (برای موبایل)
   ============================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #2d3e2d;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.nav-overlay.active {
    display: block;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: #fff;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        display: block !important;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .main-nav ul li a {
        padding: 12px 15px;
        border-bottom: 1px solid #f0f7f0;
        font-size: 16px;
    }
    
    .main-nav ul li a:hover {
        background: #f5faf5;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-right: 20px;
        display: none;
        background: #f9fcf9;
        border-radius: 0;
    }
    
    .dropdown-menu li a {
        padding: 10px 15px;
        font-size: 14px;
        border-bottom: 1px solid #eef5ee;
    }
    
    .dropdown-menu li a:hover {
        background: #e8f5e9;
        padding-right: 20px;
    }
    
    .header-actions .search-box {
        display: none;
    }
    
    /* منوی پایین موبایل */
    .bottom-nav {
        display: block;
    }
    
    body.no-scroll {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    .main-nav {
        display: flex !important;
    }
    .nav-overlay {
        display: none !important;
    }
}