/* ===== PARAMÈTRES GÉNÉRAUX ET VARIABLES ===== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap");

:root {
  --primary-color: #f08a1d; /* Orange Eximore */
  --dark-bg: #121212; /* Fond sombre principal */
  --light-bg: #1a1a1a; /* Fond légèrement plus clair */
  --text-color: #e0e0e0;
  --text-color-dark: #a0a0a0;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== EN-TÊTE (NAVBAR) ===== */
.navbar {
  background-color: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2a2a2a;
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.navbar nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.navbar nav li a {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.navbar nav li a:hover,
.navbar nav li a.active {
  color: var(--primary-color);
}

/* ===== SECTION HÉROS ===== */
.hero {
  height: 100vh;
  background: url("../media/background.png") no-repeat center center/cover; /* Remplacez par votre image de fond */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  color: white;
  margin: 0;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 10px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 30px;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background-color: #d87508;
  transform: translateY(-2px);
}

/* ===== SECTION GRILLE VIDÉO ===== */
.video-grid-section {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.video-grid-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.video-item a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.video-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.video-item a:hover img {
  transform: scale(1.1);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 3rem;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.video-item a:hover .play-icon {
  opacity: 1;
}

/* ===== PIED DE PAGE ===== */
.footer {
  background-color: var(--dark-bg);
  padding: 2rem 0;
  border-top: 1px solid #2a2a2a;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  margin: 0;
  color: var(--text-color-dark);
}

.social-icons a {
  color: var(--text-color-dark);
  font-size: 1.5rem;
  margin-left: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary-color);
}
