/* =========================
   RESET & GLOBAL
========================= */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

body {
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  background: #0a0a0a;
  color: white;
  overflow-x: hidden;
  caret-color: transparent;
  padding-top: 70px;
  min-height: 100vh;
  overflow-x: hidden;
}

*:focus {
  outline: none;
}

a, button {
  cursor: pointer;
}

/* =========================
   HEADER
========================= */

header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
}

.logo img {
  width: 150px;
  height: auto;
  transition: transform 0.2s ease;
}

.logo img:hover {
  transform: scale(1.05);
  filter: brightness(2);
}

.logo img:active {
  transform: scale(0.9);
}

nav a {
  color: white;
  font-size: 20px;
  text-decoration: none;
  margin-left: 25px;
  transition: 0.3s;
}

nav a:hover {
  color: #ff003c;
}

.nav-disabled {
  margin-left: 25px;
  font-size: 20px;
  color: #555;
  cursor: not-allowed;
  opacity: 0.6;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 80px); /* enlève la hauteur du header */
  padding: 40px 20px 60px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Background animation */
.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,0,60,0.15), transparent 90%);
  animation: moveBg 10s infinite linear, fogMove 20s infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #0a0a0a 400%);
}

/* Glow overlay animation */
@keyframes moveBg {
  0% { transform: translate(0,0); }
  50% { transform: translate(-25%, -25%); }
  100% { transform: translate(0,0); }
}

@keyframes fogMove {
  0% { transform: translate(0,0); }
  100% { transform: translate(-50px, -30px); }
}

/* Hero text */
.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(32px, 6vw, 70px);
  margin-top: 80px;
  z-index: 1;
  animation: fadeUp 1.5s ease, glowPulse 2s infinite alternate;
  text-shadow:
    0 0 10px rgba(255,0,60,0.7),
    0 0 20px rgba(255,0,60,0.5),
    0 0 40px rgba(255,0,60,0.3);
}

.hero p {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 0px;
  max-width: 600px;
  z-index: 1;
  animation: fadeUp 2s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  from {
    text-shadow: 0 0 5px rgba(255,0,60,0.5);
  }
  to {
    text-shadow: 0 0 25px rgba(255,0,60,1);
  }
}

/* =========================
   BUTTONS
========================= */

.buttons {
  display: flex;
  margin-top: 60px;
  gap: 20px;
  z-index: 1;
}

.btn {
  position: relative;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 30px;
  overflow: hidden;
  transition: 0.3s;
}

/* Hover overlay effect */
.btn::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  left: 0;
  top: 0;
  transition: 0.4s;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: #ff003c;
  color: white;
  box-shadow: 0 0 15px rgba(255,0,60,0.6);
}

.btn-primary:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255,0,60,1);
}

.btn-secondary {
  background: transparent;
  border: 1px solid white;
  color: white;
}

.btn-secondary:hover {
  background: white;
  color: black;
  transform: scale(1.05);
}

/* =========================
   PARTICLES
========================= */

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 0;
}

.particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  animation: float 10s linear infinite;
}

@keyframes float {
  from {
    transform: translateY(100vh);
  }
  to {
    transform: translateY(-10vh);
  }
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #0a0a0a;
  padding: 60px 20px 20px;
  color: #ccc;
  z-index: 1000;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

/* TITRES */
.footer h2, .footer h3 {
  color: white;
  margin-bottom: 15px;
}

/* TEXTES */
.footer p {
  font-size: 14px;
  line-height: 1.6;
}

/* LIENS */
.footer a {
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: red;
}

/* LISTES */
.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 10px;
}

/* SOCIALS */
.footersocials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* BAS */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

.copy-mail {
  color: #777;
  text-decoration: none;
  user-select: text;
}

.copy-mail:hover {
  color: red;
}

/* =========================
   SECTIONS ABOUT / CONTENT
========================= */

.intro {
  margin-top: 20px;
  z-index: 1;
}

.about {
  margin-top: 60px;
  max-width: 800px;
  text-align: center;
  z-index: 1;
}

.about h2 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 20px;
  color: #ff003c;
  padding: 20px;
  
  font-size: 32px; /* 👈 un peu plus grand */
  line-height: 1.8;
  color: #ddd; /* un peu plus lumineux que #ccc */

  text-shadow:
    0 0 5px rgba(255,0,60,0.6),
    0 0 10px rgba(255,0,60,0.4);
}

.about p {
  color: #ccc;
  line-height: 1.7;

}

/* =========================
   ACTIVITIES CARDS
========================= */

.activities {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 60px;
  z-index: 1;
}

.card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
  width: 250px;
  backdrop-filter: blur(10px);
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.05);
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 20px rgba(255,0,60,0.3);
  border: 1px solid rgba(255,0,60,0.3);
}

.card h3 {
  margin-bottom: 10px;
  color: white;
}

.card p {
  font-size: 14px;
  color: #aaa;
}


@media (max-width: 768px) {

  header {
    padding: 10px 20px;
  }

  .logo img {
    width: 110px;
  }

  nav {
    display: flex;
    gap: 15px;
  }

  nav a, .nav-disabled {
    font-size: 16px;
    margin-left: 0;
  }
}


@media (max-width: 768px) {

  .hero {
    padding: 20px 15px 40px;
  }

  .hero h1 {
    font-size: 42px;
    margin-top: 40px;
  }

  .hero p {
    font-size: 15px;
  }
}


@media (max-width: 768px) {

  .about {
    margin-top: 40px;
    padding: 0 10px;
  }

  .about h2 {
    font-size: 24px;
    padding: 10px;
  }

  .about p {
    font-size: 14px;
  }
}


@media (max-width: 768px) {

  .activities {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 300px;
  }
}


@media (max-width: 768px) {

  .buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .btn {
    width: 90%;
    max-width: 300px;
    text-align: center;
  }
}


@media (max-width: 768px) {

  .footer {
    padding: 40px 15px 20px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer h3 {
    font-size: 18px;
  }

  .footer p,
  .footer a {
    font-size: 14px;
  }
}