
.card {
    min-width: 200px;
    max-width: 250px;
    margin: 10px;
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.scrolling-wrapper {
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    cursor: grab; /* تغيير شكل المؤشر للسحب */
}
.scrolling-wrapper ::-webkit-scrollbar{
    width: 5px;
    height: 05x;
}
.scrolling-wrapper:active {
    cursor: grabbing; /* تغيير شكل المؤشر أثناء السحب */
}
.card img {
    height: 160px;
    object-fit: cover;
}
.card-body {
    text-align: center;
    padding: 10px;
}
.card-title {
    font-size: 1rem;
    margin-bottom: 10px;
}
.card-text {
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.price {
    font-weight: bold;
    color: #e74c3c;
}
.btn-add-to-cart {
    background-color: #28a745;
    color: white;
    margin-top: 10px;
    width: 100%;
}
.carousel-item {
    height: 80vh;
    background-size: cover;
    background-position: center;
}
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
}
.cart-container {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    display: none; /* مخفية بشكل افتراضي */
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}

.cart-header {
    padding: 10px;
    background-color: #f8f8f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.cart-header h2 {
    margin: 0;
}

.btn-close-cart {
    background-color: #ff4d4d;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
}

.cart-items {
    padding: 10px;
    flex-grow: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cart-item-name {
    flex-grow: 1;
}

.cart-item-quantity,
.cart-item-price,
.cart-item-total {
    margin-left: 10px;
}

.cart-footer {
    padding: 10px;
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    text-align: center;
}

.btn-submit-order {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
}


.header_section .navbar-brand {
    margin-left: auto;
    margin-right: 0;
}

.header_section .navbar-nav {
    margin-left: 0;
    margin-right: auto;
}

.cart-container {
    left: 0; /* تغيير الموضع إلى اليسار بدلاً من اليمين */
    right: auto;
}

.cart-header {
    direction: rtl;
}

.cart-items {
    direction: rtl;
}

.cart-footer {
    direction: rtl;
    text-align: center;
}
/* styles.css */
.header_section {
    background-color: #333;
    padding: 15px 0;
}

.navbar-brand span {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: #fff;
    margin-right: 20px;
    font-size: 16px;
}

.user_option {
    display: flex;
    align-items: center;
}

.user_option .user_link,
.user_option .cart_link,
.user_option .order_online {
    color: #fff;
    margin-right: 15px;
    font-size: 16px;
    text-decoration: none;
}

.user_option .order_online {
    background-color: #f90;
    padding: 10px 20px;
    border-radius: 5px;
}

.user_option .nav_search-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
}

#cart-modal {
    position: fixed;
    right: 10px;
    top: 70px;
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#cart-items {
    margin-bottom: 10px;
}
:root {
    --primary-color: #f58712;
    --secondary-color: #2ecc71;
    --font-color: 430b0b;
    --background-color: #f8f9fa;
}

body {
    color: var(--font-color);
    background-color: var(--background-color);
}

.navbar {
    background-color: var(--primary-color);
}

.btn-submit-order {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-submit-order:hover {
    background-color: darken(var(--secondary-color), 10%);
}

.book_section {
    padding: 60px 0;
}

.heading_container {
    margin-bottom: 30px;
}

.heading_container h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

.form_container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
}

.btn_box {
    margin-top: 20px;
}

.btn-box .btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: auto; /* Pushes the button to the bottom of the card */

    transition: background-color 0.3s ease;
}

.btn-box .btn:hover {
    background-color: darken(var(--primary-color), 10%);
}

.map_container {
    height: 400px;
}

/* نمط زر "إضافة إلى السلة" */
.add-to-cart {
    background-color: #f58712; /* لون الخلفية */
    color: #fff; /* لون النص */
    border: none; /* إزالة الحافة الافتراضية */
    padding: 12px 24px; /* المسافة الداخلية */
    font-size: 16px; /* حجم الخط */
    border-radius: 6px; /* حواف دائرية */
    cursor: pointer; /* تغيير شكل المؤشر عند المرور فوق الزر */
    transition: background-color 0.3s, transform 0.2s; /* تأثير الانتقال */
    text-align: center; /* محاذاة النص في الوسط */
    display: inline-block; /* تقييد الزر بحجمه الفعلي */
    font-weight: bold; /* جعل النص عريضًا */
}

/* تأثير عند التمرير فوق الزر */
.add-to-cart:hover {
    background-color: #218838; /* لون الخلفية عند التمرير فوق الزر */
    transform: scale(1.05); /* تكبير بسيط للزر */
}

/* تأثير عند الضغط على الزر */
.add-to-cart:active {
    background-color: #1e7e34; /* لون الخلفية عند الضغط */
    transform: scale(0.98); /* تصغير بسيط للزر */
}
/* تنسيق قسم العملاء */
.client_section {
    padding: 60px 0; /* تباعد من الأعلى والأسفل */
    background-color: var(--light); /* لون خلفية خفيف */
}

/* تنسيق عنوان القسم */
.client_section .heading_container {
    text-align: center; /* محاذاة النص في الوسط */
    margin-bottom: 45px; /* تباعد أسفل العنوان */
}

.client_section .heading_container h2 {
    font-size: 2rem; /* حجم الخط */
    color: var(--dark); /* لون النص */
    font-weight: 700; /* سمك الخط */
    margin-bottom: 20px; /* تباعد أسفل العنوان */
}

/* تنسيق صندوق العميل */
.client_section .owl-carousel .item {
    background: var(--white); /* لون خلفية أبيض */
    border-radius: 8px; /* حواف دائرية */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ظل بسيط */
    padding: 20px; /* تباعد داخلي */
    text-align: center; /* محاذاة النص في الوسط */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* تأكد من أن العنصر يمتد بالكامل */
}

/* تنسيق صندوق التفاصيل */
.client_section .box .detail-box {
    margin-bottom: 20px; /* تباعد أسفل صندوق التفاصيل */
}

/* تنسيق نص التفاصيل */
.client_section .box .detail-box p {
    font-size: 1rem; /* حجم الخط */
    color: var(--gray); /* لون النص */
    margin-bottom: 10px; /* تباعد أسفل النص */
    line-height: 1.6; /* ارتفاع السطر */
}

/* تنسيق اسم العميل */
.client_section .box .detail-box h6 {
    font-size: 1.2rem; /* حجم الخط */
    color: var(--dark); /* لون النص */
    font-weight: 600; /* سمك الخط */
    margin-bottom: 5px; /* تباعد أسفل الاسم */
}

/* تنسيق صندوق الصورة */
.client_section .box .img-box {
    margin-top: 20px; /* تباعد أعلى الصورة */
}

.client_section .box .img-box img {
    border-radius: 50%; /* حواف دائرية للصورة */
    width: 100px; /* عرض الصورة */
    height: 100px; /* ارتفاع الصورة */
    object-fit: cover; /* ملاءمة الصورة */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* ظل للصورة */
}

/* تنسيق أزرار التمرير */
.owl-nav button {
    background-color: var(--primary); /* لون خلفية الأزرار */
    color: var(--white); /* لون النص */
    border: none; /* إزالة الحدود */
    border-radius: 50%; /* حواف دائرية */
    width: 40px; /* عرض الزر */
    height: 40px; /* ارتفاع الزر */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; /* تغيير شكل المؤشر */
    margin: 0 10px; /* تباعد أفقي بين الأزرار */
    transition: background-color 0.3s; /* انتقال اللون */
}

.owl-nav button:hover {
    background-color: var(--dark); /* تغيير اللون عند المرور */
}
.card-body {
    flex: 1;
}

.card-img-top {
    height: 200px; /* Adjust the height as needed */
    object-fit: cover;
}

