:root {
  --couleurRNV: #24CD32;
}
.couleurRNV {
  color: var(--couleurRNV);
}
.main_nav ul.menurnv li a {
   font-family:Rockabye;
   font-size:150%;
}
/* ---- Cadres boissons (2x2) ---- */
.drink-grid {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: 0 1rem;
}

.drink-card {
  background: #0e0e0e; /* très foncé pour se fondre avec ton fond noir */
  border-radius: 10px;
  padding: 0.9rem;
  box-shadow: 0 0 12px rgba(36,205,50,0.5);
  border: 2px solid rgba(36,205,50,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Survol accentué */
.drink-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 30px rgba(36,205,50,1);
  border-color: rgba(36,205,50,0.5);
}

/* Zone image / visuel */
.drink-card .thumb {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  display: block;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-sizing: border-box;
}

/* Image adaptative (gère carré & paysage sans rognage) */
.drink-card .thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* affiche entier, pas de crop */
  display: block;
}

/* Contenu texte */
.drink-card h4 {
  margin: 0 0 0.35rem 0;
  color: var(--couleurRNV);
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  font-family: RockSalt, sans-serif;
}

.drink-card p {
  margin: 0 0 0.6rem 0;
  font-size: 0.92rem;
  color: #dcdcdc;
  line-height: 1.3;
  position: relative;
}

/* Ligne d’action (prix / bouton) */
.drink-card .meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.drink-card .price {
  font-weight: 700;
  color: #fff;
  background: rgba(36,205,50,0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  border: 1px solid rgba(36,205,50,0.18);
}

.drink-card .btn {
  background: transparent;
  color: var(--couleurRNV);
  border: 1px solid rgba(36,205,50,0.22);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s ease, color 0.15s ease;
}

.drink-card .btn:hover {
  background: rgba(36,205,50,0.12);
  color: white;
}

/* Accent glow small badge */
.drink-card .badge {
  position: absolute;
  transform: translateY(-50%);
  margin-left: 0.7rem;
  background: rgba(36,205,50,0.12);
  color: var(--couleurRNV);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid rgba(36,205,50,0.28);
  box-shadow: 0 0 8px rgba(36,205,50,0.12);
}

/* Responsive : 1 colonne sur petit écran */
@media (max-width: 700px) {
  .drink-grid {
    grid-template-columns: 1fr;
  }
  .drink-card .thumb {
    height: 200px;
  }
}

.FontCrazy{
font-family:'rocknroll_typo_crazy'; 
color:var(--couleurRNV);
}
.milestones .FontCrazy,
.single_text .FontCrazy {
font-size:400%;
}
.iconeTemps{
color:var(--couleurRNV);
font-size:400%;
}
.horaire{
font-family:RockSalt;
font-size:300%;
}
.RockSalt{
font-family:RockSalt;
}

.infomargin{
margin-top:30px;
}
.infomargin2{
margin-top:50px;
}

.colimageinfo{
max-width: 20%;
}

.infopadding{
padding-top: 30px;
}
.mercipadding{
padding-bottom:0;
padding-top: 30px;
}
.sponsorsmargin{
margin-bottom:20px;
}

.chateaunuit{
background-image:url(../images/chateaunuit.webp);
background-size: CONTAIN;
}

.sortie{
color:var(--couleurRNV);
font-size:200%;
text-align:center;
font-family:RockSalt;
margin-top:20px;
margin-bottom:20px;
}
.doctorpunk{
font-family:'doctorpunk';	
}
.doctorpunk60{
font-family:'doctorpunk';
font-size:400%;	
}
.doctorpunk50{
font-family:'doctorpunk';
font-size:120%;	
}

.doctorpunk.home_subtitle{
font-size:600%;
}
.FontRetro{
	font-family:retroRockPoster;
}
.FontRetro h1{
	font-family:retroRockPoster;
	font-size:120%;
}
.FontCrazy h1{
	font-family:rocknroll_typo_crazy;
	font-size:120%;
	margin-bottom: 0;
}
.FontCrazyInfo {
	font-family:rocknroll_typo_crazy;
	font-size:150%;
	color:var(--couleurRNV);
}

.logoasso{
	display: flex;
	justify-content: center;
	align-items: center;
}
.logoasso img{
	width: 300px;
	height: 300px;
}
.iconesingle {
	font-size: 300%;
	color:var(--couleurRNV);
}
.texteiconesingle {
	font-family:'rocknroll_typo_crazy' ;
	font-size:300%;
}

.subtitle {
	color:white;
	font-size:200%;
	margin-top:40px
}
.sign .rightspan{
	float: right; 
}
.sign a{
	color: var(--couleurRNV); 
}

/* ---- ROCK'N VIE index ---- */

.rnv-box {
    background: #000;
    border: 3px solid var(--couleurRNV);
    box-shadow: 0 0 20px rgba(36,205,50,0.7);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    width: 100%;
    max-width: 520px;
    margin: auto;
}

.rnv-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 3px solid var(--couleurRNV);
}

/* --- Lignes --- */
.rnv-list {
    width: 100%;
}

.rnv-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    border-bottom: 2px solid var(--couleurRNV);
    padding: 14px 18px;
    cursor: pointer;
    font-family: 'rocknroll_typo_crazy', sans-serif;
    transition: all 0.25s ease;
    position: relative;
}

.rnv-line:last-child {
    border-bottom: none;
}

/* Texte */
.rnv-name, .rnv-time {
    color: var(--couleurRNV);
    font-size: 1.7rem;
    text-shadow: 0 0 6px var(--couleurRNV);
}

/* Hover relief */
.rnv-line:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 14px rgba(36,205,50,1);
    z-index: 2;
}

.rnv-line:hover::before {
    opacity: 1;
}

/* Effet brillant bordures */
.rnv-line::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--couleurRNV);
    border-radius: 5px;
    box-shadow: 0 0 14px rgba(36,205,50,0.8);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.featured_album_player {
    width: 100%;
     border: none;
     background: none;
}

/* --- Image accueil plein écran responsive --- */
.homeimage {
    width: 100%;
    height: auto;          /* hauteur automatique par défaut */
    display: block;
}

.homeindex {
    height: 100%;
}

.homeimage img {
    width: 100%;
    height: auto;          /* garde le ratio */
    object-fit: contain;   /* tout l'image visible */
    display: block;
}

/* Mobile */
@media (max-width: 768px) {
    .homeimage {
        height: 70vh;     /* hauteur max du conteneur */
    }

    .homeimage img {
        width: 100%;
        height: 100%;     /* prend toute la hauteur du conteneur */
        object-fit: contain;
    }
}

.chateau{
background-image:url(../images/chateau.webp);	
}	
.requin{
background-image:url(../images/requin.webp)	;
}		
.doctorpunkFont{
font-family:'doctorpunk';
}		
.helloAsso{
width: 100%; border: none;
}	
/* ---- TIMELINE ROCK'N VIE ---- */
.timeline {
  position: relative;
  margin: 3rem auto;
  padding: 2rem 0;
  width: 90%;
  max-width: 1000px;
}

/* Ligne centrale */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--couleurRNV); 
}

/* Bloc d'année */
.year-block {
  position: relative;
  margin: 3rem 0;
}

.year-title {
  position: relative;
  left: 50%;
  transform: translateX(-50%) translateY(-15px);
  z-index: 2;

  font-family: 'rocknroll_typo_crazy';
  font-size: 4rem;
  font-weight: bold;
  color: var(--couleurRNV);
  background: #111;
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  border: 3px solid var(--couleurRNV);
  box-shadow: 0 0 20px rgba(36,205,50,0.6);
  margin-bottom: 2.5rem;
  text-align: center;

  opacity: 1;
  --animation: titleFadeIn 0.4s ease-out forwards; /* apparition rapide */
}

/* Marqueur sous le titre */
.year-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--couleurRNV);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--couleurRNV);
}

.year-title.chateaulogo::before
{
content: "";
  display: inline-block;
  width: 1.2em;              /* largeur = taille du texte */
  height: 1.2em;             /* hauteur = taille du texte */
  margin-right: 0.15em;    /* petit espace */
  margin-bottom : 0.15em;
  vertical-align: middle;  /* aligné au milieu de la ligne de texte */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('../images/chateauLogoDessinN&V.webp');
}

/* Cartes de groupe */
.group {
  position: relative;
  width: 45%;
  padding: 1rem;
  background: #111;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(36,205,50,0.5);
  margin: 1rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #eee;
}

.group:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(36,205,50,1);
}

.group img {
  display: block;
  width: 100%;
  max-height: 250px;
  height: auto;
  border-radius: 10px;
  object-fit: contain; /* pas de rognage, tout est visible */
  background-color: #000; /* cadre noir autour si besoin */
  padding: 5px; /* léger espace visuel */
}

.group h3 {
  margin: 0.6rem 0;
  font-size: 1.2rem;
  color: #fff;
  font-family:RockSalt;
}

.group a {
  color: var(--couleurRNV); 
  text-decoration: none;
  font-weight: bold;
}

.group a:hover {
  text-decoration: underline;
}

/* Alternance gauche / droite */
.group.left {
  left: 0;
}

.group.right {
  left: 55%;
}

.group::before {
  content: "";
  position: absolute;
  top: 25px;
  width: 15px;
  height: 15px;
  background: #000;
  border: 3px solid var(--couleurRNV);
  border-radius: 50%;
  z-index: 1;
}

.group.left::before {
  right: -9px;
}

.group.right::before {
  left: -9px;
}

/* Animation d'apparition */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline .group {
    /*max-width: calc(40% - 80px);  /* largeur légèrement réduite */
    padding: 1.5rem 1.2rem;
    box-sizing: border-box;
    flex-direction: column;
}

/* Image carrée ou presque, qui s’adapte automatiquement */
.timeline .group img,
.timeline .group .slideshow .slide {
    width: 100%;
    aspect-ratio: 1 / 1;   /* force carré parfait */
    border-radius: 10px;
    background-color: #000;
    padding: 5px;

}

/* Responsive mobile-------------------------------------------------------------- */
@media screen and (max-width: 700px) {
  .group {
    width: 100%;
    left: 0 !important;
  }

  .timeline::before {
    left: 10px;
  }

  .group::before {
    left: -25px;
  }
}

/* --- SLIDESHOW GROUPES --- */

/* Images du slideshow */
.group .slideshow-img {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 10px;
    object-fit: contain;
    background: #000;
    padding: 5px;
}

.group .slideshow-img.active {
    display: block;
}
.group .hover-text {
  position: absolute;
  top: 8px; /* distance depuis le haut de la carte */
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  color: var(--couleurRNV) ;/* vert */
  font-size: 0.7rem;
  white-space: nowrap; /* texte sur une seule ligne */
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* léger fond noir pour lisibilité */
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none; /* le survol reste actif sur l'image */
}



.visually-hidden{
	position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

@font-face {
    font-family: 'doctorpunk';
    src: url('../fonts/doctor-punk.otf') format('opentype');
	font-display: block;
}

@font-face {
    font-family: 'retroRockPoster';
    src: url('../fonts/retroRockPoster.ttf') format('truetype');
	font-display: block;
}
@font-face {
    font-family: 'Rockabye';
    src: url('../fonts/Rockabye-Regular.otf') format('opentype');
	font-display: block;
}
@font-face {
    font-family: 'rocknroll_typo_crazy';
    src: url('../fonts/rocknroll_typo_crazy.ttf') format('truetype');
	font-display: block;
}
@font-face {
    font-family: 'RockSalt';
    src: url('../fonts/RockSalt.ttf') format('truetype');
	font-display: block;
}
/* --- sponsors --- */
.sponsors-marquee {
      overflow: hidden;
      width: 100%;
      height: 120px; /* hauteur du bandeau */
      display: flex;
      align-items: center;
      background: white;
      border-top: 2px solid #eee;
      border-bottom: 2px solid #eee;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	  margin-top: 30px;
	  margin-bottom: 30px;
    }

    .marquee-track {
      display: flex;
      align-items: center;
      gap: 3rem;
      animation: scroll 25s linear infinite;
    }

    .marquee-track img {
      height: 80px;
      object-fit: contain;
      opacity: 0.8;
      transition: all 0.3s ease;
    }

    .marquee-track img:hover {
      opacity: 1;
      transform: scale(1.1);
    }

    /* Animation du défilement */
    @keyframes scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }

    /* Animation désactivée pour les utilisateurs sensibles */
    @media (prefers-reduced-motion: reduce) {
      .marquee-track {
        animation: none;
      }
    }
.slideshow {
  position: relative;
  width: 100%;
}

.slideshow .slide {
  display: none;
  width: 100%;
  border-radius: 10px;
}

.slideshow .slide.active {
  display: block;
}
.nopaddingtop {
  padding-top: 10px;
}
 .map-frame {
    width: 640px;
    height: 480px;
  }
  .listsinglemargin {
	  margin-bottom:50px;
  }
  .discs .container {
  max-width: 1600px;
}
.home.homeindex {
    margin-top: 90px; /* hauteur réelle du header */
}
/*--------------RESPONSIVE--------------*/  
@media (max-width: 767.98px) {
  .milestone {
    flex-direction: column;
    align-items: center;
  }
.home.homeindex {
        margin-top: 120px;
    }
  .milestone_icon {
    margin-right: 0;
    margin-bottom: 25px;
    font-size: 2.5rem; /* réduire légèrement */
  }

  .milestone_counter.horaire {
    font-size: 1.5rem; /* réduire la taille sur mobile */
  }

  .milestone_text {
    font-size: 1rem;
  }
    .iconeTemps {
    font-size: 100%;
  } 
  .milestone_content {
    padding-bottom : 25px;
  } 
.milestones_row {
    margin-top: 10px;
}
.infomargin2 {
    margin-top: 70px;
}
.colimageinfo {
    max-width: none; 
}
.map-frame {
      width: 100%;
      height: 120vw; 
    }
.titremerci h1{
        white-space: normal;
}
.home_content.titremerci {
        position: relative;
        top: 60px;  /* décale en bas */
}
.titresingle {
        white-space: normal;
}
.home_content.titresingle {
        position: relative;
        top: 60px;  /* décale en bas */
}

.single_content_col	{
        margin-top: 10px;
}


.year-title {
font-size: 3rem;
}

.timeline .group.left::before,
.timeline .group.right::before {
    left: -9px;      /* positionné à gauche */
    right: auto;     /* annule le right si présent */
    top: 25px;
    width: 15px;
    height: 15px;
    background: #000;
    border: 3px solid var(--couleurRNV);
    border-radius: 50%;
    z-index: 1;
    transform: none; /* pas de translation */
} 
 .year-title::after {
    bottom: auto;        /* désactive la position en bas */
    left: -25px;         /* place le point à gauche du bloc */
    top: 50%;            /* centre verticalement par rapport au texte */
    transform: translateY(-50%); /* ajuste le centrage vertical */
  }

  .year-title {
    left: 20px;          /* décale le titre vers la droite si besoin */
    transform: none;     /* annule le centrage horizontal */
  }
  .FontRetro h1 {
    font-size: 150%;
}
.group .hover-text {
    display: none;
  }

  /* Pour éviter que le hover PC déclenche quelque chose sur mobile */
  .group:hover .slideshow .slide {
    animation: none !important;
  }

  /* Style facultatif pour montrer le groupe actif */
  .group.active-mobile {
    outline: 3px solid #ffbf00;
    border-radius: 10px;
  } 
.group {
      min-height: 380px;
      padding: 30px 0;
      margin-bottom: 70px;
  }
 .group img,
  .group .slideshow .slide {
      height: 300px;         /* augmente la hauteur visible de l'image */
      object-fit: cover;     /* évite les déformations */
  }
  .bandeauraya {
   background-image: url("../images/groupes/La_Raya_Des_Agites/bandeauRayaMobile.webp") !important;
   } 
   .bandeausons {
   background-image: url("../images/groupes/sons_of_oflaherty/bandeauSonsMobile.webp") !important;
   }
   .colsingle{
    margin-bottom: 20px;
   }
   .listsingle{
    margin-bottom: 20px;
   }
   .single {
    padding-bottom: 20px;
}
   .video {
    padding-bottom: 0px;
}
  .listsinglemargin {
	  margin-bottom:0px;
  }
 .timeline .group {
        max-width: 100%;
        width: 100%;
    }
}
