:root {
  --primary: #00897b;
  --primary-dark: #00695c;
  --secondary: #2c3e50;
  --accent: #e74c3c;
  --light: #f9f9f9;
  --dark: #2c3e50;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
  --radius: 12px;
  --calendar-bg: linear-gradient(135deg, #00897b 0%, #004d40 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  padding: 20px;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* 🗓️ CALENDAR HEADER */
.calendar-header {
  background: var(--calendar-bg);
  color: var(--white);
  padding: 25px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.calendar-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.calendar-card {
  background: var(--white);
  color: var(--dark);
  border-radius: 16px;
  padding: 20px 15px;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
  z-index: 2;
}
.calendar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f39c12, #e74c3c, #00897b);
  border-radius: 16px 16px 0 0;
}
.calendar-day {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 5px;
}
.calendar-month {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 3px;
}
.calendar-year {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 12px;
}
.calendar-time {
  background: var(--light);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 700;
  color: var(--secondary);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.calendar-time::before {
  content: "⏰";
}

/* 📍 TOULOUSE LOCATION BADGE */
.toulouse-badge {
  background: linear-gradient(135deg, #f39c12, #e74c3c);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.toulouse-badge::before {
  content: "📍";
  font-size: 1.3rem;
}

/* 🔔 COUNTDOWN TIMER */
.countdown-box {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 12px 20px;
  margin-top: 12px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}
.countdown-box::before {
  content: "🔔";
  font-size: 1.3rem;
}

/* 📅 ADD TO CALENDAR BUTTONS */
.add-calendar-section {
  margin: 20px 0;
  text-align: center;
}
.add-calendar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
}
.calendar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.cal-btn {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.cal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cal-btn-google {
  background: #4285f4;
  color: white;
}
.cal-btn-apple {
  background: #000;
  color: white;
}
.cal-btn-outlook {
  background: #0078d4;
  color: white;
}
.cal-btn-ics {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cal-btn-ics:hover {
  background: var(--primary);
  color: var(--white);
}

/* Header title & badges */
header {
  padding: 20px 25px 15px;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid #eee;
}
header h1 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--secondary);
}
header .subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.badge {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  border: 1px solid #dee2e6;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 15px 25px;
  background: var(--light);
  border-bottom: 1px solid #eee;
}
.info-item {
  text-align: center;
  padding: 10px;
}
.info-item strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 3px;
  font-size: 0.9rem;
  font-weight: 700;
}
.info-item span {
  font-size: 0.95rem;
  color: var(--text);
}

/* Language toggle - 3 buttons */
.lang-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 25px 8px;
  background: #f8fafc;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}
.lang-btn {
  padding: 7px 16px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* Content */
.content {
  padding: 20px 25px 30px;
}
.lang-section {
  display: none;
  animation: fadeIn 0.3s ease;
}
.lang-section.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.section-title {
  color: var(--secondary);
  margin: 22px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary);
  font-size: 1.3rem;
}
.activity-list {
  list-style: none;
  margin: 12px 0;
}
.activity-list li {
  padding: 9px 0 9px 28px;
  position: relative;
  border-bottom: 1px dashed #eee;
  font-size: 0.95rem;
}
.activity-list li:last-child {
  border-bottom: none;
}
.activity-list li::before {
  content: attr(data-icon);
  position: absolute;
  left: 0;
  top: 9px;
  font-size: 1.1rem;
}
.activity-list strong {
  color: var(--secondary);
}

/* CTA & contact */
.cta-box {
  background: linear-gradient(135deg, #00897b 0%, #004d40 100%);
  color: white;
  padding: 18px;
  border-radius: var(--radius);
  text-align: center;
  margin: 22px 0;
}
.cta-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.cta-box a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 25px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: transform 0.2s;
}
.cta-box a:hover {
  transform: scale(1.03);
}
.contact-box {
  background: #f8f9fa;
  padding: 14px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.95rem;
}
.contact-box a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.contact-box a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  padding: 18px 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.footer em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 600px) {
  .calendar-day { font-size: 3.2rem; }
  .calendar-month { font-size: 1.1rem; }
  .countdown-box, .toulouse-badge { font-size: 1rem; padding: 8px 15px; }
  header h1 { font-size: 1.3rem; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .lang-toggle { flex-direction: column; align-items: center; }
  .badges { justify-content: center; }
  .calendar-buttons { flex-direction: column; }
  .cal-btn { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
  .calendar-day { font-size: 2.8rem; }
  .info-grid { grid-template-columns: 1fr; }
}