/* -----------------------------------
   FESTIVAL DETAIL PAGE (CONTENT ONLY)
----------------------------------- */

.festival-detail {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.festival-detail h2 {
  font-size: 34px;
  font-weight: 700;
  margin-top: 20px;
  color: #222;
}

/* Festival Main Image */
.festival-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  cursor: pointer;
}

/* Section Titles */
.festival-detail h3 {
  font-size: 26px;
  margin: 25px 0 10px;
  font-weight: 600;
  position: relative;
  padding-left: 12px;
}

/* Left border line */
.festival-detail h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 4px;
  height: 22px;
  background: #b88b57; /* gold theme for culture */
  border-radius: 2px;
}

.festival-detail ul {
  padding-left: 20px;
  margin-top: 10px;
}

/* -----------------------------------
   RELATED FESTIVALS
----------------------------------- */
.related-festivals {
  margin-top: 40px;
}

.related-festivals h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

.food-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.festival-card {
  text-decoration: none;
  background: #fff;
  color: #222;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #ddd;
  transition: 0.3s ease;
}

.festival-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.festival-card img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
}

.festival-card p {
  text-align: center;
  margin-top: 8px;
  font-weight: 600;
  font-size: 18px;
}

/* -----------------------------------
   BACK BUTTON
----------------------------------- */
.back-btn {
  display: inline-block;
  margin-top: 40px;
  text-decoration: none;
  background: #b88b57; /* cultural gold */
  color: #fff;
  padding: 12px 22px;
  font-size: 16px;
  border-radius: 8px;
  transition: 0.3s ease;
}

.back-btn:hover {
  background: #8f693d;
  transform: translateY(-3px);
}

/* -----------------------------------
   IMAGE MODAL
----------------------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

/* -----------------------------------
   RESPONSIVE
----------------------------------- */
@media (max-width: 600px) {
  .festival-detail {
    padding: 15px;
  }

  .festival-detail h2 {
    font-size: 28px;
  }

  .festival-image {
    height: 250px;
  }

  .festival-detail h3 {
    font-size: 22px;
  }

  .modal-content {
    max-width: 95%;
  }

  .close {
    right: 20px;
  }
}
