@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;800&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;

  --black: #242424;
  --white: #f5f5f5;
  --pill: #e0d4be;
  --red: #cc033f;
}

ul {
  list-style: none;
}

.page-wrap {
  position: relative;
}

header {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/*  NAV: Top Menu Section
----------------------------------------------- */
nav {
  width: 100%;
  position: fixed;
  z-index: 10;
  padding: 1em 5em;
  display: flex;
  justify-content: space-between;
}
nav img {
  width: 100px;
}
nav ul {
  display: flex;
  color: var(--white);
}

.active span:nth-of-type(1) {
  transform: translateY(-3px) scaleX(1.3);
}
.active span:nth-of-type(3) {
  transform: translateY(3px) scaleX(1.3);
}

/*  MAIN: Slider Section
----------------------------------------------- */
main {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
article {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--i);
}

.hero-info {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 8;
}
.hero-info h2 {
  font-size: clamp(2rem, 9vw, 5rem);
  text-transform: uppercase;
  color: var(--white);
}
.hero-info h1 {
  color: var(--white);
  font-size: clamp(3.2rem, 10vw, 7rem);
  line-height: clamp(3.2rem, 10vw, 7rem);
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}
.hero-info h3 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: normal;
  margin-top: 2em;

}

.hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hi-1 {
  background-image: url("https://www2.0zz0.com/2025/10/13/09/524221800.jpg");
  filter: brightness(0.3); /* يخفف السطوع بنسبة 50% */
  opacity: 0.7; /* يجعل الصورة شفافة بنسبة 50% */
}



/*  SECTION: Overlay Menu Section
----------------------------------------------- */
section {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  min-height: 100vh;
  padding: 8em 5em 2em 5em;
  background-color: var(--white);
  /* background-image: url("https://www.transparenttextures.com/patterns/church.png"); */
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}



.language-switcher {
  position: absolute; /* وضع محدد لتحديد المواقع */
  top: 120px; /* تحت الشعار والقائمة */
  left: 50%; /* توسيط أفقياً */
  transform: translateX(-50%); /* تأكيد التوسيط الكامل */
  display: flex; /* ترتيب الروابط بجانب بعضها */
  flex-direction: row; /* ترتيب الروابط في صف */
  justify-content: center; /* توسيط الروابط داخل الحاوية */
  gap: 15px; /* مسافة بين الروابط */
  z-index: 10; /* ضمان ظهور الروابط فوق العناصر الأخرى */
}

.language-switcher a {
  text-decoration: none; /* إزالة التسطير */
  color: var(--text-color, #ffffff); /* لون النص */
  font-weight: bold; /* جعل النص بارزًا */
  font-size: 14px; /* حجم النص */
  background: none; /* إزالة أي خلفية */
  padding: 0; /* إزالة أي حشوة إضافية */
  transition: color 0.3s ease; /* تأثير تغيير اللون */
}

/* زر اللغة النشطة */
.language-switcher a.active {
  color: #87dbfe; /* تغيير لون النص للزر النشط */
  border-color: var(--basic-color); /* تغيير لون الإطار */
  font-weight: bold; /* جعل النص أكثر وضوحًا */
}

/* تأثير التحويم */
.language-switcher a:hover {
  color: grey; /* تغيير لون النص عند التحويم */
  border-color: var(--accent-color); /* تغيير لون الإطار عند التحويم */
  background: transparent; /* التأكد من عدم وجود خلفية */
}





@media screen and (max-width: 600px) {
  nav {
    padding: 1em 2em;
  }
  nav img {
    max-width: 90px;
    height: 30px;
  }
  section {
    padding: 8em 2em 2em 2em;
  }
  
}
