@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Dancing+Script:wght@400..700&family=Miniver&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Aref+Ruqaa:wght@400;700&family=Dancing+Script:wght@400..700&family=Miniver&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-family: 'Poppins', sans-serif;
}

:root {
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-1: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;
    --site-max-width: 1300px;
}

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    width: 75%;
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

.section-titel {
    font-size: 40px;
    color: #000000;
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
}

.menu-section-titel {
    font-size: 40px;
    color: #faf4f5;
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
}

header {
    position: fixed;
    width: 100%;
    z-index: 5;
    background: #efdecd;
}

header .navbar {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

.navbar .nav-logo .logo-text {
    color: black;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

ul .nav-menu {
    display: flex;
}

.nav-item {
    display: flex;
    flex-direction: column;
}

.navbar .nav-menu {
    display: flex;
    gap: 10px;
    flex-direction: row-reverse;
}

.navbar .nav-menu .nav-link {
    padding-right: 100px;
    padding: 10px 18px;
    color: black;
    font-size: 1.5rem;
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
    color: #efdecd;
    background: #8b5e3c;
}

.navbar :where(#menu-close-button,
#menu-open-button) {
    display: none;
}

.hero-section {
    display: flex;
    min-height: 100vh;
    background-color: #efdecd;
}

.hero-section .section-contect {
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: black;
    justify-content: space-between;
    padding-left: 150px;
}

.hero-section .hero-deitals .titel {
    direction: rtl;
    text-align: right;
    padding-right: 75px;
    font-size: var(--font-size-xxl);
    color: #8b5e3c;
    font-family: 'Poppins', sans-serif;
}

.hero-section .hero-deitals .subtitel {
    direction: rtl;
    text-align: right;
    margin-top: 8px;
    padding-right: 75px;
    /* max-width: 70%; */
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.hero-section .hero-deitals .description {
    direction: rtl;
    text-align: right;
    padding-right: 75px;
    /* max-width: 70%; */
    margin-top: 8px;
    font-size: var(--font-size-m);
}

.hero-section .hero-deitals .buttons {
    direction: rtl;
    text-align: right;
    padding-right: 75px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    gap: 23px;
}

.hero-section .hero-deitals .buttons .button-conact-us {
    padding: 10px 26px;
    border: 2px solid transparent;
    margin-left: 400px;
    color: #efdecd;
    border-radius: var(--border-radius-m);
    background: #8b5e3c;
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
}

.hero-section .hero-deitals .button:hover,
.hero-section .hero-deitals .buttons .button-conact-us {
    color: black;
    border-color: var(--white-coloer);
    background: transparent;
}

.hero-section .hero-deitals .buttons .button-conact-us:hover {
    color: #efdecd;
    border-color: var(--secondary-coloer);
    background: #8b5e3c;
}

.hero-section .hero-image-wrapper {
    max-width: 500px;
    margin-right: 30px;
}

.about-section {
    padding: 120px 0;
    background: #faf4f5;
}

.about-section .section-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.about-section .about-image-wrapper .about-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-circle);
}

.about-section .about-deitals .section-titel {
    padding: 0;
}

.about-section .about-deitals {
    max-width: 50%;
}

.about-section .about-deitals .text {
    line-height: 30px;
    margin: 50px 0 30px;
    text-align: center;
    font-size: var(--font-size-m);
}

.about-section .social-link-list {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.about-section .social-link-list .social-link {
    color: black;
    font-size: var(--font-size-l);
    transition: 0.2s ease;
}

.about-section .social-link-list .social-link:hover {
    color: #8b5e3c;
}

.menu-section {
    color: #fff;
    background: #252525;
    padding: 50px 0 100px;
}

.menu-section .slider-wrapper {
    overflow: hidden;
    margin: 0 60px 50px;
}

.menu-section .menu {
    display: flex;
    padding: 35px;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.menu-section .menu .name {
    margin-bottom: 16px;
    font-size: var(--font-size-m);
}

.menu-section .menu .feedback {
    line-height: 25px;
    color: #ffff;
    font-size: var(--font-size-s);
}

.menu-section .menu .user-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 50px;
    border-radius: var(--border-radius-circle);
}

.menu-section .swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    opacity: 1;
    background: #efdecd;
}

.menu-section .swiper-slide-button {
    margin-top: -50px;
    color: #efdecd;
    transition: 0.3s ease;
}

.menu-section .swiper-slide-button:hover {
    color: #8b5e3c;
}

.gallery-section {
    padding: 50px 0 100px;
    background-color: #ffffff;
}

.gallery-section .gallery-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.gallery-section .gallery-list .gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-s);
    width: calc(100% / 3 - 32px);
}

.gallery-section .gallery-item .gallery-image {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: 0.3s ease;
}

.gallery-section .gallery-item:hover .gallery-image {
    transform: scale(1.3);
}

.contact-section {
    height: 100vh;
    /* الصفحة بالكامل */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: #faf4f5;
    position: relative;
    overflow: hidden;
}


/* العنوان */

.section-title {
    font-size: 40px;
    color: #000000;
    text-align: center;
    margin-top: 60px;
    display: inline-block;
    padding-bottom: 5px;
    z-index: 2;
}


/* الكارد الذي يبدأ بعد العنوان بمسافة */

.contact-box {
    position: absolute;
    /* ألغينا الـ absolute لتتحكم المسافات بسهولة */
    margin-top: 60px;
    /* المسافة بين العنوان والكارد */
    width: 100%;
    top: 15%;
    bottom: 0;
    left: 0;
    right: 0;
    /* يغطي النصف السفلي تقريباً */
    background: #efdecdc4;
    border-radius: 30px 30px 0 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 60px;
    color: #fff;
}


/* معلومات التواصل */

.contact-info {
    flex: 1;
    max-width: 400px;
    font-family: Arial, Helvetica, sans-serif;
}

.contact-info p {
    margin: 12px 0;
    font-size: 18px;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h1 {
    color: #706f6f;
    font-size: 13px;
    display: flex;
}

.contact-info i {
    color: #000000;
    font-size: 18px;
}

.contact-info .info,
.contact-info p {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.contact-info .info.active,
.contact-info p.active {
    opacity: 1;
    transform: translateY(0);
}


/* الفورم */

.contact-form {
    flex: 1;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input,
.textarea {
    width: 100%;
    /* ✅ تملأ الشاشة بالكامل */
    padding: 15px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    border: none;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    direction: rtl;
    /* ✅ الكتابة من اليمين إلى اليسار */
    text-align: right;
    /* ✅ النص بمحاذاة اليمين */
    outline: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    /* 🔹 مسافة بسيطة بين الخانات */
}


/* ✅ عند الضغط */

.input:focus,
.textarea:focus {
    box-shadow: 0 0 10px #c9ac90;
    transform: scale(1.01);
}

.input::placeholder,
.textarea::placeholder {
    color: #b0b0b0;
}

.textarea {
    height: 100px;
    resize: none;
}

.button {
    margin-top: 5px;
    font-size: 14px;
    background: #794919;
    color: #ffffff;
    padding: 0.7em 0;
    border-radius: 3em;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.button:hover {
    background: #764723;
    color: #ffffff;
}


/* استجابة للجوال */

@media (max-width: 768px) {
    .contact-box {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
        text-align: center;
        margin-top: 40px;
    }
    .contact-info,
    .contact-form {
        max-width: 100%;
    }
    .contact-info p {
        font-size: 15px;
        margin-top: 0;
    }
    .contact-info {
        margin-top: 50px !important;
        margin-bottom: 30px !important;
    }
}

.footer-section {
    padding: 20px 0;
    background: #252525;
}

.footer-section :where(.copyright-text,
.social-link,
.policy-link) {
    color: white;
    transition: 0.2s ease;
}

.footer-section .section-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section .socil-link-list {
    display: flex;
    gap: 25px;
}

.footer-section .socil-link-list .social-link {
    font-size: var(--font-size-1);
}

.footer-section .socil-link-list .social-link:hover,
.footer-section .policy-text .policy-link:hover {
    color: #efdecd;
}

.footer-section .policy-text .separator {
    margin: 0 5px;
    color: white;
}

#whatsappBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    /* ← بجانب زر الطلوع */
    background-color: #25d366;
    /* لون واتساب */
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    display: none;
    /* مخفي بالبداية */
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    z-index: 99;
}

#whatsappBtn:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

.whatsappIcon {
    width: 28px;
    height: 28px;
    fill: white;
}

#toTopBtn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99;
    background: linear-gradient(135deg, #ad9174, #ffffff);
    color: rgb(1, 8, 88);
    border: #000000;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
    /* يكون مخفي بالبداية */
    transition: opacity 0.3s ease;
}

#toTopBtn:hover {
    background: linear-gradient(135deg, #8b5e3c, #9c6e4a);
    color: white;
}

@media screen and (max-width: 900px) {
     :root {
        --font-size-m: 1rem;
        --font-size-1: 1.3rem;
        --font-size-xl: 1.5rem;
        --font-size-xxl: 1.8rem;
    }
    body.show-mobile-menu header::before {
        content: '';
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.2s);
    }
    .navbar .nav-menu {
        display: block;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        background: white;
        transition: left 0.2s ease;
    }
    .navbar :where(#menu-close-button,
    #menu-open-button) {
        display: block;
        font-size: var(--font-size-1);
    }
    .navbar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px;
    }
    .navbar #menu-open-button {
        color: #252525;
    }
    body.show-mobile-menu .navbar .nav-menu {
        left: 0;
    }
    .navbar .nav-menu .nav-link {
        color: black;
        display: block;
        margin-top: 17px;
        font-size: var(--font-size-1);
    }
    .hero-section .section-contect {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }
    .hero-section .hero-deitals :is(.subtitel,
    .description),
    .about-section .about-deitals {
        max-width: 100%;
        align-items: center;
        justify-self: start;
        margin-left: 50px;
        margin-right: 0;
    }
    .hero-section .section-contect .hero-deitals .buttons .button-conact-us {
        justify-content: center;
        padding-right: 40px;
        margin-left: 50px;
        margin-right: 0px;
    }
    .hero-section .hero-image-wrapper {
        max-width: 270px;
        margin-right: 0;
        padding-top: 35px;
    }
    .about-section {
        padding: 40px 16px;
    }
    .about-section .section-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        max-width: 560px;
        margin: 0 auto;
    }
    /* الصورة */
    .about-section .about-image-wrapper {
        width: 220px;
        /* حجم متناسق */
        height: 220px;
        border-radius: 50%;
        overflow: hidden;
        border: 6px solid #efdecd;
        /* نفس لون الثيم */
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        background: #fff;
    }
    .about-section .about-image-wrapper .about-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* يملأ الدائرة بشكل جميل */
        display: block;
    }
    /* العنوان */
    .about-section .section-titel {
        font-size: 32px;
        margin: 10px 0 0;
        line-height: 1.2;
    }
    /* النص */
    .about-section .text {
        font-size: 16px;
        line-height: 1.9;
        max-width: 36ch;
        /* يمنع سطر طويل جدًا */
        margin: 0;
        opacity: 0.9;
    }
    /* السوشيال */
    .about-section .social-link-list {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 18px;
        margin-top: 8px;
    }
    .about-section .social-link {
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(139, 94, 60, 0.1);
        color: #8b5e3c;
        font-size: 20px;
        transition: 0.2s ease;
    }
    .about-section .social-link:active {
        transform: scale(0.95);
    }
    .contact-section .section-contact {
        align-items: center;
        flex-direction: column-reverse;
    }
    .contact-section .section-contact .form {
        width: 70%;
        margin-left: 50px;
        margin-right: 50px;
    }
    .contact-section .section-contact .bgblue {
        margin-left: 50px;
        margin-right: 50px;
        padding-top: 5px;
    }
    .contact-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        /* ✅ تمتد الخانات بعرض الحاوية بالكامل */
        direction: rtl;
        /* ✅ من اليمين إلى اليسار */
        text-align: right;
        padding: 0;
        margin: 0;
    }
    .input,
    .textarea {
        width: 100%;
        /* ✅ تملى الصفحة بالكامل */
        padding: 15px 20px;
        background-color: #ffffff;
        border-radius: 10px;
        border: none;
        color: #000000;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        direction: rtl;
        /* ✅ الاتجاه العربي */
        text-align: right;
        outline: none;
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
        transition: box-shadow 0.3s ease, transform 0.2s ease;
        /* 🔹 مسافة بسيطة بين الحقول */
    }
    /* ✅ تأثير عند التحديد */
    .input:focus,
    .textarea:focus {
        box-shadow: 0 0 10px rgba(47, 109, 202, 0.6);
        transform: scale(1.01);
    }
    /* ✅ زر الإرسال */
    .button {
        width: 100%;
        padding: 14px;
        border: none;
        border-radius: 10px;
        background-color: #8b5e3c;
        color: white;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.3s ease, transform 0.2s ease;
    }
    .button:hover {
        background-color: #764723;
        transform: scale(1.02);
    }
    .footer-section {
        padding: 0;
        font-size: 15px;
    }
    .gallery-section .gallery-list {
        display: grid;
        /* بدل flex في الموبايل */
        gap: 0;
        place-items: center;
    }
    .gallery-section .gallery-item {
        grid-area: 1 / 1;
        /* كل الصور فوق بعض */
        opacity: 0;
        transition: opacity 1s ease;
        pointer-events: none;
    }
    .gallery-section .gallery-item.active {
        opacity: 1;
        pointer-events: auto;
    }
    .gallery-section .gallery-image {
        width: 100%;
        height: auto;
        /* الحجم الطبيعي */
        object-fit: contain;
        /* بدون قص */
        cursor: default;
        transform: none !important;
        border-radius: var(--border-radius-m);
    }
}

@media screen and (max-width: 640px) {
    .gallery-section .gallery-list .gallery-item {
        width: 100%;
    }
    .menu-section .slider-wrapper {
        margin: 0 0 30px;
    }
    .menu-section .swiper-slide-button {
        display: none;
    }
    .footer-section .section-contact {
        flex-direction: column;
        /* ✅ فوق لتحت */
        gap: 20px;
        /* ✅ تباعد جميل */
        text-align: center;
    }
    .section-contact {
        flex-direction: column;
        /* ✅ يتحول إلى عمودي */
        gap: 20px;
        /* مسافة مناسبة بين العناصر */
        text-align: center;
    }
}