/* app/css/project.css */

body {
  background: whitesmoke;
  
}
.font_project,
.titre_page,
.sous_titre_page,
.additionnel_title{
  font-family: 'Fredoka One', cursive !important;
}
.material-symbols-outlined {
  font-variation-settings: 'wght' 200 !important;
}

/* Container layout */
.menu_top{
    background-image: url('../../storage/assets/images/fond_header.png');
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    background-color: var(--color1);
    box-shadow: var(--shadow_medium) !important;
}
.cont_menu_principal {
  margin-left: auto;
}
.menu_principal ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.btn_page {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px 8px;
  margin-left:auto;margin-right:20px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 200;
  cursor: pointer;
  /* border: 1px solid rgba(255, 255, 255, 0.35); */
  /* background: rgba(255, 255, 255, 0.15); */
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn_page:hover,
.btn_page_actif {
  /* background: rgba(255, 255, 255, 0.15); */
  /* color: rgb(236, 33, 136); */
  /* border-color: transparent; */
  text-decoration: underline;
  text-underline-offset: 6px; 
}
.btn_page_actif:hover {
  cursor: default;
}


.logo_entete{  
  height:100px;
  margin-left:20px;
}

.ic_close_entete {  
  margin-left: auto;
  margin-right: 20px;
  color: white;
  font-size: 2em;
  font-variation-settings: 'wght' 600 !important;
  cursor: pointer;
}


.menu_side {    
  box-shadow: none !important;
  border-right: 1px solid white;
  background: whitesmoke ;
  color: black;
  padding: 10px;
}
.cont_popup,
.cont_general,
.gallery_container {
  background: whitesmoke;  
}

/* FOOTER */
.cont_footer{
  /* background-image: url('../../storage/assets/images/fond_header.png'); */
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  background-color: var(--color1);
  min-height: 200px;
}

/* CGL */
.cgl_container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 40px;
  line-height: 1.7;
  background-color: white;
  box-shadow: var(--shadow_medium);
}

.cgl_container h1 {
  color: var(--color1);
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color1);
  text-transform: uppercase;
  text-align: center;
}

.cgl_container h2 {
  color: var(--color1);
  font-size: 1.3rem;
  margin-top: 35px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.cgl_container h3 {
  color: var(--color1);
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cgl_container p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 12px;
  text-align: justify;
  padding-left: 15px;
}

/* < */
.particuliers_diaporama {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  /* box-shadow: var(--shadow_medium); */
}
.particuliers_diaporama_slide {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: whitesmoke;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.particuliers_diaporama_slide.active {
  opacity: 1;
}
.particuliers_diaporama_caption_top {
  padding: 5px 0 14px;
  text-transform: uppercase;
  background: linear-gradient(to bottom, color-mix(in srgb, grey 60%, transparent) 0%, color-mix(in srgb, grey 30%, transparent) 60%, transparent 100%);
}
.particuliers_diaporama_caption_bottom {
  padding: 14px 0 5px;  
  text-transform: uppercase;
  background: linear-gradient(to top, color-mix(in srgb, grey 60%, transparent) 0%, color-mix(in srgb, grey 30%, transparent) 60%, transparent 100%);
}
.particuliers_diaporama_title {
  /* font-weight: bold; */  
  text-shadow: 1px 1px 2px rgba(119, 114, 114, 0.5);
  color: white;
  font-size: 1rem;
}
.particuliers_diaporama_subtitle {
  color: white;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.particuliers_diaporama_cat {
  text-shadow: 1px 1px 2px rgba(119, 114, 114, 0.5);
  color: white;
  font-size: 0.75rem;
}

/* FICHES */
.entete_fiche{
  background-color: var(--color1);
  background-image: url('../../storage/assets/images/fond_header.png');
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  box-shadow: var(--shadow_medium) !important;
  padding: 0;
  font-size: 1.2em;
  height: 150px;
  display: flex;
  align-items: center;
}
.entete_fiche .logo_entete{
  margin-left: 15px;
}


/* FICHE PRODUIT */
.bloc_2{ 
  float: left; 
  width:50%;
  padding: 30px 5%;
}

/* FICHE PRODUIT : IMAGES CAROUSEL */
#fiche_produit_main_img {
  transition: opacity 0.3s ease;
  z-index: 1;
}
.fiche_produit_thumbs{
  width: 100%;
  margin-top: 0;
  text-align: center;
}
.fiche_produit_thumb {
  width: 20%;
  padding: 5px;
  aspect-ratio: 5/4;
  object-fit: contain;
  cursor: pointer;
}
.fiche_produit_thumb_flyer {
  object-fit: contain;
}
.fiche_produit_img_wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/4;
}
.fiche_produit_img_wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* object-position: top center; */
}
.fiche_produit_img_wrap .fiche_produit_img_next {
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.fiche_produit_img_wrap .fiche_produit_img_next, 
#fiche_produit_main_img {
  padding: 10px;
  background-color: white;
}

/* FICHE TECHNIQUE PRODUIT */
.fiche_produit_technique{  
  width:80%;
  margin-left: 0;
  margin-top:30px;
}

.cont_ligne_ic_title,
.ligne_need_particular{
  float: left;
  margin-top: 15px;
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  background: white;
}
.cont_ligne_ic_title span,
.ligne_need_particular span{
  float: left;
  margin-top: 10px;
  margin-left: 20px;
}
.cont_ligne_ic_title i,
.ligne_need_particular i{
  float: left;
  box-shadow: var(--shadow_medium);
  padding: 5px;
  margin: 5px 0 7px 10px;
  border-radius: 5px;
  background: var(--color2);
  color: white;
}
.cont_ligne_ic_title .hover:hover{
  box-shadow: var(--shadow_medium);
  cursor: pointer;
}
.ligne_need_particular i{
  background: var(--color3);
  color: black;
}

.fiche_produit_technique .dim_labels{  
  color: lightgrey;
  margin-left: 20px;
  font-size: 0.8em;
}

/* FICHE PRODUIT : SUR DEMANDE */
.cont_sur_demande{
  width: 80%;
  float: left;
  margin-top: 20px;
  margin-bottom: 15px;
  background: white;
  border-radius: 10px;
  padding: 10px;
}

/* FICHE PRODUIT : TARIFS */

.fiche_produit_cont_tarifs{
  float: left;
  width:100%;
  height: 350px;
  margin-top: 50px;
  background-image: url('../../storage/assets/images/enfants_sautent.png');
  background-size: 50%;
  background-position: top right;
  background-repeat: no-repeat;
  
}


.fiche_produit_cont_tarifs i{
  float: left;
  background: white;
  color: var(--color1);
  border-radius: 50%;
  padding: 5px;
  box-shadow: var(--shadow_medium);
  margin: 20px 0 7px 10px;
}

.fiche_produit_tarifs{
  float: left;
  width:250px;
  /* background: var(--color1);
  background: white; */
  color: black;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 10px;
  border-radius: 10px;
  margin: 15px 0;
}

.fiche_produit_tarifs:hover{
  cursor: pointer;
}

/* PROPOSITIONS PRODUITS ADDITIONNELS */
.additionnel_title{
  font-size: 1.2em;
  padding: 10px;
  text-align: center;
  margin-top: 10px;
  /* color: black; */
  text-transform: uppercase !important;
}
.additionnel_cont_produits{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:50px;
  padding: 20px;
  margin-bottom: 50px;
}

.additionnel_cont_produit{
  /* border:1px solid silver; */
  box-shadow: var(--shadow_small);
  cursor:pointer;
  display:flex;
  flex-direction:column;
  padding: 20px;
  /* border-radius: 10px; */
}
.additionnel_cont_produit:hover{
  box-shadow: var(--shadow_large);
  /* transform: translateY(-10px);
  transition: all 0.3s ease; */
}

.additionnel_cont_produit_title{
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase !important;
  margin-bottom: 15px;
  color: var(--color1);
}
.additionnel_cont_produit_cont_img{
  position:relative;
  width:100%;
  padding-top:75%;
  overflow:hidden;
  border-radius:4px;
  flex-shrink:0;
}

.additionnel_cont_produit_cont_img img{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:contain;
}


/* BTN FILTRAGE PRODUITS */
.btn_affichage_produits,
.btn_print_produits{
    font-size: 1.5em;
    padding: 10px;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
}
.btn_affichage_produits_active,
.btn_print_produits:hover{
    background: white;
    color: var(--color2);
}

/* TABLE */
  thead tr {
    border-bottom: 2px solid white;
  }
  thead th {
    font-weight: normal;
  }

  .table_produits th:first-child,
  .table_produits td:first-child {
      width: 90px;
      max-width: 90px;
  }
  .table_thumb{
    height: 55px;
    width: 70px;
    object-fit: contain;

  }
  .icon_table {
    color: silver;
    font-size: 20px;
  }
  .table_produits tbody tr:hover .icon_table {
    color: white;
  }
  

  /* Fil d'Ariane */
    .fil_ariane_entete a { text-decoration: none; }
    .fil_ariane_entete a:hover { text-decoration: underline; }
    .fil_ariane_sep { opacity: 0.7; margin: 0 0.25em; }
    .fil_ariane_actuel { font-weight: bold; cursor: default; }

    .menu_side .menu_cat_title {
        text-transform: uppercase;
        letter-spacing: 0.06em;
        font-size: 0.75rem;
        color: #6b7280;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }
    
    .menu_side .menu_cat_link,
    .menu_side .menu_sous_cat_link {
        display: block;
        text-decoration: none;
        color: inherit;
        padding: 0.4rem 0.5rem;
        margin: 0.1rem 0;
        border-radius: 6px;
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    
    .menu_side .menu_cat_link:hover,
    .menu_side .menu_sous_cat_link:hover {
        background-color: rgba(0, 0, 0, 0.04);
        text-decoration: none;
    }
    
    .menu_side .menu_cat_link.active,
    .menu_side .menu_sous_cat_link.active {
        background-color: var(--color2);
        color: white;
        font-weight: normal;
        cursor: default;
        text-decoration: none;
    }
    
    .menu_side .menu_sous_cat_wrap {
        border-left: 2px solid rgba(0, 0, 0, 0.08);
        padding-left: 0.75rem;
        margin-left: 0.25rem;
    }

    .menu_side .menu_sous_cat_collapsed {
        display: none;
    }    

/* EVENEMENTS */
.evenement_card {
  display: flex;
  flex-direction: column;
}
.evenement_titre {
  width: 100%;
  color: grey;
}
/* En ce moment / À venir : titre 100%, flyer 50% gauche, infos 50% droite */
.evenement_card.en_ce_moment .evenement_titre,
.evenement_card.a_venir .evenement_titre {
  margin-bottom: 15px;
  color: var(--color1);
}
.evenement_card.en_ce_moment .evenement_corps,
.evenement_card.a_venir .evenement_corps {
  margin-top: 8px;
  overflow: hidden;
}
.evenement_card.en_ce_moment .evenement_flyer_wrap,
.evenement_card.a_venir .evenement_flyer_wrap {
  float: left;
  width: 50%;
  box-sizing: border-box;
}
.evenement_card.en_ce_moment .evenement_infos,
.evenement_card.a_venir .evenement_infos {
  float: left;
  width: 50%;
  box-sizing: border-box;
}
.evenement_card.termine .evenement_date{
  color: grey;
  font-size: 0.9em;
}
.evenement_card.en_ce_moment .evenement_date,
.evenement_card.a_venir .evenement_date, 
.evenement_card.en_ce_moment .evenement_heure,
.evenement_card.a_venir .evenement_heure {
  color: black;
  font-size: 0.9em;
}
.evenement_card.en_ce_moment .evenement_flyer_img,
.evenement_card.a_venir .evenement_flyer_img {
  max-height: 280px;
  object-fit: contain;
}
/* Terminé : layout empilé (titre, date, status, flyer) */
.evenement_card.termine .evenement_corps {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.evenement_card.termine .evenement_infos { order: 1; }
.evenement_card.termine .evenement_flyer_wrap { order: 2; }
.evenement_card.termine .evenement_flyer_img {
  max-height: 350px;
  object-fit: contain;
  margin-top: 8px;
}
.evenement_status_termine{
  float: left;
  color: lightgrey;
  margin-top: 5px;
}
.evenement_status_en_ce_moment,
.evenement_status_a_venir{
  float: left;
  padding: 5px 10px 8px;
  border-radius: 5px;
  box-shadow: var(--shadow_medium);
  margin-top: 15px;
}
.evenement_status_en_ce_moment{
  background: var(--color3);
  color: black;
  margin-left: 5px;
}
.evenement_status_a_venir{
  background: var(--color2);
  color: white;
  margin-left: 5px;
}


.bloc_2 .evenement_status_en_ce_moment,
.bloc_2 .evenement_status_a_venir,
.bloc_2 .evenement_status_termine{
  float: right;
  border-radius: 0 5px 0 0;
  box-shadow: initial;
  margin: 0;
  width:150px;
  text-align: center;
  padding: 5px 10px 8px;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}

.bloc_2 .evenement_status_termine{
  background: lightgrey;
  color: black;
}

/* CONDITIONS LOCATION — blocs simples, titre avec bg, 2 colonnes (GALLERY_COLS_2) */
.conditions_location_wrap {
  margin: 10px 0 50px 0;
  text-align: center;
  gap: 30px;
  
}
.conditions_location_block {
  width: 80%;
  margin: 0 auto;
  font-size: 1.1em;
  /* background: #efeded; */
  overflow: hidden;
  border-radius: 5px;
  
}
.conditions_location_block .conditions_location_title {
  color: var(--color1);
  margin: 10px 0 0 0;
  /* min-width:250px; */
  font-size: 0.9em;
  
}
.conditions_location_block:nth-child(odd) .conditions_location_title {
  /* background: var(--color1); */
  /* float: left;
  text-align: left;
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  padding: 10px 30px 10px 15px; */
}

.conditions_location_block:nth-child(even) .conditions_location_title {
  /* background: var(--color2); */
  /* float: left;
  text-align: right;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
  padding: 10px 15px 10px 30px; */
}
.conditions_location_block:nth-child(4n+1) .conditions_location_title,
.conditions_location_block:nth-child(4n+4) .conditions_location_title {
  /* background: var(--color1); */
}
.conditions_location_block:nth-child(4n+2) .conditions_location_title,
.conditions_location_block:nth-child(4n+3) .conditions_location_title {
  /* background: var(--color2); */
}
.conditions_location_block .conditions_location_content {
  float: left;
  text-align: left;
  width: 100%;
  padding: 30px 15px;
  height: 100%;
  color: inherit;
  margin: 0;
  background: white;
  font-size: 0.9em;
}




/* Vignette teaser : même hauteur que les cartes, pas de flyer, plus étroite */
.evenements_en_cours_a_venir .gallery_item_card:last-child {
  max-width: 230px;
  justify-self: start;
  background: transparent;
  box-shadow: initial;
  border: 1px solid lightgrey
}
.evenement_teaser_card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  /* padding: 10px; */
  box-sizing: border-box;
}
.evenement_teaser_titre {
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  /* color: var(--color2); */
}
.evenement_teaser_desc {
  font-size: 0.85rem;
  margin:  15px 0 0 0;
  line-height: 1.4;
  /* text-align: center; */
}
.evenement_teaser_btn {
  display: inline-block;
  padding: 10px 10px;
  cursor: pointer;
  margin:  30px auto 0 auto;
  align-self: flex-start;
  background: var(--color3);
}


/* ====================
   Responsive
==================== */
@media (max-width: 1024px) {

  
  .menu_top,
  .entete_fiche{
    background-size: cover;
  }
  body.menu_mobile_open .btn_menu_principal,
  .cont_admin_session {
      display: none !important;
  }
  
  .layout_menu_top_hidden .cont_menu_principal {
      transform: translateY(+100px);
  }
  .btn_page,
  .btn_page_actif {
      width: 100%;
      justify-content: center;
  }
  .bloc_2{ 
    width:100%;
    padding: 5px 5%;
  }
  
    
  .fiche_produit_technique{  
    width:100%;
    margin-top:30px;
  }
  
  .cont_sur_demande{  
    width:100%;
    margin-top:30px;
    font-size: 1em;
  }
  
  .additionnel_cont_produits{
    grid-template-columns:repeat(1,1fr);
    gap:50px;
    padding: 20px;
    margin-bottom: 50px;
  }
     
  .evenements_en_cours_a_venir .gallery_item_card:last-child,
  .evenement_teaser_card {
    max-width: 100%;
    margin-top: 30px;
  }

}   
