/* Calendar section */
.calendar-section {
  margin: 60px auto;
  padding: 80px 0;
  border-radius: 12px;
}
.calendar-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: var(--cider-brown);
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
}
.calendar-subtitle {
  text-align: center;
  color: var(--wood-ash);
  font-size: 1.1rem;
  font-style: italic;
  max-width: 550px;
  margin: 0 auto;
  padding-bottom: 55px;
}
.calendar-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Responsive calendar layout */
@media (max-width: 768px) {
  .calendar-grid-container {
    grid-template-columns: 1fr;
  }
}
.month-calendar {
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(99, 46, 10, 0.08);
  position: relative;
  background: linear-gradient(
    to bottom,
    #6b1e1e 0%,
    #6b1e1e 80px,
    var(--soft-white) 80px
  );
}
.month-header {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  color: var(--soft-white);
  text-align: left;
  margin-bottom: 25px;
  font-weight: 600;
  padding-left: 10px;
}
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 10px;
  padding: 0 10px;
}
.weekday {
  text-align: center;
  font-size: 0.8rem;
  color: var(--wood-ash);
  font-weight: 500;
  padding: 5px;
}
.days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0 10px;
}
.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--wood-ash);
  opacity: 0.15;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}
.day:not(:empty):not(.friday) {
  opacity: 0.2;
}
.day.friday {
  background: var(--cinnamon-bark);
  color: var(--soft-white);
  font-weight: 600;
  opacity: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.95);
  animation: fridayPulse 15s ease-in-out infinite;
  animation-delay: calc(var(--friday-index, 0) * 0.35s);
}
.day.friday:hover {
  background: #8a3e3e;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(138, 62, 62, 0.4);
  z-index: 1;
}
.day.friday.past {
  background: #d0d0d0;
  color: #888;
  text-decoration: line-through;
  opacity: 0.5;
  animation: none;
}
.day.friday.past:hover {
  background: #b0b0b0;
  transform: scale(1);
}
@keyframes fridayPulse {
  0%,
  100% {
    transform: scale(0.95);
  }
  3% {
    transform: scale(1.03);
  }
  6%,
  94% {
    transform: scale(0.95);
  }
}
