/* Sigma Seafood Mauritania — styles partagés (complète Tailwind CDN) */

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

html { scroll-behavior: smooth; }

/* --- Reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Glass panels --- */
.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* --- Floating bubbles decoration --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

/* --- Language switch --- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  color: inherit;
  opacity: 0.55;
  transition: all 0.25s ease;
}
.lang-switch button.active {
  opacity: 1;
  background: #00CED1;
  color: #001B3A;
}

/* --- i18n: hide inactive language nodes --- */
[data-i18n-lang] { display: none; }
[data-i18n-lang].lang-active { display: initial; }
span[data-i18n-lang].lang-active,
strong[data-i18n-lang].lang-active { display: inline; }

/* --- Quote request modal --- */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 14, 36, 0.75);
  backdrop-filter: blur(6px);
}
.quote-modal.open { display: flex; }
.quote-modal-panel {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  border-radius: 0.5rem;
  padding: 40px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Catalogue filter chips --- */
.filter-chip {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #c4c6d0;
  color: #43474e;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.filter-chip.active,
.filter-chip:hover {
  background: #000e24;
  border-color: #000e24;
  color: #ffffff;
}

/* --- Media gallery (photos + youtube) --- */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .play-badge {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,14,36,0.35);
}
.gallery-item .play-badge .material-symbols-outlined {
  font-size: 56px; color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.lightbox {
  position: fixed; inset: 0; z-index: 110;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,14,36,0.92);
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-content { width: 100%; max-width: 1000px; }
.lightbox-content iframe,
.lightbox-content img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 0.25rem;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  color: #fff; cursor: pointer;
}

/* --- Form status message --- */
.form-status:empty { display: none; }
.form-status { margin-top: 4px; }

/* --- Mobile nav --- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: #000e24;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-menu.open { display: flex; }
