/* =========================
   TEMPLE PAGE BASE
========================= */

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

.temple-page .section-title {
  text-align: center;
  font-size: 38px;
  color: #721717;
  margin-bottom: 50px;
  font-family: "Great Vibes", cursive;
  position: relative;
}

.temple-page .section-title::after {
  content: "";
  width: 120px;
  height: 4px;
  background: #e6c85a;
  display: block;
  margin: 12px auto 0;
  border-radius: 6px;
}

/* =========================
   FIVE MAIN TEMPLES (GRID)
========================= */

.main-temples {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  margin-bottom: 80px;
}

.temple-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
}

.temple-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.temple-card h2 {
  font-size: 18px;
  color: #721717;
  margin-bottom: 8px;
}

.temple-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 10px;
}

.temple-card ul {
  padding-left: 18px;
  font-size: 13px;
  color: #444;
}

.temple-card ul li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* =========================
   VERTICAL TEMPLE SECTIONS
========================= */

.temple-vertical {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.temple-vertical.reverse {
  flex-direction: row-reverse;
}

.temple-vertical img {
  width: 360px;
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.temple-vertical h2 {
  font-size: 26px;
  color: #721717;
  margin-bottom: 10px;
}

.temple-vertical p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

.temple-vertical ul {
  padding-left: 20px;
  font-size: 14px;
  color: #444;
}

.temple-vertical ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
  .main-temples {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .main-temples {
    grid-template-columns: repeat(2, 1fr);
  }

  .temple-vertical {
    flex-direction: column;
    text-align: center;
  }

  .temple-vertical.reverse {
    flex-direction: column;
  }

  .temple-vertical img {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 500px) {
  .main-temples {
    grid-template-columns: 1fr;
  }

  .temple-page .section-title {
    font-size: 28px;
  }
}
