/* =====================================================
   ROOT VARIABLES
===================================================== */
:root {
    /*--main-color: #bea46a;*/
    /*--main-color: #0b4b9d;*/
    --dark-color: #020001;
    --light-bg: #f7f7f5;
    --main-color: #bea46a;

     --FontBold: 'IBMPlexSansArabic-Bold';
    --FontMedium: 'IBMPlexSansArabic-Medium';
    --FontRegular: 'IBMPlexSansArabic-Regular';
    --EmMessiriBold: 'ElMessiriBold';
    --AmiriBold: 'AmiriBold';
}


@font-face {
    font-family: IBMPlexSansArabic-Bold;
    src: url('../fonts/ibm-plex/IBMPlexSansArabic-Bold.ttf');
}

@font-face {
    font-family: IBMPlexSansArabic-Medium;
    src: url('../fonts/ibm-plex/IBMPlexSansArabic-Medium.ttf');
}

@font-face {
    font-family: IBMPlexSansArabic-Regular;
    src: url('../fonts/ibm-plex/IBMPlexSansArabic-Regular.ttf');
}

@font-face {
    font-family: ElMessiriBold;
    src: url('../fonts/elmessiri/ttf/ElMessiri-Bold.ttf');
}

@font-face {
    font-family: AmiriBold;
    src: url('../fonts/Amiri-Bold.ttf');
}


/* =====================================================
   GLOBAL
===================================================== */
body {
    font-family: 'IBM Plex Sans Arabic', 'Cairo', system-ui, -apple-system,
                 "Segoe UI", Tahoma, Arial, sans-serif;
    background: var(--dark-color);
    color: var(--dark-color);
    direction: rtl;
    padding: 35px;
    scroll-padding-top: 150px;
    background-color: var(--main-color);
    font-family: var(--FontRegular);
    font-family: 'Cairo', sans-serif;
}

.page-wrapper {
    background: #fff;
    border-radius: 28px;
    min-height: calc(100vh - 40px);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.25);
    font-family: 'Cairo';
}


.header{
    /*background:linear-gradient(135deg,rgba(174,163,73,.9),rgba(2,0,1,.95));*/
    background-color: #1a1a1a;
    padding:80px 20px;
    text-align:center;
    color:#fff;
    border-radius: 25px;
    margin:  15px;
    color: var(--main-color);
    font-weight: bold;
}

.faq-header{
    /*background:linear-gradient(135deg,rgba(174,163,73,.95),rgba(2,0,1,.95));*/
    padding:80px 20px;
    text-align:center;
    /*color:#fff;*/
    color: var(--main-color)
    /*background-color: black;*/
    font-weight: bold;
    margin-bottom: 10px;
}

.faq-header h3 {
     color: var(--main-color);
    /*background-color: black;*/
    font-weight: bold;
    margin-bottom: 20px;
}

.header p {
    font-size: 18px;
    /*color: #fff;*/
    color: #e6e6e6;
}

/* ================= OFFCANVAS MENU ================= */
.offcanvas.offcanvas-end {
      top: 0;
      right: 0;
      width: var(--bs-offcanvas-width);
      border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
      transform: translateX(100%);
    }

.jewel-menu {
    width: 280px;
    background: linear-gradient(180deg, #020001, #1a1a14);
    color: #fff;
    direction: rtl;
    z-index: 1055;
}

/* HEADER */
.jewel-menu .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.menu-title {
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    margin-left: 285px;
}

/* CLOSE BUTTON */
.jewel-menu .btn-close {
    filter: invert(1);
}

/* MENU LIST */
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 10px;
}

.menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: #ddd;
    font-size: 16px;
    font-weight: 600;
    transition: .35s;
}

.menu-list a i {
    color: var(--main-color);
    font-size: 18px;
}

.menu-list a:hover {
    background: var(--main-color);
    color: #fff;
    transform: translateX(-6px);
}

.menu-list a:hover i {
    color: #fff;
}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1200;
}


/* CLOSE BUTTON STYLE */
.menu-close {
    /*background-color: var(--main-color);*/
    opacity: 1;
    border-radius: 50%;
    padding: 10px;
    color: white;
    background-color: #c3b85a;
}

.menu-close:hover {
    background-color: #c3b85a;
}

/* إزالة تأثير Bootstrap الافتراضي */
.menu-close:focus {
    box-shadow: none;
}

/* CONTACT BUTTON */
.btn.btn-contact {
    /*background: linear-gradient(135deg, var(--main-color), #c3b85a);*/
    background: var(--main-color);
    color: #020001 !important;
    border-radius: 40px;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(174,163,73,0.35);
    transition: all 0.3s ease;
    border: none;
}

/* HOVER */
.btn.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(174,163,73,0.5);
    color: #020001 !important;
}






.carousel,
.carousel-inner,
.carousel-item {
    height: 100vh;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =====================================================
   NAVBAR
===================================================== */
.jewel-navbar {
    padding: 14px 0;
}

.fa-bars {
    color: var(--main-color);
}

.jewel-logo {
    height: 180px;
    width: 200px;
    margin-left: 12px;
}

.brand-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--main-color);
}

.btn-contact {
    background: var(--main-color);
    color: #fff !important;
    border-radius: 40px;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 25px rgba(174,163,73,.35);
    transition: .3s;
}

.btn-contact:hover {
    background: #9c9140;
    transform: translateY(-2px);
    color: white;
}

/* =====================================================
   QUICK NAV
===================================================== */
.quick-nav {
position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
    background-color: rgb(255, 255, 255);
  background-color: #333333;
  padding: 5px 0px;
  border-bottom: 1px solid #eee;
  box-shadow: 0 6px 25px rgba(0,0,0,.06);
  width: 75%;
  margin: 0 auto;
    margin-bottom: 0px;
  margin-bottom: 0px;
  margin-bottom: 20px;
  border-radius: 25px;
}

.quick-nav.scrolled {
    padding: 18px 0;
    box-shadow: 0 10px 35px rgba(0,0,0,.12);
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 3px;
    flex-wrap: wrap;
}

.quick-link {
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    color: var(--main-color);
    transition: .35s;

}

.quick-link:hover,
.quick-link.active {
    background: var(--main-color);
    color: #fff;
    box-shadow: 0 8px 25px rgba(174,163,73,.45);
}




.fullscreen-media {
    width: 100vw;
    height: 100vh;
    object-fit: contain;      /* مثل المثال تمامًا */
    background: #000;
}

.modal-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
}


/* =====================================================
   HERO & SECTIONS
===================================================== */
.hero-text {
    /*background: linear-gradient(135deg, rgba(174,163,73,.9), rgba(2,0,1,.9));*/
    background-color: #1a1a1a;
    color: #fff;

    padding: 80px 20px;
    text-align: center;
}

.hero-text h1 {
    color: var(--main-color);
}

.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 40px;

}

.btn-main {
    background: var(--main-color);
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    border: none;
}

.btn-main:hover {
    background: #9c9140;
}

.videos-section {
    padding: 60px 20px;
    text-align: center;
    background-color: silver;
}

.videos-section h2 {
    margin-bottom: 40px;
    font-size: 28px;
    color: #333;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.video-item {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    transition: transform .3s ease;
}

.video-item:hover {
    transform: scale(1.04);
}



/* =====================================================
   BOX SHARED STYLE
===================================================== */
.info-box,
.feature-box {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    border: 1px solid var(--main-color);
}

.info-box::before,
.info-box::after,
.feature-box::before,
.feature-box::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    border: 3px solid var(--main-color);
}

.info-box::before,
.feature-box::before {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.info-box::after,
.feature-box::after {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.info-box h5,
.feature-box h5 {
    color: var(--main-color);
    font-weight: 700;
}

.info-box p,
.info-box li {
    line-height: 1.9;
    word-spacing: 2px;
}

/* =====================================================
   LOGO CIRCLE
===================================================== */
.logo-circle {
    width: 300px;
    height: 300px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), var(--dark-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,.25);
}

.logo-circle::after {
    content: "";
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: #fff;
}

.logo-circle img {
    width: 65%;
    z-index: 2;
}

/* =====================================================
   CAROUSEL
===================================================== */
.carousel-item {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================================================
   GALLERY
===================================================== */
.gallery img {
    border-radius: 15px;
    transition: .3s;
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* =====================================================
   STATISTICS
===================================================== */
.stats-section {
    background: linear-gradient(135deg, rgba(2,0,1,.95), rgba(174,163,73,.9));
    padding: 90px 20px;
    color: #fff;
}

.stat-box {
    background: rgba(255,255,255,.1);
    padding: 40px 20px;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: .4s;
}

.stat-box:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 48px;
    color: var(--main-color);
}

/* =====================================================
   FOOTER
===================================================== */
footer {
    background: var(--dark-color);
    color: #ccc;
    padding: 25px;
    text-align: center;
    font-size: 14px;
}

/* =====================================================
   BACK TO TOP
===================================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main-color), #9c9140);
    /*background: var(--main-color);*/
    border: none;
    cursor: pointer;
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    z-index: 150000;
}

/* =====================================================
   MOBILE
===================================================== */
@media (max-width: 768px) {
    .quick-link {
        font-size: 15px;
        padding: 10px 20px;
    }

    #backToTop {
        width: 48px;
        height: 48px;
        bottom: 20px;
        left: 20px;
    }
}



    /* HOME GALLERY */
.home-gallery {
    background: #f7f7f5;
}

/* العنوان */
.section-title {
    font-weight: 800;
    font-size: 34px;
    margin-bottom: 55px;
}

.gallery-subtitle {
    color: #777;
    font-size: 18px;
}

/* CARD */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0,0,0,.15);
    cursor: pointer;
    transition: transform .45s ease, box-shadow .45s ease;
}

/* الزوايا الملوّنة */
.gallery-card::before,
.gallery-card::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border: 3px solid var(--main-color);
    z-index: 5;
    pointer-events: none;
}

/* الزاوية العلوية اليمنى */
.gallery-card::before {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 22px;
}

/* الزاوية السفلية اليسرى */
.gallery-card::after {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 22px;
}


/* الصورة */
.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .6s ease;
}

/* OVERLAY */
.gallery-card::after {
    content: "عرض";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(174,163,73,.85),
        rgba(2,0,1,.85)
    );
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .45s ease;
}

/* HOVER */
.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 65px rgba(0,0,0,.25);
}

.gallery-card:hover img {
    transform: scale(1.12);
}

.gallery-card:hover::after {
    opacity: 1;
}

/* BUTTON */
.btn-gallery {
    background: linear-gradient(135deg, #bea46a, #020001);
    color: #fff;
    padding: 14px 46px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 800;
    border: none;
    transition: .4s ease;
    box-shadow: 0 12px 35px rgba(174,163,73,.45);
    /*border: none;*/
    text-decoration: none;
}

a {
    text-decoration: none;
}


.btn-gallery i {
    font-size: 20px;
}

.btn-gallery:hover {
    background: #020001;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 55px rgba(174,163,73,.65);
}

/* MOBILE */
@media (max-width: 768px) {
    .gallery-card img {
        height: 180px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn-gallery {
        font-size: 16px;
        padding: 12px 34px;
    }
}
