/* ===== تنظیمات پایه ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #f8f9fa;
    color: #333;
    line-height: 1.8;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== تاپ بار ===== */
.top-bar {
    background: #2d4a2c;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar .contact-info span {
    margin-left: 20px;
}

.top-bar .social-icons a {
    color: #fff;
    margin-right: 15px;
    transition: color 0.3s;
}

.top-bar .social-icons a:hover {
    color: #e8a838;
}

/* ===== ناوبری اصلی ===== */
.main-nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    text-decoration: none;
    color: #2d4a2c;
}

.logo h1 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo span {
    font-size: 12px;
    display: block;
    color: #666;
    font-weight: 300;
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: #e8a838;
    transition: width 0.3s;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

.menu a:hover,
.menu a.active {
    color: #e8a838;
}

.cart-icon a {
    color: #333;
    font-size: 20px;
    position: relative;
}

.cart-count {
    background: #e8a838;
    color: #fff;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    position: absolute;
    top: -10px;
    right: -15px;
}

/* ===== اسلایدر اصلی ===== */
.hero-slider {
    background: linear-gradient(135deg, #2d4a2c 0%, #4a7c48 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.slide-content {
    text-align: center;
    color: #fff;
    padding: 40px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
}

.highlight {
    color: #e8a838;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #e8a838;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid #e8a838;
}

.btn-primary:hover {
    background: transparent;
    color: #e8a838;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(232, 168, 56, 0.4);
}

/* ===== بخش محصولات ویژه ===== */
.featured-products,
.products-page,
.shop-page {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #2d4a2c;
}

.section-header p {
    color: #666;
    font-size: 18px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e8a838;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #2d4a2c;
}

.product-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: #e8a838;
}

.btn-small {
    padding: 8px 20px;
    background: #2d4a2c;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-small:hover {
    background: #e8a838;
}

/* ===== مزایا ===== */
.benefits {
    padding: 60px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 30px;
}

.benefit-item i {
    font-size: 48px;
    color: #e8a838;
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 20px;
    color: #2d4a2c;
    margin-bottom: 8px;
}

.benefit-item p {
    color: #666;
    font-size: 14px;
}

/* ===== درباره ما خلاصه ===== */
.about-summary {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 900;
    color: #2d4a2c;
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    margin-bottom: 15px;
    line-height: 2;
}

.btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #2d4a2c;
    color: #2d4a2c;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-outline:hover {
    background: #2d4a2c;
    color: #fff;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ===== فوتر ===== */
footer {
    background: #2d4a2c;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e8a838;
}

.footer-col p {
    color: #ccc;
    font-size: 14px;
    line-height: 2;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: #e8a838;
}

.footer-ceo {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
    font-size: 14px;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}