/* Modules */
@import url("/assets/css/journal.css");
@import url("/assets/css/gallery.css");
/* @import url("/assets/css/tabs.css"); */
/* ... */

/* ==============================
   BASE YANNOCK — COULEURS & FOND
   ============================== */

:root {
  --yv-bg: #020815;
  --yv-bg-alt: #102337;
  --yv-surface: #050b16;
  --yv-text: #f5f5f5;
  --yv-text-muted: #a0a0a0;
  --yv-accent: #ffcf2b;
  --yv-accent-soft: rgba(255, 207, 43, 0.1);
}

/* Fond global + typo */
body {
  background: radial-gradient(circle at top, #111b30 0, #020815 45%, #000000 100%);
  color: var(--yv-text);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

/* Lien global */
a {
  color: var(--yv-accent);
}

a:hover {
  text-decoration: none;
}

/* Centrer la zone de contenu principale */
.page {
  float: none;   
  background: transparent;
  max-width: 1100px;   /* largeur max du bloc central */
  margin: 1.5rem auto 3rem auto; /* centre horizontalement + marges haut/bas */
}

/* On évite que l'intérieur rajoute des marges bizarres */
.page__inner {
  margin: 0;
}

/* On garde notre bloc "carte" translucide */
.page__content {
  background: rgba(5, 11, 22, 0.85);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
/* Titrage */
.page__content h1,
.page__content h2,
.page__content h3 {
  color: var(--yv-text);
}

/* Taille un peu réduite sur grand écran */
@media (min-width: 1024px) {
  html {
    font-size: 15px;
  }

  .page__content {
    font-size: 0.97rem;
    line-height: 1.7;
  }
}

/* ==============================
   ONGLET PRINCIPAUX
   ============================== */

.yv-tabs {
  margin-top: 0.5rem;
}

/* NAV des onglets */
.yv-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.5rem;
}

.yv-tab-link {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.55rem 1.5rem;      /* <-- plus haut, plus large */
  background: rgba(5, 11, 22, 0.9);
  color: var(--yv-text-muted);
  font-size: 1rem;              /* <-- un poil plus grand */
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.12s ease;
}


.yv-tab-link:hover {
  background: #102337;
  color: var(--yv-text);
  transform: translateY(-1px);
}

.yv-tab-link.is-active {
  background: var(--yv-accent);
  color: #050505;
  border-color: var(--yv-accent);
}

/* PANELS */
.yv-tab-panel {
  display: none;
  animation: yv-tab-fade 0.18s ease-out;
}

.yv-tab-panel.is-active {
  display: block;
}

@keyframes yv-tab-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Petites utilitaires pour liens "call to action" */
.yv-primary-link {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--yv-accent);
  color: var(--yv-accent);
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.1s ease;
}

.yv-primary-link:hover {
  background: var(--yv-accent);
  color: #050505;
  transform: translateY(-1px);
}
/* Corrige l'état focus des boutons onglets */
.yv-tab-link {
  outline: none;
}

.yv-tab-link:focus-visible {
  outline: 2px solid var(--yv-accent-soft);
}

/* Masquer la navbar du thème pour ne garder que les onglets */
.masthead {
  display: none;
}

/* Remonter un peu la page pour compenser */
.initial-content,
.page {
  margin-top: 1.5rem;
}

/* ==============================
   FOOTER DARK THEME
   ============================== */

.page__footer {
  background: #020815;
  color: var(--yv-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Texte + liens dans le footer */
.page__footer p,
.page__footer span {
  color: var(--yv-text-muted);
}

.page__footer a {
  color: var(--yv-accent);
}

.page__footer a:hover {
  color: #ffffff;
}

/* Icônes éventuelles dans le footer */
.page__footer .social-icons a {
  color: var(--yv-text-muted);
}

.page__footer .social-icons a:hover {
  color: var(--yv-accent);
}
/* ==============================
   HERO / LOGO SUR LA HOME
   ============================== */

/* On masque le titre texte uniquement sur la home */
.yv-home .page__title {
  display: none;
}

/* Conteneur du logo/bandeau */
.yv-hero {
  margin-bottom: 1rem;
}

/* Logo principal */
.yv-hero__logo {
  display: block;
  max-width: 160px;   /* adapte quand tu auras ton visuel */
  height: auto;
}
/* ==============================
   HERO HEADER AVEC BANDEAU
   ============================== */

.yv-home .yv-hero {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 1.5rem auto;
  height: 348px;  /* hauteur de ton bandeau */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bandeau */
.yv-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/header-bg.png');
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
  opacity: 0.65;                   /* tu peux monter à 0.8 si tu veux plus visible */
  filter: brightness(1.2);         /* optionnel, donne un effet plus lumineux */
}

/* Logo par-dessus */
.yv-hero__logo {
  position: relative;
  z-index: 2;
  max-width: 160px;                 /* adapte à ton visuel */
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.8)); /* pour un rendu propre */
}
