/* ==================== DISTRICT PAGES STYLES ==================== */

.district-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.district-header {
  text-align: center;
  margin-bottom: 40px;
}

.district-header h1 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.district-header .subtitle {
  font-size: 1.2rem;
  color: #666;
  font-style: italic;
}

.district-banner {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 30px;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--secondary-color);
}

.district-info-section {
  background: white;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.district-info-section h2 {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.info-table td {
  padding: 12px;
  border: 1px solid #e2e8f0;
}

.info-table td:first-child {
  font-weight: 600;
  background: #f8f9fa;
  width: 30%;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.info-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.info-card h3 {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  color: #555;
  line-height: 1.6;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.place-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.place-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.place-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.place-card-content {
  padding: 20px;
}

.place-card-content h3 {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.place-card-content p {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Card icon styles for religious practice/feature cards */
.card-icon {
  margin-top: 20px;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Info list styles */
.info-list {
  margin: 20px 0;
  padding-left: 30px;
  line-height: 1.8;
}

.info-list li {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.8;
}

/* District info section paragraphs */
.district-info-section p {
  line-height: 1.8;
  color: #555;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border-radius: 12px;
  padding: 50px 30px;
  text-align: center;
  margin: 40px 0 20px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ==================== RESPONSIVE STYLES ==================== */
@media screen and (max-width: 768px) {
  .district-header h1 {
    font-size: 2rem;
  }

  .district-banner {
    height: 250px;
  }

  .info-table td:first-child {
    width: 40%;
  }

  .places-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
}
