/* |--↓-↓-↓ Start Community.html ↓-↓-↓--| */
.community {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1000px;
}

h1 {
  display: block;
  font-size: 2.3rem;
  background-color: var(--color-destin-sand);
  border: solid var(--color-mid-green);
  border-radius: 15px;
  color: var(--color-dark-green);
  text-shadow: var(--text-outline-heading);
  padding: 5px 100px;
  box-shadow: var(--shadow-subtle); 
}

.notice, .com-link {
  font-size: 1.3rem;
  color: var(--color-dark-green);
}

.com-link {
  text-decoration: none;
  font-weight: 600;
}

.com-link:hover {
  color: var(--color-soft-golden);
}

#calendar-events-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  border: none;
  background-color: var(--color-soft-golden);
  border: solid 3px var(--color-destin-sand);
  border-radius: 15px;
  padding: 10px;
    box-shadow: var(--shadow-medium);
}

.events {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 10px;
}

.upcoming-events {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

#events-navigation {
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  margin: 0;
  padding: 0;
  
}

ul.event-categories {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  list-style-type: none;
  gap: 50px;
  margin: 10px auto;
}

li.enav {
  display: flex;
  width: auto;
  margin: 0;
  border: solid 1px var(--color-dark-green);
  background-color: var(--color-destin-sand);
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: var(--shadow-medium);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cat-btn {
  display: block;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 2px 50px;
  width: 100%;
  height: 100%;
  color: var(--color-dark-green);
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: 600;
}

.sales-btn:hover {
  background-color: rgba(124, 170, 86, 0.5); /*#7CAA56*/
}

.celebrations-btn:hover {
  background: rgba(255, 196, 100, 0.5); /*#FFC464*/
}

.workshops-btn:hover {
  background: rgba(252, 96, 96, 0.5); /*#FC6060*/
}

.all-btn:hover {
  background: var(--color-light-teal);
}

/* --- Active button states --- */
.event-categories li.enav.active {}
.workshops-btn.active {
  background-color: rgba(252, 96, 96, 0.5);
}
.celebrations-btn.active {
  background-color: rgba(255, 196, 100, 0.5);
}
.sales-btn.active {
  background-color: rgba(124, 170, 86, 0.5);
}
.all-btn.active {
  background-color: var(--color-light-teal);
}

.interactive-events {
  display:flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.events-left {
  width: 50%;
  align-items: center;
  justify-content: center;
}

.calendar iframe {
  width: 600px;
  height: 550px;
  margin-top: 25px;
  margin-bottom: 20px;
  background-color: var(--color-light-teal);
  border-radius: 15px;
  box-shadow: var(--shadow-subtle); 
}

.events-right {
  width: 50%;
  align-items: center;
  justify-content: center;
}

.scroll-direction {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 10px 0;
}

#scroll-up, #scroll-down {
  cursor: pointer;
  background-color: var(--color-dark-green);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: auto;
  height: 450px;
  overflow-y: hidden;
  justify-content: center;
}

.event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--color-destin-sand);
  border: solid var(--color-dark-green);
  border-radius: 15px;
  padding: 10px;
  width: 600px;
  box-shadow: var(--shadow-subtle); 
}

.upcoming-events h2 {
  font-size: 1.875rem;
  text-align: center;
  text-shadow: 0.5px 0.5px .5px var(--color-dark-green),
  -0.5px -0.5px .5px var(--color-dark-green),
  -0.5px 0.5px .5px var(--color-dark-green),
  0.5px -0.5px .5px var(--color-dark-green);
  color: var(--color-destin-sand);
  background-color: var(--color-mid-green);
  border: solid var(--color-destin-sand);
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  padding: 0 50px;
  box-shadow: var(--shadow-medium);
}

.upcoming-events {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--color-pale-green);
  border: solid var(--color-destin-sand);
  border-radius: 15px;
  padding: 0px 20px 10px 20px;
  width: 95%;
  margin-top: 20px;
  box-shadow: var(--shadow-subtle);
}

.event-card h3,
.event-card p {
  padding: 0;
  margin: 0;
}

.event-card h3 {
  border: solid 0.5px var(--color-dark-green);
  border-radius: 10px;
  padding: 2px 20px;
  box-shadow: var(--shadow-subtle);

}

.event-card h3.workshop {
  background-color: rgba(252, 96, 96, 0.5);
}

.event-card h3.community {
  background-color: rgba(255, 196, 100, 0.5);
}

.event-card h3.sales {
  background-color: rgba(124, 170, 86, 0.5);
}

.event-card.is-collapsed:hover {
  cursor: pointer;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-events p {
  font-size: 1.2rem;
}