/******************************************************
 * calendrier.css
 * => Style très transparent pour s'intégrer
 *    sur un fond déjà clair ou imagé
 ******************************************************/

 .calendar-section {
  font-family: "Trebuchet MS", sans-serif;
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;

  /* Conteneur presque transparent */
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;

  /* Tu peux ajuster ou supprimer le box-shadow si tu veux moins de gris */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);

  color: #333;
  font-size: 16px;
  line-height: 1.4;
}

/* Conteneur & image de l'horloge */
.snailclock-container {
  text-align: center;
  margin-bottom: 10px;
}
.snailclock-img {
  max-width: 120px;
  height: auto;
}

/* Horloge numérique */
.digital-clock {
  font-size: 55px;
  color: greenyellow;
  text-align: center;
  margin-bottom: 10px;
  font-family: 'Courier New', Courier, monospace;

  /* Ajout d'ombre pour mieux détacher le texte sur fond transparent */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}


/* En-tête du calendrier (titre) */
.calendar-header {
  text-align: center;
  margin-bottom: 15px;
}
.calendar-header h2 {
  font-size: 40px;
  margin: 0;
  display: inline-block;
}

/* Tableau du calendrier */
.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.calendar-table th,
.calendar-table td {
  width: 14.28%; /* 7 colonnes */
  text-align: center;
  padding: 10px;

  /* Bordure un peu plus subtile */
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

/* En-tête (jours de la semaine) : léger gris/blanc transparent */
.calendar-table th {
  background-color: rgba(255,255,255,0.25);
  color: #333;
}

/* Cellules (jours du mois) : encore plus transparent */
.calendar-table td {
  background-color: rgba(255,255,255,0.2);
  color: #333;
  position: relative;
}

/* Jour actuel => style distinct + animation halo */
.today {
  background-color: green; 
  color: #333;
  font-weight: bold;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 2px yellowgreen;
}
.animated-day::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  background: yellowgreen;
  animation: haloPulse 1.8s infinite;
}
@keyframes haloPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

/* Conteneur & image Téléphone Ferme */
.farmphone-section {
  text-align: center;
  margin: 20px 0;
}
.farmphone-img {
  height: 190px;
  width: auto;
  margin-bottom: 15px;
}

/* Bouton contact => .cta-btn + animation bounce */
.calendar-button {
  text-align: center;
  margin-top: 20px;
}
.cta-btn {
  background-color: #d09f61;
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Trebuchet MS", sans-serif;
  
  /* Animation "bounce" */
  animation: bounceBtn 1.3s infinite alternate;
}
.cta-btn:hover {
  background-color: #bf8f54;
}

@keyframes bounceBtn {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

/* --------------------- RESPONSIVE ---------------------- */
@media (max-width: 768px) {
  .calendar-section {
    margin: 10px;
    padding: 15px;
    font-size: 14px;
  }
  .digital-clock {
    font-size: 24px;
  }
  .calendar-header h2 {
    font-size: 20px;
  }
  .calendar-table th,
  .calendar-table td {
    padding: 6px;
    font-size: 12px;
  }
  .cta-btn {
    font-size: 18px;
    padding: 10px 18px;
  }
}

@media (max-width: 400px) {
  .cta-btn {
    font-size: 16px;
    padding: 8px 14px;
  }
}
