.big {
  background: url('/photos/bg.png ') repeat;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
}

body {
  min-height: 100vh;
  background: linear-gradient(to bottom, #f6eee2 20%, #0c6e3d 90%);
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  pointer-events: none;
  z-index: -1;
}

/* FONT */
/* ========================= */
@font-face {
  font-family: 'TitleFont';
  src: url('../fonts/title font.ttf') format('truetype');
}

@font-face {
  font-family: 'TextFont';
  src: url('../fonts/texte font.otf') format('opentype');
}


/* ========================= */
.home-text-wrapper h1,
.home-text-wrapper h2,
.home-text-wrapper p,
.asr-title,
.asr-item h3,
.chaikh-section,
.title-section h1,
.chaikh-grid p,
.old-chaikh p {

  color: #1a1a1a;
  text-align: center;
  direction: rtl;
}

/* SLIDER MOVEMENT *(keep the saaame js )  */
.news-slider {
  display: flex;
  gap: 5px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.news-item {
  min-width: 25%;
}

.news-img {
  width: 100%;
  border-radius: 10px;
}

/* Tablet */
@media (max-width: 991px) {
  .news-item {
    min-width: 33.33%;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .news-item {
    min-width: 70%;
  }
}




/* Content Styles */
.content {
  padding-top: 130px;
}



/* VIDEO HERO */
/* ========================= */
.vid-hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.vid-home {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* HOME PAGE */
/* ========================= */
/* Title Section */
.title-section {
  text-align: center;
  padding: 3rem 2rem;
  direction: rtl;

}

main {
  padding-top: 125px;
}


.main-title {
  font-family: 'TitleFont', serif;
  font-size: 5rem;
  color: #000;
  margin-bottom: 1rem;
}



/* Image Section */
.image-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  gap: 3rem;
  width: 100%;
}

.image-section img {
  width: 80%;
}

.section-text {
  flex: 1;
  font-family: 'TextFont', serif;
  font-size: 3rem;
  color: #000;
  line-height: 1.2;
  text-align: justify;
  direction: rtl;
}

.section-text p {
  margin-bottom: 1.5rem;
}


/* ASR SECTION */
/* ========================= */
.asr-section {
  text-align: center;
  padding: 60px 0;

}

.asr-title {
  font-family: 'TitleFont', serif;
  font-size: 5rem;
  margin-bottom: 40px;
  position: relative;
}



.asr-item img {
  width: 250px;
  height: 270px;
  margin-bottom: 20px;
}

.asr-item h3 {
  font-family: "TextFont", serif;
  font-size: 2rem;
  max-width: 180px;
  margin: auto;
}


/* CHEIKH SECTION */
/* ========================= */
.cheikh-section {

  padding: 60px 0;
  color: #000;
}


.text-center h1 {
  font-family: 'TitleFont', serif;
  font-size: 4.2rem;
  margin-bottom: 10px;
}

.bio-text {
  font-family: 'TextFont', serif;
  font-size: 2.7rem;
  line-height: 1.7;
  text-align: start;
  margin-bottom: 30px;
  direction: rtl;
}


.portrait-img {
  width: 100%;
  max-width: 400px;


}


.sheikhs-grid-img {
  width: 100%;
  max-width: 500px;


}


.btn {
  background-color: #17824f;
  color: rgb(255, 255, 255);
  padding: 10px 40px;
  border-radius: 25px;
  font-size: 1.2rem;
  border: none;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: #145234;
  color: #fff;
  transform: translateY(-2px);
}

/* Ajustements Responsive */
@media (max-width: 991px) {
  .bio-text {
    font-size: 1.2rem;
    text-align: center;
  }

  .portrait-img,
  .sheikhs-grid-img {
    margin-bottom: 30px;
  }
}



/* ========================= */



.news-section {


  padding: 50px 0;
  direction: rtl;
}

.news-title {
  font-family: "TitleFont", serif;
  font-size: 3.5rem;
  color: #000;
  margin-bottom: 30px;
}


.news-slider-wrapper {
  background-color: #fff;
  border-radius: 60px;
  padding: 100px 10px;
  border: 4px solid #1b6e45;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


.news-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
}


.nav-arrow {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #000;
  cursor: pointer;
  transition: 0.3s;
}

.nav-arrow:hover {
  color: #1b6e45;
  transform: scale(1.1);
}






/* ========================= */
/* RESPONSIVE */
/* ========================= */



/* 📱 MOBILE */
@media (max-width: 768px) {

  .vid-hero {
    height: 350px;
  }

  .home-text-wrapper h1,
  .home-text-wrapper h2 {
    font-size: 2.5rem;
  }

  .home-text-wrapper p {
    font-size: 1.4rem;
  }

  .hero-img {
    width: 80%;
    max-width: 300px;
  }

  .asr-title {
    font-size: 3rem;
  }

  .asr-item h3 {
    font-size: 1.5rem;
  }

  .title-section h1 {
    font-size: 2.8rem;
  }

  .chaikh-grid p,
  .old-chaikh p {
    font-size: 1.5rem;
  }
}

/* 💻 TABLET */
@media (max-width: 1024px) {

  .home-text-wrapper h1,
  .home-text-wrapper h2 {
    font-size: 3.2rem;
  }

  .home-text-wrapper p {
    font-size: 1.6rem;
  }

  .asr-title {
    font-size: 4rem;
  }

  .chaikh-grid p,
  .old-chaikh p {
    font-size: 1.8rem;
  }
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  color: #5a5a5a;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1002;
  padding: 0.5rem;
}

@media (max-width: 900px) {
  .hamburger {
    display: block !important;
  }

  body {
    padding-top: 100px !important;
  }

  .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 1rem !important;
    justify-content: space-between !important;
    z-index: 9999 !important;
  }

  /* Center Logo on Mobile */
  .logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1001 !important;
  }

  .logo img {
    height: 70px !important;
  }

  /* Hide Desktop Menu */
  .nav-menu,
  .nav-left {
    display: none !important;
  }

  /* Mobile Menu State */
  .navbar.active {
    flex-direction: column;
    align-items: center;
    background: #e8e0d4;
    /* Solid background when open */
    height: 100vh;
    /* Full screen menu */
    justify-content: flex-start;
    padding-top: 6rem;
    overflow-y: auto;
  }

  .navbar.active .logo {
    position: absolute;
    top: 10px;
    /* Keep logo at top */
  }

  .navbar.active .hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .navbar.active .nav-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin-bottom: 2rem;
  }

  .navbar.active .main-menu {
    flex-direction: column;
    width: 80%;
    background: transparent;
    border: none;
    gap: 1rem;
  }

  .navbar.active .nav-link {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .navbar.active .nav-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
  }
}

/* Hide hamburger menu */
.hamburger { display: none !important; }
