/* ------------------------------------------------------ */
/* 🔧 RESET & BASE */
/* ------------------------------------------------------ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  color: #1f1f1f;
  background-color: #f4f4f4;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------------ */
/* 🎨 PALETTE */
/* ------------------------------------------------------ */

:root {
  --blue-dark: #042e54;
  --blue-light: #7bb6e0;
  --green-main: #47a02c;
  --green-dark: #2d6e1a;
  --beige: #f5f5dc;
  --white-glass: rgba(255,255,255,0.15);
  --white-glass-strong: rgba(255,255,255,0.35);
  --black-glass: rgba(0,0,0,0.55);
}

/* ------------------------------------------------------ */
/* 🧭 HEADER + MENU */
/* ------------------------------------------------------ */

header {
  width: 100%;
  position: relative;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.35);
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 15px;
}

/* MENU TOUJOURS VISIBLE */

.main-nav {
  width: 100%;
  max-width: none;
  background: var(--black-glass);
  padding: 0.6rem 0;
}

.nav-links {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav .nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

nav .nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  padding: 0.7rem 1.2rem;
  background: var(--white-glass);
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--white-glass-strong);
}

.menu-toggle {
  display: none !important;
}

header, .main-nav, .nav-links {
  width: 100%;
}


/* ------------------------------------------------------ */
/* 📝 TITRES */
/* ------------------------------------------------------ */

h2 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.3rem;
  color: var(--blue-dark);
  text-align: center;
  margin: 40px 0 20px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.55);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

h3 {
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.35rem;
  color:rgb(110, 3, 110);
  margin-bottom: 10px;
  font-weight: 600;
}

/* ------------------------------------------------------ */
/* 🧱 BLOCS (Actualités, Podium, Carrousel…) */
/* ------------------------------------------------------ */

.block {
  background: rgba(0,0,0,0.12);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  backdrop-filter: blur(3px);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Actualités */
.news-item {
  background: rgba(255,255,255,0.08);
  padding: 16px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.news-item:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.15);
}

/* Podium */
.block3 .block-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 10px;
}

/* Carrousel */
.carousel-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ------------------------------------------------------ */
/* 💎 BOUTONS PREMIUM */
/* ------------------------------------------------------ */

.button, a.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #5ecf60, #3d8b3d);
}

/* ------------------------------------------------------ */
/* 🦶 FOOTER */
/* ------------------------------------------------------ */

.footer-social {
  background: rgba(0,0,0,0.45);
  color: white;
  text-align: center;
  padding: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: var(--blue-light);
  font-size: 24px;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: var(--green-main);
  transform: scale(1.2);
}

/* ------------------------------------------------------ */
/* 📱 RESPONSIVE */
/* ------------------------------------------------------ */

@media (max-width: 768px) {

  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.2rem; }

  .nav-links {
    flex-direction: column;
    width: 100%;
    background: rgba(0,0,0,0.75);
    gap: 0;
  }

  .nav-links a {
    width: 100%;
    border-radius: 0;
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .block3 .block-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  h2 { font-size: 1.4rem; }
  .block { padding: 0.8rem; }
}
