* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* هدر */
header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
}

.logo img {
    height: 60px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-left a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s, transform 0.3s;
}

.nav-left a:hover {
    color: #e91e63;
    transform: translateY(-3px);
}

/* منوی موبایل */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.3s;
}

/* اسلایدر */
.slider {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-text {
    text-align: center;
    color: #fff;
    text-shadow: 3px 3px 15px rgba(0,0,0,0.6);
}

.slide-text h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.slide-text p {
    font-size: 1.5rem;
}

/* دات‌ها */
.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-dots .dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.slider-dots .dot.active {
    background-color: #e91e63;
}

/* محصولات */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.product-grid, .offers-grid, .brands-grid {
    display: grid;
    gap: 20px;
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.offers-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: center;
}

.offer-card, .brands-grid img {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.offer-card:hover, .brands-grid img:hover {
    transform: translateY(-5px);
}

/* فوتر */
footer {
    background-color: #222;
    color: #fff;
    padding: 50px 20px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1 1 200px;
    margin: 10px;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-column a {
    display: block;
    margin: 5px 0;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #e91e63;
}

footer a.social i {
    margin-left: 8px;
}

/* ریسپانسیو */
@media screen and (max-width: 768px) {
    .container-header {
        flex-wrap: wrap;
    }
    .nav-left {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        margin-top: 10px;
    }
    .nav-left a {
        margin: 10px 0;
    }
    .menu-toggle {
        display: flex;
    }
    .logo {
        order: 2;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}
