﻿@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

* {
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: #f8f9fa;
    direction: rtl;
    text-align: right;
}

/* استایل هدر */
.top-bar {
    background-color: #2c3e50;
    color: #fff;
    font-size: 0.85rem;
    padding: 5px 0;
}
.main-navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.navbar-brand span {
    color: #e74c3c;
    font-weight: 800;
}
.nav-link {
    color: #333 !important;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #e74c3c !important;
}

/* استایل اسلایدر */
.carousel-item img {
    max-height: 400px;
    object-fit: cover;
}
.carousel-caption {
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 15px;
}

/* استایل کارت محصولات */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.product-card img {
    height: 200px;
    object-fit: contain;
    padding: 15px;
}
.price-tag {
    color: #27ae60;
    font-weight: 800;
    font-size: 1.1rem;
}

/* استایل دسته بندی‌ها */
.category-box {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: background 0.3s;
    cursor: pointer;
    margin-bottom: 15px;
}
.category-box:hover {
    background: #e74c3c;
    color: #fff;
}
.category-box:hover i, .category-box:hover h5 {
    color: #fff;
}
.category-box i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

/* استایل فوتر */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding-top: 40px;
}
footer h5 {
    color: #e74c3c;
    margin-bottom: 20px;
}
footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: #fff;
}
.enamad-box img, .enamad-box div {
    max-width: 120px;
    margin: 0 auto;
}
.copyright {
    margin-top: 30px;
    padding: 15px 0;
    border-top: 1px solid #7f8c8d;
    font-size: 0.9rem;
}