/* ========================================== */
/* تنسيقات قسم الهيرو المعدلة - أصغر جداً */
/* ========================================== */

.hero-section {
    position: relative;
    width: 100%;
    /* ارتفاع أصغر بكتير */
    min-height: 320px;
    background-color: #e9e1dd;
    overflow: hidden;
    direction: rtl;
    padding-bottom: 20px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    gap: 25px;
}

/* --- النصوص --- */
.hero-content {
    flex: 1;
    max-width: 500px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: #fff;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.badge-blue { color: #1565c0; background-color: #e3f2fd; }
.badge-green { color: #2e7d32; background-color: #e8f5e9; }

.hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.hero-text {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
}

.hero-main-btn {
    display: inline-block;
    padding: 10px 26px;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: 0.3s;
}

.hero-main-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* --- كارت المنتج والصورة --- */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* الخلفية الضبابية (Blob) */
.blob {
    position: absolute;
    width: 260px;
    height: 260px;
    background: #d4c5be;
    border-radius: 50%;
    filter: blur(50px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.7;
}

.blob-blue { background: #bbdefb; }
.blob-green { background: #c8e6c9; }

/* بطاقة المنتج */
.product-card {
    background: #fff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.09);
    width: 220px;
    text-align: center;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.swiper-slide-active .product-card {
    transform: rotate(0deg) scale(1);
}

.img-box {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 4px;
}

.product-name {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.product-price {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background-color: #25d366;
    color: #fff;
    text-decoration: none;
    border-radius: 7px;
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s;
}

.contact-btn:hover {
    background-color: #1ebe57;
}

.contact-btn i {
    margin-left: 5px;
}

/* --- نقاط التنقل --- */
.swiper-pagination-bullet {
    background: #333;
    opacity: 0.3;
    width: 8px;
    height: 8px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #1a1a1a;
    width: 22px;
    border-radius: 4px;
}

/* ========================================== */
/* التجاوب مع الموبايل */
/* ========================================== */
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 25px 0;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 15px;
        gap: 20px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .hero-text {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .product-card {
        width: 200px;
        transform: rotate(0deg);
    }

    .img-box {
        height: 200px;
    }

    .blob {
        width: 180px;
        height: 180px;
    }
}
