body {
  margin: 0;
  font-family: 'Tajawal', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Header ===== */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  color: white;
  padding: 10px 20px;
  height: 60px;
  position: relative;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.menu-btn {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

/* ===== Sidebar ===== */
.sidebar {
  position: fixed;
  right: 0;
  top: 60px;
  width: 220px;
  height: calc(100% - 60px);
  background-color: #000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 12px 0;
}

.sidebar a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  transition: background 0.2s;
}

.sidebar a:hover {
  background-color: #d80027;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border: 3px solid #d80027;
}

/* ===== معرض الصور ===== */
.gallery-section {
  background-color: #fff;
  padding: 40px 20px;

  text-align: center;
}

.gallery-section h2 {
  color: #000;
  margin-bottom: 25px;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 🔥 3 صور في كل صف */
  gap: 20px;
  justify-items: center;
}

.gallery img {
  width: 100%;
  max-width: 350px;
  height: 500px;
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* 🔹 Responsive للموبايل */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* موبايل متوسط */
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr; /* موبايل صغير */
  }
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

/* ===== Sections ===== */
.place-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-right: 5px solid #d80027;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  margin: 20px 0;
  padding: 20px;
  gap: 20px;
}

.place-section.reverse {
  flex-direction: row-reverse;
}

.place-section img {
  width: 10%;
  border-radius: 10px;
  object-fit: cover;
}


.text-content {
  flex: 1;
}

.text-content h2 {
  color: #000;
}

.more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.more-btn:hover {
  background-color: #d80027;
}

/* ===== Highlight Section ===== */
.highlight-card-3 {
  text-align: center;
  background-color: #fffaf4;
  border-right: 6px solid #da0000;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  max-width: 700px;
  margin: 40px auto;
  line-height: 1.8;
}

/* ===== Gallery ===== */
/* ===== معرض الصور ===== */
.mokhayam-gallery {
  background-color: #fff;
  padding: 40px 20px;
  border-top: 4px solid #D80027; /* أحمر فلسطيني */
  text-align: center;
}

.mokhayam-gallery h2 {
  color: #000;
  margin-bottom: 25px;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

/* حاوية الصور */
.image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 🔥 3 صور بكل صف */
  gap: 20px;
  justify-items: center;
}

/* تصميم الصور */
.image-container img {
  width: 100%;
  max-width: 350px;
  height: 500px;
  object-fit: cover;
  border: 3px solid #000; /* إطار أسود */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* ===== معرض الفيديوهات ===== */
.video-gallery {
  background-color: #fff;
  padding: 40px 20px;
  border-top: 4px solid #D80027;
  text-align: center;
}

.video-gallery h2 {
  color: #000;
  margin-bottom: 25px;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

/* حاوية الفيديوهات */
.video-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 فيديوهات بكل صف */
  gap: 20px;
  justify-items: center;
}

/* تصميم الفيديو */
.video-container video {
  width: 100%;
  max-width: 350px;
  height: 500px;
  object-fit: cover;
  border: 3px solid #000;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container video:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

/* ===== نسخة الجوال ===== */
@media (max-width: 768px) {
  .video-container {
    grid-template-columns: 1fr; /* فيديو واحد تحت الثاني */
  }

  .video-container video {
    height: auto;
    max-width: 100%;
  }
}




/* ===== Footer ===== */
footer {
  background-color: #000; /* أسود فلسطيني */
  color: white;
  text-align: center;
  padding: 12px 0;
  width: 100%;
}


.insta-icon {
  width: 28px;
  height: 28px;
}

/* ===== Media ===== */
@media (min-width: 768px) {
  main {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .logo {
    left: 10%;           /* نخليه في النص أفقيًا */
    top: 80px;            /* نخليه قريب من الأعلى */
    transform: translateX(-50%); /* يوسّطه تمامًا */
    width: 50px;         /* نصغّر حجمه شوي */
  }
}