/* ============================================
   city.css — تصميم صفحات المدن
   ============================================ */

/* ============================================
   Hero المدينة
   ============================================ */
.city-hero {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.damascus-hero {
  background-image: url('../images/damascus-hero.png');
}

.aleppo-hero {
  background-image: url('../images/aleppo-hero.png');
}

.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 10, 6, 0.95) 0%,
    rgba(13, 10, 6, 0.50) 60%,
    rgba(13, 10, 6, 0.20) 100%
  );
}

.city-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.back-btn {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  transition: letter-spacing var(--transition);
}

.back-btn:hover {
  letter-spacing: 0.05em;
}

.city-hero-sub {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-family: var(--font-body);
}

.city-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  color: #F9F5EE;
  line-height: 1;
}

.city-hero-desc {
  font-size: 1.05rem;
  color: rgba(249, 245, 238, 0.75);
  max-width: 500px;
}

/* ============================================
   قسم البوابات
   ============================================ */
.gates-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gate-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  transition: all var(--transition);
  cursor: pointer;
}

.gate-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(186, 117, 23, 0.12);
}

.gate-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.gate-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text);
}

.gate-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.gate-link {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: letter-spacing var(--transition);
}

.gate-card:hover .gate-link {
  letter-spacing: 0.05em;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .gates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-hero-content {
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  .gates-grid {
    grid-template-columns: 1fr;
  }

  .city-hero h1 {
    font-size: 3rem;
  }
}
/* ============================================
   Mobile — صفحات الحرف والفنون
   ============================================ */
@media (max-width: 768px) {

  .artist-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .videos-grid {
    grid-template-columns: 1fr !important;
  }

  .artist-profile {
    grid-template-columns: 1fr !important;
  }

  .musicians-grid {
    grid-template-columns: 1fr !important;
  }

  .dialect-grid {
    grid-template-columns: 1fr !important;
  }

  .proverbs-grid {
    grid-template-columns: 1fr !important;
  }

  .crafts-grid {
    grid-template-columns: 1fr !important;
  }

  .sites-grid {
    grid-template-columns: 1fr !important;
  }

  .writers-grid {
    grid-template-columns: 1fr !important;
  }

  .filter-tabs {
    gap: 0.5rem;
  }
}
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background-image: url('../images/Logo.PNG');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

[data-theme="light"] body::before {
  mix-blend-mode: multiply;
  opacity: 0.06;
}