/* Styles pour Arkadia International Academy - Refonte 2025 */

:root {
  /* Palette de couleurs du brief */
  --sable: #F4E9D8;
  --vert-pin: #3E5B4A;
  --bleu-ocean: #4C6C8F;
  --accent-soleil: #FAD65C;
  
  /* Couleurs complémentaires */
  --blanc: #FFFFFF;
  --noir: #333333;
  --gris-clair: #F5F5F5;
  --gris-moyen: #DDDDDD;
}

/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;700&display=swap');

/* Styles généraux */
body {
  font-family: 'Inter', sans-serif;
  color: var(--noir);
  background-color: var(--blanc);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  padding-top: 40px; /* Espace pour le bandeau d'annonce */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--vert-pin);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.2rem;
}

a {
  color: var(--bleu-ocean);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--vert-pin);
}

/* Bandeau d'annonce */
.announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1031; /* Plus élevé que la navbar */
  font-weight: bold;
}

/* Header et navigation */
.navbar {
  background-color: var(--blanc);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1030;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--vert-pin) !important;
  font-size: 1.5rem;
}

/* Ajustement de la taille du logo */
.navbar-brand img {
  height: 36px !important; /* Augmentation de 20% */
  width: auto;
  vertical-align: middle;
}

.nav-link {
  color: var(--noir) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--bleu-ocean) !important;
}

.language-switcher {
  display: flex;
  align-items: center;
}

.language-switcher button {
  background: none;
  border: 1px solid var(--bleu-ocean);
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 2px;
}

.language-switcher button.active {
  background-color: var(--bleu-ocean);
  color: white;
  font-weight: 700;
}

/* Ajustement pour le contenu principal */
main, .hero-section, .page-header {
  margin-top: 56px; /* Hauteur de la navbar */
}

/* Hero section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(244, 233, 216, 0.3); /* Sable 30% */
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Sections */
.section-title {
  color: var(--vert-pin);
  margin-bottom: 2rem;
}

.section-text {
  margin-bottom: 1.5rem;
}

/* Approach Section */
.approach-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 0;
}

.approach-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
}

.approach-section .container {
  position: relative;
  z-index: 1;
}

.approach-card {
  background-color: var(--blanc);
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.approach-card:hover {
  transform: translateY(-5px);
}

/* Programs Section */
.program-card {
  height: 100%;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(62, 91, 74, 0.8), rgba(76, 108, 143, 0.8));
}

.program-card .card-body {
  position: relative;
  z-index: 1;
  color: var(--blanc);
  padding: 2rem;
}

.program-card .card-title {
  color: var(--blanc);
  margin-bottom: 1rem;
}

.program-card ul {
  margin-top: 1rem;
}

.program-card ul li {
  margin-bottom: 0.5rem;
}

/* Facilities Section */
.facilities-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 0;
}

.facilities-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85);
}

.facilities-section .container {
  position: relative;
  z-index: 1;
}

.facilities-list li {
  margin-bottom: 0.5rem;
}

/* Outdoor Section - Correction de la superposition */
.outdoor-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 0;
}

.outdoor-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9); /* Fond plus opaque pour améliorer la lisibilité */
}

.outdoor-section .container {
  position: relative;
  z-index: 1;
}

.outdoor-section .section-title,
.outdoor-section .section-text,
.outdoor-section .facilities-list {
  color: var(--noir); /* Texte en noir pour meilleur contraste */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Ombre légère pour améliorer la lisibilité */
}

/* Testimonials Section */
.testimonial-card {
  background-color: var(--sable);
  border: none;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
  font-weight: 600;
  color: var(--vert-pin);
  font-style: italic;
}

/* CTA Section */
.cta-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

/* Footer */
.footer {
  background-color: var(--vert-pin);
  color: var(--blanc);
}

.footer h5 {
  color: var(--blanc);
  margin-bottom: 1.2rem;
}

.footer a {
  color: var(--sable);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-soleil);
  text-decoration: none;
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
}

/* Page Header */
.page-header {
  background-color: var(--sable);
  padding: 3rem 0;
}

/* Contes Vivants Page */
.tale-card {
  background-color: var(--sable);
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tale-text-fr, .tale-text-en {
  padding: 1rem;
}

.video-placeholder {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon {
  color: var(--blanc);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  padding: 2rem 0;
  position: relative;
}

.timeline-content {
  background-color: var(--blanc);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
    margin-top: 56px;
  }
  
  body {
    padding-top: 40px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .approach-card, .program-card {
    margin-bottom: 1rem;
  }
  
  /* Réduction supplémentaire du logo sur tablette */
  .navbar-brand img {
    height: 30px !important;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
    min-height: 300px;
    margin-top: 56px;
  }
  
  .section-title {
    font-size: 1.75rem;
    text-align: center;
  }
  
  body {
    padding-top: 40px;
  }
  
  /* Amélioration de l'affichage des boutons de langue sur mobile */
  .language-switcher {
    margin-top: 10px;
    justify-content: center;
  }
  
  /* Assurer que le menu déroulant s'affiche correctement sur mobile */
  .navbar-collapse {
    background-color: var(--blanc);
    padding: 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Ajustements pour les cartes sur mobile */
  .card {
    margin-bottom: 1.5rem;
  }
  
  /* Ajustements pour les témoignages sur mobile */
  .testimonial-card {
    padding: 1rem;
  }
  
  .testimonial-author {
    font-size: 0.9rem;
  }
  
  /* Ajustements pour le conte bilingue sur mobile */
  .tale-text-fr, .tale-text-en {
    padding: 0.5rem;
  }
  
  /* Ajustements pour la vidéo sur mobile */
  .coming-soon {
    font-size: 1.2rem;
  }
  
  /* Réduction supplémentaire du logo sur mobile */
  .navbar-brand img {
    height: 26px !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 40vh;
    min-height: 250px;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
  }
  
  .hero-section p.lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-text {
    font-size: 0.95rem;
  }
  
  /* Ajustements pour les boutons CTA sur mobile */
  .cta-section .btn-lg {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  /* Ajustements pour le footer sur mobile */
  .footer {
    text-align: center;
  }
  
  .social-links a {
    display: block;
    margin: 0.5rem 0;
  }
  
  /* Réduction supplémentaire du logo sur petit mobile */
  .navbar-brand img {
    height: 24px !important;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--bleu-ocean);
  color: white;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Print styles */
@media print {
  .navbar, .hero-section, footer, .cta-section {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
}



/* Contact Section Background Overlay */
.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85); /* White overlay for readability */
  z-index: 0; /* Ensure it's behind the content */
}

.contact-section .container {
  position: relative; /* Ensure content is above the overlay */
  z-index: 1;
}



.storytelling-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95); /* White overlay for readability - Increased opacity */
  z-index: 0; /* Ensure it's behind the content */
}

.storytelling-section .container {
  position: relative; /* Ensure content is above the overlay */
  z-index: 1;
}



/* Vision Section Background Overlay */
.vision-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95); /* White overlay for readability - Increased opacity */
  z-index: 0; /* Ensure it's behind the content */
}

.vision-section .container {
  position: relative; /* Ensure content is above the overlay */
  z-index: 1;
}



/* Early Birds Section Background Overlay */
.early-birds-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85); /* White overlay for readability */
  z-index: 0; /* Ensure it's behind the content */
}

.early-birds-section .container {
  position: relative; /* Ensure content is above the overlay */
  z-index: 1;
}



/* Referral Section Background Overlay */
.referral-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(245, 245, 245, 0.85); /* Light grey overlay for readability on bg-light */
  z-index: 0; /* Ensure it's behind the content */
}

.referral-section .container {
  position: relative; /* Ensure content is above the overlay */
  z-index: 1;
}



/* How it Works Section Background Overlay */
.how-it-works-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85); /* White overlay for readability */
  z-index: 0; /* Ensure it's behind the content */
}

.how-it-works-section .container {
  position: relative; /* Ensure content is above the overlay */
  z-index: 1;
}
