/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #4d0000, #B22222);
  color: #fff;
  padding-top: 80px;
  padding-bottom: 120px;
}
:root {
  --red: #e60000;
  --black: #000;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --radius: 12px;
}

/* HEADER */
.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--black);
  color: #fff;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--red);
}
.logo-img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: background 0.3s;
}
.nav-links a:hover {
  background: var(--red);
}

/* SECTION PISTE */
.piste-section {
  max-width: 1000px;
  margin: 120px auto 50px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.piste-section h1 {
  font-size: 2.5rem;
  color: var(--red);
  margin-bottom: 1rem;
}
.piste-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* MAP */
#map {
  width: 100%;
  height: 500px;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

/* SECTION RESEAUX */
.reseaux {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}
.reseaux h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.reseau-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.reseau-link img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 5px;
}
.reseau-link:hover {
  color: var(--red);
}


/* ========== FOOTER ========== */
.sticky-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.sticky-footer img {
  width: 30px;
  height: auto;
  margin-right: 0.5rem;
}


/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .navbar, .nav-links {
    flex-direction: column;
  }
  .piste-section {
    margin: 100px 20px 40px;
    padding: 1.5rem;
  }
  .piste-section h1 {
    font-size: 2rem;
  }
  .piste-section p {
    font-size: 1rem;
  }
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
}

/* Menu mobile masqué par défaut */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background-color: var(--black);
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    width: 100%;
    text-decoration: none;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links a:hover {
    background-color: var(--red);
  }

  .navbar {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}
