/* styles.css */
/* body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #fffde7;
  color: #4e342e;
} */

/* .container {
  max-width: 960px;
  margin: auto;
  padding: 20px;
} */

.page-title {
  text-align: center;
  font-size: 2rem;
  color: #d84315;
  margin-bottom: 30px;
}

.event-block {
  margin-bottom: 40px;
}

.event-title {
  font-size: 1.5rem;
  color: #6d4c41;
}

.event-description {
  margin: 10px 0 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination button {
  margin: 0 5px;
  padding: 6px 12px;
  background: #fbc02d;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.pagination button.active {
  background: #f57c00;
  color: white;
}

.year-selector {
  text-align: center;
  margin: 20px 0;
}

.year-selector button {
  margin: 0 5px;
  padding: 8px 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  background: hsl(213, 77%, 36%);
  cursor: pointer;
}

.year-selector button.active {
  background: #002266;
  color: white;
}

.year-block {
  display: none;
}

.year-block.active {
  display: block;
}

.event-block {
  margin-bottom: 40px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.pagination {
  text-align: center;
  margin-top: 15px;
}

.pagination button {
  margin: 0 5px;
  padding: 6px 12px;
  background: #fbc02d;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button.active {
  background: #f57c00;
  color: white;
}

.event-card {
  background: #fff8e1;
  border: 2px solid #207ace;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: scale(1.02);
}

.event-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #0d0346;
}

.card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #5d4037;
}

.carousel-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.carousel-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  width: 600px;
  text-align: center;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.carousel-content img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
}

.carousel-controls {
  margin-top: 10px;
}

.carousel-controls button {
  padding: 8px 16px;
  margin: 0 10px;
  font-size: 1.2rem;
  background: #fbc02d;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 2rem;
  color: #d84315;
  cursor: pointer;
}
  