/* ============================================
   DAKHLA INVEST AGENCY — ZONES PAGE
   ============================================ */

.page-header-zones {
  padding: 10rem 0 4rem;
  background: var(--bleu-marine);
  text-align: center;
}

.page-header-zones .page-title {
  font-family: var(--font-titre);
  font-size: var(--text-5xl);
  color: var(--blanc-pur);
  margin-bottom: var(--space-3);
}

.page-header-zones .page-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
}

/* ZONES TABS */
.zones-overview {
  display: flex;
  gap: var(--space-2);
  background: var(--blanc-pur);
  padding: var(--space-2);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-10);
  overflow-x: auto;
}

.zone-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  min-width: 100px;
  border: none;
  background: none;
  font-family: var(--font-corps);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gris-texte);
}

.zone-tab:hover {
  background: var(--blanc-casse);
}

.zone-tab.active {
  background: var(--bleu-marine);
  color: var(--blanc-pur);
}

.zone-tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gris-leger);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.zone-tab.active .zone-tab-icon {
  background: var(--or-saharien);
}

/* ZONE CONTENT */
.zone-content {
  display: none;
}

.zone-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.zone-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: start;
}

.zone-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.zone-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.zone-title {
  font-family: var(--font-titre);
  font-size: var(--text-4xl);
  color: var(--bleu-marine);
  margin-bottom: var(--space-6);
}

.zone-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.zone-stat {
  text-align: center;
  padding: var(--space-4);
  background: var(--blanc-pur);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.zone-stat-value {
  display: block;
  font-family: var(--font-titre);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--or-saharien);
}

.zone-stat-label {
  font-size: var(--text-xs);
  color: var(--gris-moyen);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.zone-desc {
  font-size: var(--text-base);
  color: var(--gris-texte);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.zone-highlights,
.zone-property-types {
  margin-bottom: var(--space-6);
}

.zone-highlights h4,
.zone-property-types h4 {
  font-family: var(--font-titre);
  font-size: var(--text-lg);
  color: var(--bleu-marine);
  margin-bottom: var(--space-3);
}

.zone-highlights ul {
  list-style: none;
}

.zone-highlights li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
  color: var(--gris-texte);
}

.zone-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--or-saharien);
  border-radius: 50%;
}

[dir="rtl"] .zone-highlights li {
  padding-left: 0;
  padding-right: var(--space-6);
}

[dir="rtl"] .zone-highlights li::before {
  left: auto;
  right: 0;
}

.type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.type-tag {
  padding: var(--space-2) var(--space-4);
  background: var(--bleu-marine);
  color: var(--blanc-pur);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* COMPARISON TABLE */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .zone-layout {
    grid-template-columns: 1fr;
  }
  
  .zone-image {
    max-height: 300px;
  }
  
  .zone-image img {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .page-header-zones .page-title {
    font-size: var(--text-4xl);
  }
  
  .zones-overview {
    flex-wrap: nowrap;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
  
  .zone-stats-row {
    grid-template-columns: 1fr;
  }
  
  .zone-title {
    font-size: var(--text-3xl);
  }
}
