:root {
  --sand: #c2ad99;
  --sand-80: rgba(194,173,153,.9);
  --ink: #000;
  --bg-brown: #1a1512;
  --border-ivory: #efe5d8;
  --inline-logo: url("logo.png");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(26, 21, 18, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(194,173,153,0.25);
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* اللوجو + الكلمة */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.3));
}

.nav-logo .inline-logo {
  width: 100px;
  height: 52px;
  background: var(--inline-logo) center/contain no-repeat;
}

.nav-logo span {
  font-weight: 700;
  font-size: 22px;
  color: var(--sand);
  letter-spacing: 0.06em;
}

/* الروابط */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--sand-80);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--sand);
}

/* زر الموبايل */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--sand);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* عند فتح القائمة */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Responsive Navbar ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-brown);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    border-top: 1px solid rgba(194,173,153,0.2);
    display: none;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links a {
    font-size: 18px;
    color: var(--sand-80);
  }

  .nav-logo .inline-logo {
    width: 36px;
    height: 36px;
  }

  .nav-logo span {
    font-size: 20px;
  }
}

/* ===== الصفحة كاملة ===== */
body {
  background: var(--bg-brown);
  color: var(--sand);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* ===== قسم Contact ===== */
.contact-page {
  width: 100%;
  padding: 60px 20px;
}

.contact-container {
  text-align: center;
  max-width: 700px;
  margin: auto;
}

/* ===== اللوجو ===== */
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.logo-wrap .inline-logo {
  width: 120px;
  height: 120px;
  background: var(--inline-logo) center/contain no-repeat;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.45);
}

.logo-wrap h1 {
  font-size: 40px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--sand);
}

/* ===== النص ===== */
.contact-text {
  font-size: 18px;
  color: var(--sand-80);
  margin-bottom: 45px;
}

/* ===== الأيقونات ===== */
.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* الزر الدائري */
.contact-links a {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(32, 26, 22, 0.9);
  border: 1px solid rgba(194, 173, 153, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.25s ease;
}

/* الصورة نفسها (PNG) */
.contact-links a img {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
  display: block;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

/* Hover تأثير أنيق */
.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--sand);
  background: rgba(194, 173, 153, 0.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.5),
              0 0 0 2px rgba(194, 173, 153, 0.2) inset;
}

.contact-links a:hover img {
  opacity: 1;
  filter: brightness(1.1) contrast(1.05);
}

/* ===== Footer ===== */
.footer {
  font-size: 14px;
  color: var(--sand-80);
  opacity: 0.8;
  margin-top: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .logo-wrap .inline-logo {
    width: 90px;
    height: 90px;
  }
  .logo-wrap h1 {
    font-size: 32px;
  }
  .contact-text {
    font-size: 16px;
  }
  .contact-links {
    gap: 14px;
  }
  .contact-links a {
    width: 46px;
    height: 46px;
  }
  .contact-links a img {
    width: 22px !important;
    height: 22px !important;
  }
}
