/* css/style.css */

/* إعدادات عامة */

#logoTitle {
  transition: transform 0.2s ease-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#logoTitle img.logo-icon {
  width: 36px;
  height: 36px;
  vertical-align: middle;
}

.main-logo-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #00d4ff, #005eff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(0, 102, 255, 0.6);
  text-align: center;
  margin-bottom: 1.5rem;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0, 102, 255, 0.5));
  transition: transform 0.3s ease;
}

.main-logo-title:hover .logo-icon {
  transform: scale(1.1);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #004aad, #0d3c91);
  color: #ffffff;
  margin: 0;
  padding: 0;
}

/* الهيدر */
header {
  background: #003b82;
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.welcome-text {
  font-size: 2.1rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
  background-image: linear-gradient(90deg, #000000, #000000);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(88, 101, 242, 0.25);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  user-select: none;
  opacity: 1;
  transform: none;
}

.welcome-text:hover {
  transform: scale(1.03);
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.description.highlight {
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #acc8ff;
  text-shadow: 0 0 10px #3b7ede;
}

.description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto 1rem auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.03em;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(59, 126, 222, 0.2);
  backdrop-filter: blur(6px);
}

.description.highlight {
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1.2rem;
  color: #b8d4ff;
  background-color: rgba(59, 126, 222, 0.1);
  border-left: 4px solid #3b7ede;
  padding-left: 1rem;
  box-shadow: 0 0 15px rgba(59, 126, 222, 0.3);
}

/* حالة ظهور النص */
.welcome-text.visible {
  opacity: 1;
  transform: translateY(0);
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #e1ecff;
  text-shadow: 1px 1px 5px #001f4d;
  transition: color 0.3s ease;
}

header h1:hover {
  color: #a0c4ff;
}

/* قوائم التنقل */
nav a {
  color: #cce4ff;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: #1a6eff;
  color: white;
  box-shadow: 0 0 8px #1a6eff;
}

/* القسم الرئيسي */
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(26, 110, 255, 0.7);
}

.logo-section {
  text-align: center;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.mortise-logo {
  width: 320px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 85, 255, 0.3);
}

.join-button-transparent {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(88, 101, 242, 0.1);
  color: white;
  padding: 10px 24px;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.15);
}

.join-button-transparent:hover {
  background: rgba(88, 101, 242, 0.2);
  transform: translateX(-50%) scale(1.05);
}

/* الزر الشفاف */
.transparent-btn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

.transparent-btn img {
  width: 28px;
  height: 28px;
  opacity: 0.6;
  transition: 0.3s ease;
}

.transparent-btn:hover {
  background: rgba(88, 101, 242, 0.15);
  transform: scale(1.1);
}

.transparent-btn:hover img {
  opacity: 1;
}

/* الفوتر */
footer {
  text-align: center;
  padding: 1rem 0;
  background: #003b82;
  color: #cce4ff;
  font-size: 0.9rem;
  margin-top: 3rem;
  box-shadow: 0 -4px 10px rgba(0, 59, 130, 0.8);
  user-select: none;
}

/* تصميم متجاوب للجوال */
@media (max-width: 600px) {
  main {
    margin: 1rem;
    padding: 1.5rem 1rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
  }
}

/* شريط التنقل */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #0f172a, #1e293b);
  padding: 15px 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

#logoTitle {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: bold;
  font-family: 'Cairo', sans-serif;
}

.nav-links a {
  color: #ffffff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #38bdf8;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #38bdf8;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    margin: 10px;
  }
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: rgba(0, 32, 91, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo-nav {
  font-size: 1.6rem;
  font-weight: bold;
  color: #b4ccff;
  text-shadow: 0 0 5px #004fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links li a {
  color: #e0ecff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links li a:hover {
  background-color: rgba(0, 100, 255, 0.3);
  box-shadow: 0 0 10px #3a8dff;
}

/* Burger Icon */
.burger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(0, 32, 91, 0.95);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}
