@font-face {
    font-family: Tajawal;
    src: url("assets/fonts/Tajawal/Tajawal-Regular.woff2") format("woff2"),
         url("assets/fonts/Tajawal/Tajawal-Regular.woff") format("woff"),
         url("assets/fonts/Tajawal/Tajawal-Regular.ttf") format("truetype");
}

body {
    direction: rtl;
    text-align: right;
    font-family: Tajawal, sans-serif;
    justify-content: center;
    align-items: center;
}

.accordion-content div p {
    color: black !important;
}

.hidden {
    display: none;
}

/* تنسيق الشريط العلوي */
.top-logo {
    height: 40px;
}

.top-slide-logo {
    width: 100%;
}

.navbar {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    background: #232220 !important;
    
}

.navbar-brand, .nav-link, .dropdown-item {
    color: #fff !important;
}

.navbar-brand:hover, .nav-link:hover, .dropdown-item:hover {
    color: #000 !important;
}

.navbar-toggler-icon {
    color: white !important;
    font-weight: bold !important;
}

.offcanvas {
    background-color: #232220 !important;
}

.offcanvas-header {
    border-bottom: 1px solid #fff;
}

.offcanvas-title {
    color: #fff; 
}

.navbar-nav .nav-link {
    color: #fff !important; 
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

.navbar-toggler {
    border: 0px !important;
    color: #fff !important;
    border: 1px solid #fff !important;
}

.navbar-toggler span {
    color: #fff !important;
}

/* تصميم الحاوية العلوية */
.main-container {
    background: #232220;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    overflow: hidden;
    transition: border-radius 0.3s ease;
}

.text-center {
    color: #fff;
}

.main-container h3, .main-container h4 {
    font-family: Tajawal, sans-serif;
    font-weight: bold;
    padding: 0 50px;
}

.main-container p {
    font-family: Tajawal, sans-serif;
}

.main-container img {
    width: 100%;
    display: block; 
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    margin-top: 20px;
}

.main-container.scrolled {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.main-container.scrolled-top {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

/*تنسيق أول عنوان رأس الصفحة*/
.fade-in-up {
    opacity: 0; 
    transform: translateY(20px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.show {
    opacity: 1;
    transform: translateY(0);
}

/*تنسيق زر تقديم الطلب اعلى الصفحة*/
@keyframes shake {
    0%   { transform: rotate(0deg); }
    25%  { transform: rotate(3deg) }
    50%  { transform: rotate(-3deg); }
    75%  { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}

.shaking-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: red;
    color: white;
    font-family: Tajawal;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
    animation: shake 1s infinite ease-in-out;
}

.shaking-button:hover {
    background-color: #e55b00;
}

/*تنسيق النص والايقونات اعلى الصفحة*/
.icon-class {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 10px;
}


.icon-class i {
    background-color: white;
    color: #232220;
    border-radius: 50px;
    width: max-content;
    height: max-content;
    padding: 5px;
    margin-left: 10px;
}

.icon-class p {
    font-weight: bold;
    font-size: 18px;
    color: white;
}

/*تنسيق الحاوية المتوسطة*/
.middle-container {
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 50px 0;
}

.middle-container p {
    font-size: 1rem;
    font-family: Tajawal;
}

.middle-logo {
    width: 300px;
}

.middle-bannar {
    width: 100%;
}

/*تنسيق العروض الحصرية*/
.middle-container h1 {
    font-family: Tajawal;
    font-weight: bold;
    color: #e55b00;
}

.discount-container {
    background-image: url('assets/images/discount-background.webp');
    padding: 20px 10px;
    border-radius: 20px;
}

.images-container {
    display: flex;
    gap: 10px;
    overflow-x: auto; 
    white-space: nowrap;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.images-container img {
    width: 24%; 
    max-width: 100%;
    border-radius: 8px;
    scroll-snap-align: start;
}

/*تنسيق الحاوية الاخيرة - معلومات التوثيق والموقع والفروع*/
.last-container {
    padding: 0 5px;
}

.accordion-container {
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.accordion-header {
    padding: 15px;
    background-color: #ff7e5f;
    color: white;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #feb47b;
}

.accordion-icon {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accordion-content {
    padding: 15px;
    display: none;
    max-height: 0;
    overflow: hidden;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    transition: max-height 0.3s ease-in-out;
}

.accordion-container.open .accordion-content {
    display: block;
    max-height: 1000px;
}

.accordion-container.open .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content-text {
    display: flex;
    gap: 10px;
    font-size: 15PX;
    font-family: Tajawal;
    text-decoration: none;
    color: #fff;
}

.accordion-content div a i {
    color: #e55b00;
}

/*تصميم تذييل الصفحة - الفوتر*/
.footer {
    background: #232220;
    color: white;
    padding: 40px 0;
    text-align: center;
    font-family: Tajawal;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 300px;
    margin-bottom: 10px;
}

.footer-description {
    font-size: 14px;
    color: #f1f1f1;
    font-family: Tajawal;
    font-weight: bold;
}

.links-section ul {
    list-style: none;
    padding: 0;
}

.links-section ul li {
    margin-bottom: 8px;
}

.links-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.links-section ul li a:hover {
    color: #ffd700;
}

.contact-section p {
    margin: 5px 0;
}

.social-icons a {
    display: inline-block;
    color: white;
    font-size: 20px;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
}

@media (max-width: 768px) {
    /*تصميم العروض الخاصة في شاشة الهاتف*/
    .images-container img {
        width: 48%; 
    }

    /*تنسيق الحاوية الاخيرة - معلومات التوثيق والموقع والفروع*/
    .accordion-header {
        font-size: 16px;
        padding: 10px;
    }

    .accordion-content {
        padding: 10px;
    }

    /*تصميم تذييل الصفحة - الفوتر*/
    .container {
        flex-direction: column;
        text-align: center;
    }
}

/* إخفاء زر القائمة في الشاشات الكبيرة */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
    .offcanvas {
        display: none !important;
    }
    .navbar-collapse {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
    }
    .navbar-nav {
        display: flex;
        justify-content: center;
        flex-grow: 1;
        margin: 0 auto;
    }
    .navbar-nav .nav-item {
        margin: 0 10px;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
    .navbar-nav .nav-item:last-child {
        margin-left: auto; 
    }

    body {
        margin: 0 10%;
        padding: 0 10%;
    }
}

/*-----------------------------------------------------------*/
/*تنسيق صفحة الطلبات*/
.order-title {
    font-family: Tajawal;
    text-align: center;
    color: white;
}

.order-body {
    background: #232220;
    font-family: "Tajawal", sans-serif;
    background-color: #232220;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-title-div {
    display: flex;
    font-family: Tajawal;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.order-title-div {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    gap: 10px;
}

.order-title {
    position: relative;
    padding: 10px;
}

.first-title::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 5px;
    background-color: #fb531b;
    transition: width 0.3s ease;
}

.first-title::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 30px;
    width: 5px;
    background-color: #fb531b;
    transition: height 0.3s ease;
}

.last-title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 5px;
    background-color: #fb531b;
    transition: width 0.3s ease;
}

.last-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 30px;
    width: 5px;
    background-color: #fb531b;
    transition: height 0.3s ease;
}

.order-title-div:hover .first-title::before,
.order-title-div:hover .last-title::before {
    width: 100%;
}

.order-title-div:hover .first-title::after,
.order-title-div:hover .last-title::after {
    height: 100%;
}

.order-form {
    background-color: #232220;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.form-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #fff;
}

.field-container {
    margin-bottom: 15px;
}

.form-label {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #fff;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #fb531b;
    outline: none;
}

.hint {
    font-size: 12px;
    color: #fff;
}

.required {
    color: red;
}

.hidden {
    display: none;
}

.form-checkbox {
    margin-right: 5px;
}

.order-btn {
    text-align: center;
    margin-top: 20px;
}

.form-btn {
    background-color: #fb531b;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.form-btn:hover {
    background-color: #e44b1a;
}

.closed-message {
    color: red;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

/*---------------------------------------------------*/
/*تنسيق صفحة اتصل بنا*/
.contact-body {
    font-family: "Tajawal", sans-serif;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #232220;
}

.contact-as-div {
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    background-color: #ddbe7e;
}

.contact-as-div a {
    padding: 10px 20px;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    color: white;
    font-family: Tajawal;
    font-size: 1.2rem;
    display: flex;
    gap: 10px;
}

.whatsapp-contact-btn {
    background-color: green;
}

.email-contact-btn {
    background-color: #e55b00;
}

.phone-contact-btn {
    background-color: rgb(0, 81, 255);
}

/*------------------------------------------------------*/
/*تنسيق صفحة من نحن*/
.about-us-body {
    font-family: "Tajawal", sans-serif;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #232220;
}

.about-main-cntainer {
    background-color: #ddbe7e;
    display: grid;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.about-main-cntainer img {
    width: 100%;
}

.about-main-cntainer {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px; 
    margin: 0 auto;
}

.about-main-cntainer img {
    width: 100%;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.about-main-cntainer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.3));
    z-index: 1;
    opacity: 0.7;
    border-radius: 20px;
    transition: opacity 0.5s ease;
}

.about-main-cntainer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 2;
    opacity: 0;
    border-radius: 20px;
    animation: shadowAnimation 4s infinite ease-in-out;
}

.about-main-cntainer:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.2);
}

.about-main-cntainer:hover::before {
    opacity: 0.9;
}

@keyframes shadowAnimation {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.about-div {
    background-color: #ddbe7e;
    display: grid;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    text-align: center;
}

.about-div h1 {
    font-weight: bold;
}

.about-div p {
    padding: 5px 10px;
    font-weight: bold;
}

.about-div div a {
    padding: 10px 20px;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    color: white;
    font-family: Taja2al;
    font-size: 1.2rem;
    display: flex;
    gap: 10px;
}

.about-div div {
    padding: 10px 20px;
}

.locations-div {
    margin: 10px;
    padding: 5px;
    background-color: #e55b00;
    border-radius: 20px;
    justify-content: center;
    display: grid;
    align-items: center;
    text-align: start;
    color: white;
}

.locations-div h1 {
    text-align: center;
}

.locations-div p {
    font-size: 15px;
}

.prop-one {
    margin: 10px;
    padding: 20px;
    background-color: #48ade7;
    border-radius: 20px;
    justify-content: center;
    display: grid;
    align-items: center;
    text-align: center;
    color: white;
}

.prop-one i {
    font-size: 50px;
    background-color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #48ade7;
    margin: 0 auto 15px;
}

.prop-one h1 {
    margin: 10px 0;
}

.prop-one p {
    margin: 0;
    line-height: 1.6;
}

.prices {
    margin: 10px;
    padding: 20px;
    background-color: #48e7aa;
    border-radius: 20px;
    justify-content: center;
    display: grid;
    align-items: center;
    text-align: center;
    color: white;
}

.prices i {
    font-size: 50px;
    background-color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #48e7aa;
    margin: 0 auto 15px;
}

.prices h1 {
    margin: 10px 0;
}

.prices p {
    margin: 0;
    line-height: 1.6;
}

.support {
    margin: 10px;
    padding: 20px;
    background-color: #e7a248;
    border-radius: 20px;
    justify-content: center;
    display: grid;
    align-items: center;
    text-align: center;
    color: white;
}

.support i {
    font-size: 50px;
    background-color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e7a248;
    margin: 0 auto 15px;
}

.support h1 {
    margin: 10px 0;
}

.support p {
    margin: 0;
    line-height: 1.6;
}

.delivery {
    margin: 10px;
    padding: 20px;
    background-color: #e74863;
    border-radius: 20px;
    justify-content: center;
    display: grid;
    align-items: center;
    text-align: center;
    color: white;
}

.delivery i {
    font-size: 50px;
    background-color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e74863;
    margin: 0 auto 15px;
}

.delivery h1 {
    margin: 10px 0;
}

.delivery p {
    margin: 0;
    line-height: 1.6;
}