/* ===== TIMELINE ===== */
.events-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  justify-content: center;
}
.events-tab {
  padding: 12px 30px;
  background-color: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #A0A0A5;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.events-tab:first-child {
  border-radius: 8px 0 0 8px;
}
.events-tab:last-child {
  border-radius: 0 8px 8px 0;
}
.events-tab.active {
  background-color: #D4AF37;
  color: #0B0B0C;
  border-color: #D4AF37;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; /* mobile default */
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(212, 175, 55, 0.2);
}

.timeline-item {
  display: flex;
  flex-direction: column; /* mobile default */
  gap: 15px;
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.timeline-date {
  flex-shrink: 0;
  text-align: left; /* mobile default */
  padding-left: 20px; /* spacing for mobile dot */
}
.timeline-date .day {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  color: #D4AF37;
  font-weight: 700;
  line-height: 1;
}
.timeline-date .month-year {
  font-size: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #A0A0A5;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 5px;
}
.timeline-date .weekday {
  font-size: 0.7rem;
  color: #A0A0A5;
  text-transform: uppercase;
  display: block;
}

.timeline-content {
  flex: 1;
  background-color: #1A1A1E;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
  margin-left: 20px; /* spacing from line on mobile */
}
.timeline-content:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.timeline-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #FFF;
  margin-bottom: 8px;
}
.timeline-content .event-place {
  color: #D4AF37;
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.timeline-content .event-description {
  color: #EDEDED;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.timeline-content .event-dress-code {
  color: #A0A0A5;
  font-size: 0.85rem;
  font-style: italic;
}

.timeline-separator {
  height: 1px;
  background-color: rgba(212, 175, 55, 0.1);
  max-width: 900px;
  margin: 0 auto 30px auto;
}

/* ===== AGENDA CALENDAR ===== */
.agenda-calendar {
  max-width: 900px;
  margin: 0 auto;
}
.agenda-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.agenda-nav button {
  background-color: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.agenda-nav button:hover {
  background-color: rgba(212, 175, 55, 0.1);
}
.agenda-date-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.agenda-day {
  background-color: #1A1A1E;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}
.agenda-day-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.agenda-day-header .day-number {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  color: #D4AF37;
  line-height: 1;
}
.agenda-day-header .day-info {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}
.agenda-day-header .day-name {
  color: #EDEDED;
  font-weight: 600;
  display: block;
}
.agenda-day-header .day-month {
  color: #A0A0A5;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.agenda-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.agenda-slot {
  background-color: #121214;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s ease;
}
.agenda-slot:hover {
  border-color: #D4AF37;
}
.agenda-slot .slot-time {
  color: #D4AF37;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.agenda-slot .slot-prestation {
  color: #EDEDED;
  font-size: 0.9rem;
}
.agenda-slot .slot-price {
  color: #E5C158;
  font-family: 'Playfair Display', serif;
}
.slot-status-open {
  border-left: 3px solid #4CAF50;
}
.slot-status-reserved {
  border-left: 3px solid #FF9800;
  opacity: 0.5;
}
.agenda-empty {
  text-align: center;
  color: #A0A0A5;
  padding: 60px 20px;
  font-size: 1.1rem;
  background-color: #1A1A1E;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.15);
}

/* DESKTOP ADJUSTMENTS */
@media (min-width: 768px) {
  .timeline::before {
    left: 120px;
  }
  .timeline-item {
    flex-direction: row;
    gap: 30px;
  }
  .timeline-item::before {
    content: '';
    position: absolute;
    left: 120px;
    width: 12px;
    height: 12px;
    background-color: #D4AF37;
    border-radius: 50%;
    top: 30px; /* roughly align with title */
    transform: translateX(-5.5px);
  }
  .timeline-date {
    width: 100px;
    text-align: right;
    padding-left: 0;
  }
  .timeline-content {
    margin-left: 0;
  }
}
