/* Styles spécifiques pour la page L'humour en mouvement */

/* Variables de couleurs */
:root {
  --primary-red: #d32f2f;
  --secondary-red: #f44336;
  --dark-gray: #212121;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --black: #000000;
  --accent-yellow: #ffeb3b;
}

/* Section Hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('images/hero-bg.jpg') center/cover;
  background-attachment: fixed;
  margin-bottom: 0;
  overflow: hidden;
}

.hero-background {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
  filter: blur(1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 3rem;
  margin: 0 auto;
  width: 100%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 3px 3px 0px var(--primary-red);
  font-family: 'Courier New', monospace;
}

.hero-slogan {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--accent-yellow);
  text-shadow: 1px 1px 0px var(--black);
}

.hero-btn {
  display: inline-block;
  background: var(--primary-red);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 3px solid var(--white);
  box-shadow: 5px 5px 0px var(--black);
}

.hero-btn:hover {
  background: var(--secondary-red);
  transform: translateY(-3px);
  box-shadow: 8px 8px 0px var(--black);
}

/* Section À propos */
.about-section {
  background: var(--white);
  padding: 4rem 0;
}

.about-section h2 {
  color: var(--dark-gray);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid var(--primary-red);
  padding-bottom: 1rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

/* Section Calendrier */
.calendar-section {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.calendar-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
  animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

.calendar-hero {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Animation du logo */
.logo-animation {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.rotating-logo {
  width: 120px;
  height: 120px;
  animation: rotate 8s linear infinite, pulse 2s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px var(--primary-red));
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 3s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@keyframes glow {
  from { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.animated-title {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 3px 3px 0px var(--primary-red);
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from { text-shadow: 3px 3px 0px var(--primary-red); }
  to { text-shadow: 3px 3px 20px var(--primary-red), 0 0 30px var(--primary-red); }
}

/* Container du calendrier */
.calendar-preview-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.calendar-preview-container:hover {
  transform: translateY(-10px);
}

.calendar-preview-animated {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.3s ease;
}

.calendar-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: var(--white);
  padding: 3rem 2rem 2rem;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.calendar-preview-container:hover .calendar-overlay {
  transform: translateY(0);
}

.calendar-preview-container:hover .calendar-preview-animated {
  filter: brightness(0.7);
}

/* Désactiver l'overlay sur mobile */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  .calendar-overlay {
    transform: translateY(0) !important;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: -50px;
  }
  
  .calendar-preview-container:hover .calendar-overlay {
    transform: translateY(0) !important;
  }
  
  .calendar-preview-container:hover .calendar-preview-animated {
    filter: none !important;
  }
  
  .calendar-preview-container {
    display: flex;
    flex-direction: column;
  }
  
  .calendar-preview-animated {
    order: 1;
  }
  
  .calendar-overlay {
    order: 2;
    position: relative;
    transform: none !important;
  }
}

.calendar-info-animated h3 {
  color: var(--accent-yellow);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.calendar-info-animated p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(10px);
}

.feature-icon {
  font-size: 2rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Section T-shirt */
.tshirt-section {
  background: var(--white);
  padding: 4rem 0;
}

.tshirt-section h2 {
  color: var(--dark-gray);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tshirt-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.tshirt-image {
  text-align: center;
}

.tshirt-preview {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.tshirt-preview:hover {
  transform: scale(1.02);
}

.tshirt-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.tshirt-features {
  list-style: none;
  padding: 0;
}

.tshirt-features li {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
  padding-left: 1rem;
}

/* Section Programme */
.program-section {
  background: var(--light-gray);
  padding: 4rem 0;
}

.program-section h2 {
  color: var(--dark-gray);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.program-table-wrapper {
  overflow-x: auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
}

.program-table {
  width: 100%;
  min-width: 1200px;
  max-width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
  position: relative;
}

.program-table th {
  background: var(--primary-red);
  color: var(--white);
  padding: 1rem 0.5rem;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--white);
  font-size: 0.9rem;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.program-table td {
  padding: 0.8rem 0.5rem;
  border: 2px solid var(--light-gray);
  vertical-align: top;
  min-height: 80px;
  font-size: 0.85rem;
  word-wrap: break-word;
  hyphens: auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time-slot {
  background: var(--dark-gray);
  color: var(--white);
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.activity-cell {
  background: var(--white);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.activity-cell:hover {
  background: var(--accent-yellow);
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.activity-cell.empty {
  background: var(--light-gray);
  color: #999;
  font-style: italic;
}

.activity-cell.empty:hover {
  background: var(--light-gray);
  transform: none;
  box-shadow: none;
}

/* Couleurs des activités selon le calendrier */
.activity-ventes {
  background: #2196F3 !important; /* Bleu */
  color: var(--white);
}

.activity-lightgreen {
  background: #8BC34A !important; /* Vert clair */
  color: var(--white);
}

.activity-orange {
  background: #FF9800 !important; /* Orange */
  color: var(--white);
}

.activity-yellow {
  background: #FFEB3B !important; /* Jaune */
  color: var(--black);
}

.activity-purple {
  background: #9C27B0 !important; /* Violet */
  color: var(--white);
}

.activity-repetition {
  background: #9E9E9E !important; /* Gris */
  color: var(--white);
}

.activity-green {
  background: #4CAF50 !important; /* Vert */
  color: var(--white);
}

/* Hover effects pour les activités colorées */
.activity-ventes:hover,
.activity-lightgreen:hover,
.activity-orange:hover,
.activity-yellow:hover,
.activity-purple:hover,
.activity-repetition:hover,
.activity-green:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

/* Section Infos pratiques */
.info-section {
  background: var(--white);
  padding: 4rem 0;
}

.info-section h2 {
  color: var(--dark-gray);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.info-item {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 3px solid var(--primary-red);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.info-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.info-item h3 {
  color: var(--dark-gray);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item p {
  color: var(--dark-gray);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Section Inscription */
.inscription-section {
  background: var(--dark-gray);
  padding: 4rem 0;
  color: var(--white);
}

.inscription-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
}

.inscription-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.warning-note {
  background: var(--primary-red);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  font-weight: bold;
  border: 3px solid var(--white);
}

.inscription-btn {
  display: inline-block;
  background: var(--accent-yellow);
  color: var(--black);
  padding: 1.5rem 3rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  border: 3px solid var(--black);
  box-shadow: 5px 5px 0px var(--black);
}

.inscription-btn:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 8px 8px 0px var(--black);
}

/* Sections placeholder */
.podcast-section,
.humours-class-section {
  background: var(--light-gray);
  padding: 4rem 0;
  text-align: center;
}

.podcast-section h2,
.humours-class-section h2 {
  color: var(--dark-gray);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-slogan {
    font-size: 1.2rem;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .program-table-wrapper {
    padding: 0.5rem;
    margin: 0 -1rem;
    border-radius: 0;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  
  .program-table-wrapper::-webkit-scrollbar {
    height: 8px;
  }
  
  .program-table-wrapper::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
  }
  
  .program-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
  }
  
  .program-table {
    min-width: 800px;
    font-size: 0.75rem;
    margin: 0;
  }
  
  .program-table th,
  .program-table td {
    padding: 0.3rem 0.2rem;
    font-size: 0.7rem;
  }
  
  .program-table th {
    font-size: 0.7rem;
    padding: 0.5rem 0.2rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .tshirt-content,
  .calendar-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .rotating-logo {
    width: 200px;
    height: 200px;
  }
  
  .logo-glow {
    width: 300px;
    height: 300px;
  }
  
  .animated-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .calendar-overlay {
    padding: 2rem 1rem 1rem;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .calendar-info-animated h3 {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .calendar-overlay {
    padding: 2rem 1rem 1rem;
  }
  
  .calendar-info-animated {
    padding-top: 1rem;
  }
  
  .about-section h2,
  .program-section h2,
  .info-section h2,
  .inscription-section h2,
  .tshirt-section h2,
  .calendar-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-slogan {
    font-size: 1rem;
  }
  
  .hero-content {
    padding: 1.5rem 0.5rem;
  }
  
  .program-table {
    min-width: 600px;
    font-size: 0.6rem;
  }
  
  .program-table th,
  .program-table td {
    padding: 0.2rem 0.1rem;
    font-size: 0.6rem;
  }
  
  .program-table th {
    font-size: 0.6rem;
    padding: 0.3rem 0.1rem;
  }
  
  .inscription-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .tshirt-content,
  .calendar-content {
    gap: 1rem;
  }
  
  .section-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .calendar-preview,
  .tshirt-preview {
    max-width: 100%;
  }
  
  .rotating-logo {
    width: 60px;
    height: 60px;
  }
  
  .logo-glow {
    width: 80px;
    height: 80px;
  }
  
  .animated-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .calendar-info-animated h3 {
    font-size: 1.5rem;
  }
  
  .feature-icon {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.about-content,
.program-table-wrapper,
.info-grid,
.inscription-content {
  animation: fadeInUp 0.8s ease-out;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 2rem;
}

.lang-btn {
  background: var(--primary-red);
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.lang-btn:hover {
  background: var(--secondary-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.lang-btn.active {
  background: var(--accent-yellow);
  color: var(--black);
  border-color: var(--black);
}

/* Responsive pour les boutons de langue */
@media (max-width: 768px) {
  .language-switcher {
    margin-left: 1rem;
  }
  
  .lang-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Scroll smooth */
html {
  scroll-behavior: smooth;
} 