* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'PlayfairDisplay', Georgia, serif;
  background-color: #f7f3f3;
  color: #420000;
}

.events-section {
  padding: 25px 40px;
  text-align: center;
}

.events-section h1 {
  font-size: 4rem;
  margin-top: 40px;
  margin-bottom: 10px;
}


.event-category {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 120px;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .event-category {
    margin-bottom: 5rem;
  }
}

.event-category:nth-of-type(odd) {
  flex-direction: row;
}

.event-category:nth-of-type(even) {
  flex-direction: row-reverse;
}

.event-category h2 {
  font-size: 3.25rem;
  margin: 0 40px 40px 40px;
  flex: 1;
  text-align: center;
}

.slideshow {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slideshow-wrapper {
  width: 80vw;
  aspect-ratio: 1 / 1;
  max-height: 560px;
  max-width: 560px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 7px solid #420000;
  box-shadow: 0 8px 20px rgba(66, 0, 0, 0.35);
  margin: 0 auto;
}

.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(66, 0, 0, 0.35);
}

.slideshow-controls {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  gap: 14px;
}

.slideshow-btn {
  background-color: #420000;
  color: white;
  border: none;
  padding: 12px 22px;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(66, 0, 0, 0.5);
}

.slideshow-btn:hover {
  background-color: #7a3b3b;
  box-shadow: 0 0 16px rgba(66, 0, 0, 0.75);
}


.event-text {
  flex: 1;
  text-align: center;
  padding: 0 40px;
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .event-text {
    padding: 0 20px;
  }
}

.event-text hr {
  width: 100px;
  margin: 12px auto 18px;
  border: 1px solid #420000;
}

.event-text p {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #420000;
  max-width: 600px;
  margin: 0 auto;
}

.scroll-container {
  height: calc(100vh - 80px); /* keeps scrollable area under navbar */
  overflow-y: auto;
}



/* Scrollbar Styling */
.scroll-container::-webkit-scrollbar {
  width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
  background: #420000;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #f7f3f3;
  border-radius: 4px;
}

.calendar-preview-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 60px; /* <- gives more breathing room */
}


.calendar-preview-link a {
  color: #420000;
  font-weight: normal;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.calendar-preview-link a:hover {
  color: #ff4545;
  text-decoration: underline;
}

.attention-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.2));
}
