/* ========== Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Tajawal', sans-serif;
}

/* ========== Background Wrapper ========== */
.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

/* ========== Diagonal Layers ========== */
.diagonal {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
}

/* الطبقة الأولى – غامق */
.d1 {
  background: linear-gradient(
    135deg,
    pink 50%,
    transparent 50%
  );
}

/* الطبقة الثانية – أفتح */
.d2 {
  background: linear-gradient(
    315deg,
    whitesmoke 50%,
    transparent 50%
  );
}


/* الموجة */
.wave {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
}

.wave svg {
  width: 100%;
  height: 100%;
}

.wave path {
  fill: #1e90ff; /* أزرق */
}


/* ================= Navbar ================= */
.navbar {
  position: fixed;
  top: 20px; /* المسافة من فوق */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1100px;
  background: rgba(255, 228, 225, 0.95); /* Light pink glass */
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 14px 20px 10px;
  z-index: 100;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ================= Navbar Content ================= */
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* اللوجو */
.brand {
  color: #c2185b; /* dark pink */
  font-weight: 700;
  font-size: 18px;
}

.brand img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* الأزرار */
.actions {
  display: flex;
  gap: 10px;
}

a{
  text-decoration: none;
}


.btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid rgba(194, 24, 91, 0.4);
  background: transparent;
  color: #c2185b;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn:hover {
  background: rgba(194, 24, 91, 0.15);
}

.register {
  background: #d81b60; /* pink / magenta */
  color: #ffffff;
  border-color: transparent;
}

.register:hover {
  background: #e91e63;
}

/* ================= Scroll Line ================= */
.scroll-line {
  margin-top: 10px;
  height: 4px;
  background: rgba(255,192,203,0.3); /* light pink faint line */
  border-radius: 10px;
  overflow: hidden;
}

.scroll-line span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(to left, #d81b60, #f48fb1);
  transition: width 0.1s linear;
}

/* ================= Responsive ================= */
@media (max-width: 600px) {
  .brand {
    font-size: 16px;
  }

  .btn {
    padding: 6px 10px;
    font-size: 13px;
  }
}


/* ================= Footer Base ================= */
/* ================= Footer ================= */
.site-footer {
  background: linear-gradient(135deg, #fff0f5, #ffffff);
  border-top: 1px solid #f8bbd0;
  padding: 70px 40px;
  direction: rtl;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  align-items: start;
}

/* Brand */
.footer-brand img {
  width: 140px;
  margin-bottom: 15px;
  border-radius: 20px;
}

.footer-brand .rights {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.footer-brand .dev {
  font-size: 13px;
  color: #777;
}

.footer-brand .dev a {
  color: #d81b60;
  font-weight: 600;
  text-decoration: none;
}

/* Links */
.footer-links h4,
.footer-contact h4 {
  color: #c2185b;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-links a {
  display: block;
  color: #444;
  margin-bottom: 8px;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: #d81b60;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #ffe4ec;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d81b60;
  font-size: 18px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #d81b60;
  color: #fff;
  transform: translateY(-3px);
}

/* Contact Button */
.contact-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 14px;
  border: 2px solid #d81b60;
  color: #d81b60;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.contact-btn:hover {
  background: #d81b60;
  color: #fff;
  box-shadow: 0 10px 25px rgba(216,27,96,0.35);
}

/* Responsive */
@media (max-width: 600px) {
  .site-footer {
    padding: 50px 20px;
  }

  .footer-brand img {
    width: 120px;
  }
}
