
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

.ff-secondary {
    font-family: 'Pacifico', cursive;
}
.arabic-label {
    font-family: 'Tajawal', sans-serif; /* تحديد الخط العربي الجميل */
    font-size: xx-large; /* حجم النص */
    color: white; /* لون النص */
}

  .oval-button 
 {

    	  font-family: 'Tajawal', sans-serif; /* تعيين الخط الجميل */
 

            background-color: #1a237e; /* لون حبري (أزرق داكن) */
            color: white; /* لون النص */
            border: 4px solid orange; /* تكبير حجم الإطار إلى 4px وبرتقالي اللون */
            padding: 12px 25px; /* الهوامش الداخلية */
            text-align: center; /* محاذاة النص */
            text-decoration: none; /* إزالة التسطير */
            display: inline-block; /* جعل الزر كتلة داخلية */
            font-size: 18px; /* حجم النص */
            margin: 10px 5px; /* الهوامش الخارجية */
            cursor: pointer; /* تغيير مؤشر الفأرة */
            border-radius: 50px; /* لجعل الشكل بيضوي */
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; /* تأثير الحركة */
        }

        .oval-button:hover {
            background-color: orange; /* لون الخلفية عند المرور */
            color: black; /* لون النص عند المرور */
            border-color: #1a237e; /* تغيير لون الإطار عند المرور */
        }
        

.circle-button 

{
	  font-family: 'Tajawal', sans-serif; /* تعيين الخط الجميل */
    display: inline-block;
    margin: 10px;
    width: 60px; /* عرض الزر */
    height: 60px; /* ارتفاع الزر */
    font-size: 13px; /* حجم النص */
    font-weight: bold; /* وزن النص */
    color: #fff; /* لون النص */
    text-align: center;
    line-height: 50px; /* النص في المنتصف */
    border-radius:50%; /* لجعل الزر دائريًا */
    border: 6px solid #fd7e14; /* إطار برتقالي */
    background-color: #993366; /* لون فيروزي */
    cursor: pointer; /* مؤشر متاح */
    transition: background-color 0.3s, transform 0.2s, border-color 0.3s;
}

/* تغيير الشكل عند التمرير */
.circle-button:hover {
    background-color: #00a3a7; /* لون أغمق عند التمرير */
    border-color: #e4600d; /* تغيير لون الإطار عند التمرير */
    transform: scale(1.1); /* تكبير الزر قليلاً */
}

/* عند الضغط */
.circle-button:active {
    transform: scale(0.9); /* تأثير الضغط */
}

/* أنماط خاصة عندما يكون الزر معطلاً */
.circle-button:disabled {
    background-color: #993366; /* الحفاظ على نفس اللون الفيروزي */
    border-color: #fd7e14; /* نفس الإطار البرتقالي */
    color: #fff; /* نفس لون النص */
    cursor: not-allowed; /* مؤشر غير متاح */
    opacity: 1; /* منع التلاشي */
    transform: none; /* إزالة التأثيرات */
    background-color: #993366 !important;
 border-color  : #fd7e14 !important;
     opacity: 1 !important;
}


.custom-checkbox {
    padding-left: 10px; /* إضافة مسافة بين النص وخانة الاختيار */
}


.custom-btn {
    font-family: 'Tajawal', sans-serif; /* تعيين الخط الجميل */
    border-radius: 25px; /* الشكل البيضوي */
    font-weight: bold; /* الخط الغامق */
    text-decoration: none; /* إزالة الخط السفلي */
    font-size: 18px; /* تقليل حجم النص قليلاً */
    display: inline-flex; /* لتوسيط النص */
    justify-content: center; /* محاذاة أفقية للنص */
    align-items: center; /* محاذاة رأسية للنص */
    width: 140px; /* عرض أصغر قليلاً */
    height: 50px; /* ارتفاع أصغر قليلاً */
    background: linear-gradient(145deg, #ff9c33, #ff7f00); /* تأثير تدريج الألوان */
    color: white; /* لون النص */
    border: none; /* إزالة الإطار */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.2); /* ظل ثلاثي الأبعاد */
    transition: all 0.3s ease, transform 0.2s ease; /* تأثيرات انسيابية */
    cursor: pointer; /* تغيير المؤشر عند التمرير */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* ظل للنص */
}

.custom-btn:hover {
    background: linear-gradient(145deg, #ff7f00, #ff9c33); /* عكس تدريج الألوان عند التمرير */
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.4), -6px -6px 20px rgba(255, 255, 255, 0.3); /* تعزيز الظل */
    transform: translateY(-4px); /* رفع الزر عند التمرير */
     font-family: 'Tajawal', sans-serif; /* تعيين الخط الجميل */
}

.custom-btn:active {
    transform: translateY(2px); /* تأثير الضغط عند النقر */
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.4), inset -5px -5px 10px rgba(255, 255, 255, 0.2); /* تأثير داخلي عند النقر */
     font-family: 'Tajawal', sans-serif; /* تعيين الخط الجميل */rif; /* تعيين الخط الجميل */
}

/* تصميم العناصر في القائمة المنسدلة */
.dropdown-item {
    font-family: 'Tajawal', sans-serif; /* تعيين الخط الجميل */
    font-weight: bold; /* الخط الغامق */
    border-radius: 25px; /* الشكل البيضوي */
   
    text-align: right; /* محاذاة النص إلى اليمين */
    padding-right: 20px; /* مسافة داخلية لزيادة الفراغ */
    transition: background-color 0.3s ease; /* تأثير عند التمرير */
}

/* تأثير عند التمرير فوق العنصر */
.dropdown-item:hover {
    background-color: #b0b0b0; /* تغيير اللون عند التمرير */
}

um {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

/* إعدادات الشاشات الصغيرة والمتوسطة (أقل من 992px) */
@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 13px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        text-align: center; /* توسيط الروابط */
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

/* إعدادات الشاشات الكبيرة (992px فأعلى) */
@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
        transiation: background 0.3s ease; /* إضافة تأثير سلس */
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 15px;
    }
}

/* تحسين إضافي لجميع أحجام الشاشات */
.navbar-dark .navbar-brand img {
    max-height: 50px;
    transition: all 0.3s ease; /* إضافة تأثير سلس */
}

.navbar-dark .navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
}

/* توسيط عناصر القائمة */
.navbar-nav {
    display: flex;
    justify-content: center;
}


/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(15, 23, 43, .9), rgba(15, 23, 43, .9)), url(../img/bg-hero.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}




.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}


/*** Food Menu ***/
.nav-pills .nav-item .active {
    border-bottom: 2px solid var(--primary);
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }



#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: calc(100% - 38px);
    transition: .5s;
}

.team-item img {
    transform: none;
}

.team-item:hover img {
    transform: none;
}

.team-item:hover {
    height: 100%;
}

.team-item .btn {
    border-radius: 38px 38px 0 0;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* جعل الأزرار تتناسب مع جميع الشاشات */
.button-fixed {
    border-style: none;
	border-color: inherit;
	border-width: medium;
	width: 90px;        /* عرض ثابت لكل زر */
    height: 30px;        /* ارتفاع ثابت لكل زر */
    box-sizing: border-box; /* الحفاظ على الأبعاد عند إضافة الحواف أو التباعد */
    text-align: center;  /* توسيط النص داخل الزر */
    font-size: 14px;     /* حجم خط ثابت */
    /* إزالة الحدود */
    cursor: pointer;     /* تغيير شكل المؤشر عند التمرير */
    margin: 5px 8px 5px 10px;    /* إضافة مسافة حول الزر */
    display: inline-block; /* جعل الأزرار تظهر جنبًا إلى جنب */
}

/* جعل الأزرار تتكيف مع الشاشات الصغيرة */
@media (max-width: 768px) {
    .button-fixed {
        width: 90%;   /* الأزرار تأخذ 90% من عرض الشاشة */
        margin: 5px auto; /* توسيط الزر مع مسافة حوله */
    }
}

/*/* التعديل على الكرد*/

.gridview-container {
    width: 100%; /* الجدول سيأخذ نصف عرض الحاوية */
    min-width: 500px; /* الحد الأدنى للعرض ليظل الجدول مرئيًا */
    overflow: auto; /* تمكين التمرير الأفقي إذا كانت الأعمدة أكبر من العرض المتاح */
    table-layout: fixed; /* توزيع الأعمدة بشكل ثابت */
}

/* تخصيص للمحتوى على الشاشات الصغيرة */
@media screen and (max-width: 768px) {
    .gridview-container {
        width:95%; /* في الشاشات الصغيرة، سيأخذ الجدول كامل عرض الصفحة */
        min-width: 500px; /* الحد الأدنى للعرض على الأجهزة المحمولة */
    }
}
