/* === RESET SIMPLE === */
body, h1, h2, p, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.5;
  background: linear-gradient(180deg, #071022 0%, #071627 60%);
  color: white;
}

/* === HEADER === */
.site-header {
  text-align: center;
  background: #2c3e50;
  color: white;
  padding: 2rem 1rem;
  border-bottom: 4px solid #ffb703;
}

.site-header .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #ffb703;
  letter-spacing: 1px;
  border-bottom: 2px solid #16a085;
  display: inline-block;
  padding-bottom: 4px;
}

.site-header h1 {
  margin: 0;
  font-size: 2.5rem;
}

.site-header p {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  font-weight: 300;
}

/* === NAVIGATION === */

nav {
  background-color: #1e3c72;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0.5rem 1rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  z-index: 2;
}

nav ul li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 6px;
  transition: background 0.3s;
}

nav a:hover { background-color: #1e90ff; }

/* DROPDOWN */
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1e3c72;
  min-width: 180px;
  display: none;
  flex-direction: column;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.25s ease-in-out;
}

.dropdown-content a {
  padding: 0.8rem 1rem;
}

.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px);}
  to { opacity: 1; transform: translateY(0);}
}

/* HAMBURGER MOBILE */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  z-index: 3;
}

/* OVERLAY */
.overlay {
  display: none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

/* --- MEDIA QUERIES --- */
@media(max-width:768px){
  nav ul { 
    flex-direction: column; 
    position: fixed;
    top: 0; left: -100%;
    width: 70%;
    height: 100%;
    background-color: #1e3c72;
    padding-top: 4rem;
    gap: 0;
    transition: left 0.3s ease;
  }

  nav ul.show { left:0; }

  nav ul li { width: 100%; }
  nav a { width: 100%; }

  .dropdown-content {
    position: static;
    display: none;
    background-color: #23488c;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  .hamburger { display: block; }

  .overlay.show { display: block; }
}

/* === GRID DES COLLECTORS VERTICALE === */
.collector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-inline: auto;
}

/* === CARTES COLLECTORS === */
.collector-card {
  display: flex;
  flex-direction: column;
  background: rgba(20, 28, 42, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: all 0.3s ease;
}

.collector-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.15);
}

.collector-card h2 {
  color: #ffb703;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.collector-card p {
  color: #d1d5db;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.collector-card .images {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.collector-card .images img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: brightness(0.98) contrast(1);
}

.collector-card .images img:hover {
  transform: scale(1.02);
  filter: brightness(1) contrast(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.collector-card .images video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.collector-card .images video:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* === RESPONSIVE === */
@media (max-width: 780px) {
  .collector-card {
    padding: 0.8rem;
  }
}

@media (max-width: 540px) {
  .collector-card .images video {
    max-height: 200px;
  }
}

.collector-card video {
  pointer-events: auto !important;
  z-index: 10 !important;
}

footer {
  background-color: #2c3e50;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #f1c40f;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}

main {
  padding: 2rem;
  text-align: center;
}
