/* ============================================
   صفحه‌ی اصلی فروشگاه — چیدمان حرفه‌ای
   ============================================ */

/* ---------- Hero Section ---------- */
.home-hero {
    position: relative;
    overflow: hidden;
}

.home-hero-slide {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.home-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.15) 0%, rgba(10, 88, 202, 0.25) 100%);
    z-index: 0;
}

.home-hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 4rem 0;
}

.home-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 36rem;
    line-height: 1.8;
}

.home-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.home-hero-cta-primary {
    background: #fff;
    color: var(--bs-primary);
}

.home-hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--bs-primary);
}

/* ---------- Features Section ---------- */
.home-features {
    padding: 3.5rem 0;
    background: var(--bs-gray-100);
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.home-feature-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid var(--bs-gray-200);
}

.home-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--bs-primary);
}

.home-feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--bs-primary);
    color: #fff;
    font-size: 1.5rem;
}

.home-feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.home-feature-subtitle {
    font-size: 0.85rem;
    color: var(--bs-gray-600);
    line-height: 1.6;
}

/* ---------- Story & Process Section ---------- */
.home-story {
    padding: 4rem 0;
}

.home-story-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.home-story-text {
    font-size: 1.1rem;
    color: var(--bs-gray-700);
    line-height: 2;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.home-process-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bs-gray-100);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.home-process-item:hover {
    background: var(--bs-primary);
    color: #fff;
}

.home-process-item:hover .home-process-icon {
    color: #fff;
}

.home-process-icon {
    font-size: 1.5rem;
    color: var(--bs-primary);
    flex-shrink: 0;
}

.home-process-title {
    font-weight: 600;
    font-size: 0.95rem;
}

/* ---------- Products Section ---------- */
.home-products {
    padding: 4rem 0 5rem;
    background: var(--bs-gray-100);
}

.home-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bs-gray-300);
}

.home-products-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}

.home-products-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.home-products-link:hover {
    transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .home-hero-title {
        font-size: 2rem;
    }

    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .home-hero-slide {
        min-height: 400px;
    }

    .home-hero-title {
        font-size: 1.65rem;
    }

    .home-hero-subtitle {
        font-size: 1rem;
    }

    .home-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .home-feature-card {
        padding: 1.25rem 1rem;
    }

    .home-process-grid {
        grid-template-columns: 1fr;
    }

    .home-products-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .home-features-grid {
        grid-template-columns: 1fr;
    }
}
