/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #333;
  height: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
header {
  background: #000;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo img {
  height: 50px;
}
nav {
  position: relative;
  flex: 1;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
}
nav a {
  padding: 8px 12px;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s;
}
nav a:hover,
nav .active {
  background: #e00;
}

/* MAIN */
main {
  flex: 1;
  padding-top: 80px;
}

/* AVANT-APRES SECTION */
.avant-apres-section {
  padding: 80px 20px;
  text-align: center;
}
.avant-apres-section h2 {
  font-size: 2rem;
  color: red;
  margin: 40px 0 20px;
}
.video-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.video-container {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}
.video-container h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: #e00;
}
video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* FOOTER */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.social a {
  margin: 0 8px;
  color: #fff;
  transition: transform 0.2s, color 0.2s;
}
.social a:hover {
  color: #e00;
  transform: scale(0.9);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    gap: 10px;
    padding: 10px 0;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .video-row {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    height: auto;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a {
    padding: 6px 10px;
    font-size: 1rem;
  }

  .logo img {
    height: 40px;
  }
}

