/* ==================================
   SAMT | Luxury Hero Section
================================== */

/* المسافة بين البنر والبلوك السابق */
.aigc-lux-hero {
    margin-top: 45px !important;
    position: relative;
    isolation: isolate;
}

/* تحسين الأزرار */
.aigc-lux-hero a[class*="btn"],
.aigc-lux-hero a[class*="button"],
.aigc-lux-hero button {
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease !important;

    text-decoration: none;
    cursor: pointer;
    will-change: transform;
}

/* تأثير الهوفر الفاخر */
@media (hover: hover) {
    .aigc-lux-hero a[class*="btn"]:hover,
    .aigc-lux-hero a[class*="button"]:hover,
    .aigc-lux-hero button:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12) !important;
        filter: brightness(0.94);
    }
}

/* تأثير الضغط */
.aigc-lux-hero a[class*="btn"]:active,
.aigc-lux-hero a[class*="button"]:active,
.aigc-lux-hero button:active {
    transform: translateY(0) scale(0.98) !important;
}

/* دعم التنقل بلوحة المفاتيح */
.aigc-lux-hero a:focus-visible,
.aigc-lux-hero button:focus-visible {
    outline: 2px solid #8c734b;
    outline-offset: 4px;
}

/* تحسين المسافة على الجوال */
@media (max-width: 767px) {
    .aigc-lux-hero {
        margin-top: 25px !important;
    }
}

/* احترام تفضيلات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .aigc-lux-hero a,
    .aigc-lux-hero button {
        transition: none !important;
    }
}


/* إصلاح اختفاء النص عند Hover */
.aigc-lux-hero .aigc-lux-hero__btn--primary,
.aigc-lux-hero .aigc-lux-hero__btn--primary:hover,
.aigc-lux-hero .aigc-lux-hero__btn--primary:focus,
.aigc-lux-hero .aigc-lux-hero__btn--primary:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* تثبيت لون النصوص الداخلية */
.aigc-lux-hero .aigc-lux-hero__btn--primary:hover * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* هوفر ناعم واحترافي */
.aigc-lux-hero .aigc-lux-hero__btn--primary {
    transition: all 0.3s ease !important;
}

.aigc-lux-hero .aigc-lux-hero__btn--primary:hover {
    transform: translateY(-2px);
    filter: brightness(0.9);
}


/* ===================================
   SAMT - Story Image Fix
=================================== */

/* إضافة مساحة للصورة داخل البلوك */
.aigc-story__inner {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
    box-sizing: border-box !important;
}

/* استهداف حاوية الصورة */
.aigc-story__inner > :has(img) {
    align-self: center !important;
    height: auto !important;
    max-height: 470px !important;
    overflow: hidden !important;
    border-radius: 22px !important;
}

/* تنسيق الصورة نفسها */
.aigc-story__inner img {
    display: block !important;
    width: 100% !important;
    height: 440px !important;
    max-height: 440px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 22px !important;
}

/* الجوال */
@media (max-width: 767px) {
    .aigc-story__inner {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .aigc-story__inner > :has(img) {
        max-height: 360px !important;
        border-radius: 16px !important;
    }

    .aigc-story__inner img {
        height: 340px !important;
        max-height: 340px !important;
        border-radius: 16px !important;
    }
}

.aigc-samt-grid__panel {
    margin-top: 26px;
}