/* =========================
   Color Palette (Logo Based)
========================= */
:root {
    --gold-main: #c89b3c;
    --gold-dark: #a87c1f;
    --gold-light: #f1d48b;
    --brown-dark: #3a2a1a;
    --gray-soft: #6c6c6c;
}

/* =========================
   Global
========================= */

@font-face {
  font-family: "jazeera";
  src: url("../fonts/jazeera.ttf");
}

body {
    font-family: "jazeera","Tahoma","Open Sans", "sans-serif";
    color: var(--brown-dark);
    padding-bottom: 70px;
}

h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
}

/* =========================
   Navbar
========================= */
.navbar {
    background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
}

.navbar-brand {
    font-weight: 800;
    color: #fff !important;
}

.nav-bold .nav-link {
    font-weight: 700;
    font-size: 1rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-bold .nav-link:hover {
    color: var(--gold-light) !important;
    opacity: 0.9;
}

.navbar-brand img {
    max-width: 80px;
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-width: 55px;
    }
}


/* =========================
   Hero Section
========================= */
.hero-section {
    background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
    padding: 90px 0;
    color: #fff;
}

/* =========================
   Stats / Services
========================= */
.stat-box,
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
}

.stat-box i,
.service-card i {
    font-size: 35px;
    color: var(--gold-main);
    margin-bottom: 15px;
}

.service-card {
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card a {
    display: inline-block;
    margin-top: 10px;
    color: var(--gold-dark);
    font-weight: bold;
    text-decoration: none;
}

/* =========================
   Buttons
========================= */
.btn-primary {
    background-color: var(--gold-main);
    border-color: var(--gold-main);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
}

/* =========================
   Events
========================= */
.event-section-title {
    margin: 25px 0 15px;
    font-weight: bold;
    color: var(--brown-dark);
}

.event-row {
    background: #fff;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.event-title-link {
    text-decoration: none;
    color: var(--gold-dark);
    font-weight: bold;
}

.event-title-link:hover {
    text-decoration: underline;
}

.event-thumb {
    width: 90px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   News
========================= */
.news-row,
.news-card {
    background: #fff;
    border-radius: 16px;
}

.news-row {
    padding: 15px 18px;
}

.news-thumb {
    width: 110px;
    height: 85px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-thumb img:hover {
    transform: scale(1.08);
}

.news-title-link {
    text-decoration: none;
    font-weight: bold;
    color: var(--gold-dark);
    line-height: 1.6;
}

.news-title-link:hover {
    text-decoration: underline;
}

.news-body {
    color: var(--gray-soft);
}

/* =========================
   Carousel
========================= */
.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-control-next-icon {
    background-color: var(--gold-main);
    border-radius: 50%;
    padding: 15px;
}
.carousel-control-prev-icon {
    background-color: var(--gold-main);
    border-radius: 50%;
    padding: 15px;
}

/* =========================
   Scroll Buttons
========================= */
.scroll-btn {
    position: fixed;
    right: 20px;
    z-index: 999;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--gold-main);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background: var(--gold-dark);
}

.scroll-top {
    bottom: 60px;
}

.scroll-bottom {
    bottom: 10px;
    opacity: 1;
    visibility: visible;
}

.scroll-btn.show {
    opacity: 1;
    visibility: visible;
}

/* =========================
   Social Footer
========================= */
.social-footer {
    font-size: 1.5rem;
}

.social-icon {
    margin: 0 6px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.15);
}

.social-icon.x { color: #000; }
.social-icon.instagram { color: #E1306C; }
.social-icon.snapchat { color: #706e06; }
.social-icon.youtube { color: #FF0000; }
.social-icon.tiktok { color: #000; }

/* =========================
   Contact Page
========================= */
.social-contact i {
    font-size: 1.8rem;
    margin: 0 8px;
    transition: transform 0.2s ease;
}

.social-contact i:hover {
    transform: scale(1.2);
}
/* =========================
   News Modal size
========================= */
.news-modal-wide {
    max-width: 90%;
}
#newsModal .modal-body {
    max-height: 75vh;
}

.note-editor .note-editable {
    direction: rtl;
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 14px;
}
.dropzone {
    border: 2px dashed #0d6efd;
    background: #f8f9fa;
}

.ribbon-card {
    overflow: hidden;
    /* مهم */
}

.ribbon-line {
    position: absolute;
    top: 20px;
    right: -50px;
    width: 80px;
    text-align: center;

    background: #ca7880;
    /* Bootstrap danger */
    color: #fff;
    font-size: 14px;
    font-weight: 600;

    padding: 6px 0;
    transform: rotate(45deg);

    box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
    z-index: 10;
    pointer-events: none;
}
.ribbon-line {
    left: 2px;
    right: auto;
    transform: rotate(-45deg);
    border-radius: 999px; 
}

/* =========================
   Share Popup
========================= */
.share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.share-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}
.share-box a {
    text-decoration: none;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 6px;
    text-align: center;
    color: #333;
}
.share-box a:hover {
    background: #0d6efd;
    color: #fff;
}
.close-share {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: 0;
    font-size: 18px;
    cursor: pointer;
}
