:root {
  font-size: 18px;

  /* 🎨 YOUR ORIGINAL BRAND COLORS */
  --primary: #8b4a00;      /* بني ذهبي */
  --secondary: #c07817;    /* ذهبي */
  --accent: #8dc6fa;       /* أزرق سماوي */
  --bg: #f3f7fb;           /* خلفية ناعمة */
  --card: #ffffff;
  --text: #222;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

/* ===== TOP BAR (BRAND STYLE) ===== */
.topBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;

  background: linear-gradient(to left, #8b4a00, #c07817);
  color: white;
}

.logoBlock {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logoBlock img {
  width: 45px;
  height: 45px;
}

.slogan {
  font-size: 14px;
  opacity: 0.9;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #eaf3ff);
}

.hero h1 {
  font-size: 42px;
  color: var(--primary);
}

/* ===== SECTIONS ===== */
.section {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  color: var(--primary);
}

/* ===== BLOG CARD ===== */
.card {
  background: var(--card);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  border-right: 5px solid var(--secondary);
    text-decoration: none;
}

/* ===== LINKS ===== */
.card a {
  color: var(--primary);
  font-weight: bold;

}

.grid{
  display: grid;
  gap: 20px;

}
/* ===== GAME CTA ===== */
.game {
  text-align: center;
  background: linear-gradient(135deg, #fff7e6, #eaf3ff);
  border-radius: 16px;
  border: 2px solid rgba(139,74,0,0.2);
}
#alfanoos-img{
  width: 100px;
  height: 100px;
  margin-top: 25px;
  cursor: pointer;
}
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;

  background: linear-gradient(to left, #8b4a00, #c07817);
  color: white;

  border-radius: 10px;
  text-decoration: none;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-top: 1px solid #ddd;
}


.sideMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #5a2e00;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateX(100%);
  transition: 0.3s ease;
  z-index: 9999;
}

.sideMenu a {
  color: gold;
  text-decoration: none;
  font-size: 18px;
}

.sideMenu.open {
  transform: translateX(0);
}

.hidden {
  display: none;
}

.closeBtn {
  margin-top: 0;
  padding: 10px;
  color: gold;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  width: 80%;
}
.socialLinks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.socialItem {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 15px;
  border-radius: 10px;

  background: #fff;
  text-decoration: none;

  color: var(--primary);
  font-weight: bold;

  border-right: 4px solid var(--secondary);
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.socialItem:hover {
  background: #fff7e6;
}

.icon {
  width: 22px;
  height: 22px;
}

.emailText {
  margin-top: 25px;
  text-align: center;
}

.emailText a {
  color: var(--primary);
  font-weight: bold;
  text-decoration: none;
}
/* ===== BLOG PAGE ===== */

.blogHero {
  padding: 70px 20px 50px;
}

.blogHero h1 {
  margin-bottom: 10px;
}

.blogHero p {
  max-width: 700px;
  margin: auto;
  color: #555;
}

.blogGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.blogCard {
  background: white;
  border-radius: 18px;
  padding: 22px;

  text-decoration: none;
  color: var(--text);

  border-right: 6px solid var(--secondary);

  box-shadow: 0 4px 14px rgba(0,0,0,0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.blogCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  background: #fffaf3;
}

.blogCard h2 {
  margin-top: 0;
  margin-bottom: 10px;

  color: var(--primary);
  font-size: 22px;
}

.blogCard p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

/* ===== MOBILE ===== */

@media (max-width: 700px) {

  .hero h1,
  .blogHero h1 {
    font-size: 32px;
  }

  .blogCard {
    padding: 18px;
  }

  .blogCard h2 {
    font-size: 20px;
  }

}

.game-btn{
  color: white !important;
}

.footer {
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}