:root {
  --bg: #0b0d10;
  --bg-soft: #11151a;
  --text: #e7ecf3;
  --muted: #9aa7b5;
  --accent: #ff8c00; /* orange */
  --accent-2: #ffd400; /* yellow */
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(11,13,16,.85), rgba(11,13,16,.55) 60%, rgba(11,13,16,0));
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 2px;
}

.zikhub-link {
  font-weight: 800;
  letter-spacing: 2px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: #e7ecf3;           /* blanc pour bien s'intégrer au header sombre */
  text-decoration: none; /* plus de soulignement */
  border: 1.5px solid transparent;
  border-radius: 4px;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.zikhub-link:hover,
.zikhub-link:focus {
  color: #ffcc00;             /* couleur accent FUNK.IT au survol */
  outline: none;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  opacity: .85;
}
.nav a:hover { opacity: 1; color: var(--accent-2); }

.section { padding: 80px 0; }
.section h2 { font-size: 36px; margin: 0 0 24px; letter-spacing: .5px; }

/* HERO */
.hero { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(1200px 600px at 20% 20%, rgba(255,140,0,.30), transparent 60%),
              radial-gradient(1000px 600px at 80% 70%, rgba(255,212,0,.22), transparent 60%),
              linear-gradient(180deg, #0b0d10, #0b0d10 60%, #0b0d10);
  transform: translateZ(0);
}
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero h1 { font-size: clamp(42px, 8vw, 96px); line-height: 1.02; margin: 0 0 10px; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--muted); margin: 0 0 26px; font-size: 18px; }

/* Typewriter effect */
.typewriter {
  color: var(--accent-2);
  border-right: 3px solid var(--accent-2);
  animation: blink 1s infinite;
  min-width: 60px;
  display: inline-block;
}

@keyframes blink {
  0%, 50% { border-color: var(--accent-2); }
  51%, 100% { border-color: transparent; }
}
.cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #070709;
  padding: 12px 22px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.cta.small { padding: 8px 14px; font-size: 14px; }

/* MEDIA */
.socials { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius:5px; text-decoration: none; color: var(--text);
  border: 1px solid rgba(255,255,255,.1); background: #0e1217; box-shadow: var(--shadow);
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social.instagram:hover { color: var(--accent); }
.social.youtube:hover { color: var(--accent); }

.video-container {
  position: relative;
  width: 100%;
  padding: 10px; /* 16:9 ratio */
  border-radius: 5px;
  margin: 0 auto;
  margin-top: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.video-link {
  margin-top: 8px;
  text-align: center;
  font-size: 0.95rem;
}

.video-link a {
  text-decoration: none;
  color: currentColor;
}

/* BAND */
.members {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: start; /* ensure consistent alignment in Safari */
}
.member {
  background: #0e1217;
  border: 1px solid rgba(255,255,255,.05);
  padding: 4px;
  box-shadow: var(--shadow);
  text-align: center;
  /* remove transform on card for Safari grid alignment stability */
}
.member h3 { margin: 0px 0 0px; }
.member p { margin: 0; color: var(--muted); }
.avatar {
  width: 180px; height: 300px;
  object-fit: cover;
  border: 2px solid rgba(255, 140, 0, 0.736);
  box-shadow: 0 0 20px rgba(255,140,0,.3);
  display: block;
  margin: 8px;
}

/* SHOWS */
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.card {
  background: #0e1217; border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px; padding: 18px; box-shadow: var(--shadow);
  box-shadow: 0 0 10px rgba(255,255,255,0.08);
}
.card h3 { margin: 0 0 6px; }
.card p { margin: 6px 0; color: var(--muted); }

.list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.list li { background: #0e1217; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 14px; }
.list .title { font-weight: 600; }
.list .meta { color: var(--muted); font-size: 14px; }
.list a { color: var(--accent-2); text-decoration: none; }

.list li.past {
  background: #0e1217aa;
  position: relative;
  opacity: 0.6;
}


.photos {background: linear-gradient(180deg, transparent, var(--bg-soft)); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  row-gap: 16px; /* space between images */
  column-gap: 0px; /* space between images */
  max-width: 1300px;  /* limite la largeur totale pour 4 images max */
  padding: 5px;
}

.gallery img {
  width: 200px;        /* thumbnail size */
  aspect-ratio: 1 / 1.2;
  object-fit: cover;    /* crops without distortion */
  border-radius: 4px;   /* optional: rounded corners */
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05); /* subtle hover zoom */
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox.show {
  display: flex;
  animation: fadeIn 0.4s ease-out;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
  animation: zoomIn 0.4s ease-out;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  opacity: 0.8;
}
.close-btn:hover { opacity: 1; }

/* Navigation arrows */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: white;
  background: rgba(0,0,0,0.25);
  border: none;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 10000;
  opacity: 0.8;
  user-select: none;
  transition: background 0.2s, opacity 0.2s;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.15);
  opacity: 1;
}

.left-btn { left: 20px; }
.right-btn { right: 20px; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.85); }
  to   { transform: scale(1); }
}


.site-footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,.06); }
.site-footer p { margin: 0; color: var(--muted); text-align: center; }

/* Parallax basics */
.parallax { will-change: transform; }

/* Responsive */
@media (max-width: 1200px) {
  .members { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .members { grid-template-columns: repeat(2, 1fr); }
  .list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .members { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr; }
  .list { grid-template-columns: 1fr; }
}



