/* الهيدر الرئيسي */
.container.container--header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.container--blackk {
    background: #fff !important;

    color: #000 !important;
}

.header-is-stickyy {
    box-shadow: 0 2px 10px rgba(179, 14, 14, 0.1);
}

.header-is-minimized .site-header {
    height: 60px;
}

/* الهيدر الداخلي */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    transition: height 0.3s ease;
}

.container__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: center;
    justify-content: space-between;
}

/* الشعار */
.site-header__logo {
    flex: 0 0 auto;
}

.site-logo .logo-image {
    width: 150px;
    height: auto;
    max-height: 40px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.header-is-minimized .site-logo .logo-image {
    width: 120px;
    max-height: 32px;
}

/* القوائم */
.site-header__live-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-header__live-menu--desktop {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Live CTA */
.live-cta {
    display: flex;
    align-items: center;
    color: black;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.live-cta:hover {
    background: #a00;
    transform: translateY(-1px);
}

.live-cta__icon-wrapper {
    margin-right: 8px;
    display: flex;
    align-items: center;
}

.live-cta__title {
    font-size: 14px;
    font-weight: 600;
}

.live-cta__title--white {
    color: black;
}

/* الأزرار */
.auth-btn {
    background: #c00;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background: #a00;
    transform: translateY(-1px);
}

.no-styles-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #000 !important;
}

/* القائمة الرئيسية */
.site-header__navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 30px;
}

.menu__item {
    position: relative;
}

.menu__item a,
.menu__item button {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.menu__item a:hover,
.menu__item button:hover {
    color: #c00;
}

.menu__item--has-submenu {
    position: relative;
}

.expand-button {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
}

/* القوائم الفرعية */
.submenu_wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    display: none;
    z-index: 1001;
    border-radius: 4px;
    overflow: hidden;
}

.menu__item--has-submenu:hover .submenu_wrapper {
    display: block;
}

.menu__submenu {
    display: block;
}

.menu__submenu .menu__item {
    padding: 0;
}

.menu__submenu .menu__item a {
    display: block;
    padding: 12px 20px;
    color: #333;
    border-bottom: 1px solid #000;
    white-space: nowrap;
}

.menu__submenu .menu__item:last-child a {
    border-bottom: none;
}

.menu__submenu .menu__item a:hover {
    background: #f5f5f5;
    color: #c00;
}

/* الأيقونات */
.icon {
    fill: currentColor;
}

.icon--white {
    color: black;
}

.icon--grey {
    color: #888;
}

.icon--24 {
    width: 24px;
    height: 24px;
}

.icon--16 {
    width: 16px;
    height: 16px;
}

.icon--32 {
    width: 32px;
    height: 32px;
}

.icon-main-color {
    fill: currentColor;
}

/* زر القائمة للجوال */
.site-header__menu-trigger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.site-header__menu-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Accessibility */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.bypass-block-links-container {
    position: absolute;
    top: -40px;
    left: 0;
}

.bypass-block-link {
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    z-index: 1001;
    opacity: 0;
}

.bypass-block-link:focus {
    top: 0;
    position: absolute;
    opacity: 1;
}


/* Animation classes */
.css-15ru6p1 {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.css-0 {
    position: relative;
}

.css-v2kfba {
    margin: 0;
    padding: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .site-header__live-menu--desktop {
        display: none;
    }

    .site-header__navigation {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .site-header__navigation.active {
        display: block;
    }

    .menu {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .menu__item {
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .menu__item a,
    .menu__item button {
        padding: 15px 0;
        width: 100%;
        justify-content: space-between;
    }

    .submenu_wrapper {
        position: static;
        box-shadow: none;
        background: #fff;
        display: none;
    }

    .submenu_wrapper.active {
        display: block;
    }

    .menu__submenu .menu__item a {
        padding-left: 30px;
        color: rgba(19, 18, 18, 0.8);
    }

    .menu__submenu .menu__item a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .site-header__menu-trigger {
        display: block;
    }

    .header-is-minimized .site-header__navigation {
        top: 60px;
    }
}

@media (min-width: 1025px) {
    .site-header__live-menu {
        display: none;
    }
}
