/*  Theme Name:   Ouchy 2025 
Description:  Theme created especially for Ouchy
Author:       Simon Martinenq  
Template:     blocksy  
Version:      0.1.0 */

:root {
  --bg: #f3f1e8;
  --primary-green: #768652;
  --angle-left: -22deg;
  /* angle bouteille gauche & chanfrein */
  --angle-right: 18deg;
  /* angle bouteille droite & chanfrein */
  --max-bottle: 420px;
  /* taille max des bouteilles */
}

body {
  font-family: 'FreightTextProMedium', serif !important;
}

p {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 2rem) !important;
  line-height: 1.7;
  font-family: 'FreightTextProMedium', serif !important;
}

h1,
h2,
h3,
h4 {
  color: var(--primary-green);
  font-family: 'IvyPrestoHeadlineThin' !important;
  font-weight: normal !important;
  font-style: normal !important;
}

h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 4rem) !important;
  line-height: clamp(1.5rem, 4vw, 3.5rem) !important
}

h2 {
  font-size: clamp(1rem, 3vw + 1rem, 3rem) !important;
  /* line-height: clamp(1.5rem, 4vw, 3.5rem) !important */
}



.headline-emphasis {
  font-family: 'Playfair Display', serif!important;
  font-weight: 700!important;
  font-style: italic!important;
}


.FreightTextProBook {
  font-family: 'FreightTextProBook', serif !important;

}

.FreightTextProBookItalic {
  font-family: 'FreightTextProBookItalic', serif !important;

}

.IvyOraDisplayMedium {
  font-family: 'IvyOraDisplayMedium', serif !important;

}

.red-header {
  color: #940202 !important;
}

.red-header a {
  color: #940202 !important;
}

#header-menu-1 .menu > li:last-child > a {
    color: #940202 !important;
}

.menu-sticky {
  position: fixed;
  width: 100%;
  z-index: 100;
}

.flower-background {
  background-image: linear-gradient(rgba(255, 255, 255, 0.89), rgba(255, 255, 255, 0.89)), url(https://restaurant-croix-d-ouchy.ch/wp-content/uploads/2026/07/fond-recadre.png);
  border-radius: clamp(60px, 10vw, 100px) clamp(60px, 10vw, 100px) 0 0;
}

.w-full {
  width: 100%;
}


.capitalise {
  text-transform: uppercase;
}

.line-h-normal {
  line-height: normal !important;
}

.margin-none {
  margin: 0 !important;
}



@media (max-width: 900px) {
  .do-not-display-on-mobile {
    display: none !important;
  }

  .flex-col-sm {
    flex-direction: column !important;
  }
}

.w-4_5 {
  width: 80%;
}

/* ---------- Section ---------- */
.section-vins {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(60px, 7vw, 120px) 0;
  overflow: hidden;
}

/* ---------- Titres ---------- */
.section-vins .hero-left {
  position: absolute;
  top: clamp(24px, 4vw, 60px);
  left: clamp(16px, 6vw, 100px);
  margin: 0;
  color: var(--primary-green);
  line-height: .95;
}

.section-vins .hero-left .l1 {
  font-weight: 300;
  font-size: clamp(28px, 6vw, 80px);
}

.section-vins .hero-left .l2 {
  display: block;
  font-weight: 700;
  font-size: clamp(56px, 11vw, 150px);
}

.section-vins .hero-right {
  position: absolute;
  right: 20vw;
  bottom: 10%;
  margin: 0;
  text-align: right;

  color: var(--primary-green);
  line-height: .9;
}

.section-vins .hero-right .l1 {
  font-weight: 300;
  font-size: clamp(28px, 4vw, 52px);
}

.section-vins .hero-right .l2 {
  display: block;
  font-weight: 700;
  font-size: clamp(56px, 15vw, 190px);
}

/* ---------- Bouteilles au centre ---------- */
.section-vins .bottles {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Bouteilles : chevauchement et profondeur */
.section-vins .bottle {
  width: 18vw;
  position: relative;
  transform-origin: 50% 80%;
  transition: transform .3s ease;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .25));
}

/* Bouteille gauche - au premier plan */
.section-vins .bottle-left {
  transform: translateX(-50%) rotate(29deg);
  z-index: 3;
}

/* Bouteille droite - un peu en arrière et décalée vers la gauche */
.section-vins .bottle-right {
  transform: translate(0, -15%) rotate(29deg);
  margin-left: -10%;
  /* chevauchement */
  z-index: 2;
}

/* effet de survol léger */
/*.section-vins .bottle:hover{
  transform: scale(1.05) rotate(var(--angle-left));
}*/

/* ---------- Cartouches latérales ---------- */

.section-vins .card-container {
  --w: 34vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--w);
}

.section-vins .card {
  background: var(--primary-green);
  color: #fff !important;
  padding: clamp(16px, 2.2vw, 28px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

.section-vins .card h4 {
  margin: 0 0 .35em 0;
  letter-spacing: .3px;
  font-family: 'PTR4', serif !important;
  font-weight: bold !important;
  font-style: italic !important;
}

.section-vins .card p {
  margin: 0;
}

.section-vins .card-container-left {
  left: 0px;
}

/* Gauche : bord intérieur biseauté suivant l’angle de la bouteille gauche */
.section-vins .card-left {
  text-align: left;
  padding-right: 8vw;
  /* biseau côté droit */
  clip-path: polygon(0 0,
      100% 0,
      calc(100% - 100px) 100%,
      0 100%);
}

.section-vins .card-container-right {
  right: 0px;
}

/* Droite : bord intérieur biseauté suivant l’angle de la bouteille droite */
.section-vins .card-right {
  text-align: right;
  padding-left: 8vw;
  /* biseau côté gauche */
  clip-path: polygon(110px 0,
      100% 0,
      100% 100%,
      40px 100%,
      0 100%);
}


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

  .section-vins .bottles {
    flex-direction: column;
  }

  .section-vins .bottle {
    width: 30vw;
  }



  .section-vins .card-container {
    --w: 62vw;
  }

  .section-vins .card-container-left {
    top: 30%;
  }

  .section-vins .card-container-right {
    transform: translateY(35%);
  }

  .section-vins .bottle-left {
    transform: translateX(100%);
  }

  .section-vins .bottle-right {
    transform: translate(-90%, -20%);
  }
}

.hero-bottle-right {
  display: block;
  margin-left: auto;
  margin-right: 0;
  transform: translateY(-15%);
}

.hero-bottle-left {
  display: block;
  margin-left: 0;
  margin-right: auto;
  transform: translateY(10%);

}




/* --Bottles menu page-- */
/*.bottle-menu {
  width: clamp(500px, 50vw, 830px);
  margin: 0px -100px !important;
}

.container-bottle-menu {
  margin-right: -10vw !important;
  margin-left: -10vw !important;
}*/



.title-container {
  color: var(--primary-green);
  display: flex;
  flex-direction: column;
  max-width: 50vw;
  margin: 50px auto;
  align-items: center;
  line-height: 50px;
}

.part-les {
  font-size: 40px;
  margin-left: 175px;
  font-family: 'IvyPrestoHeadlineThin' !important;
  font-weight: normal !important;
  font-style: normal !important;
}

.part-tresors {
  font-size: 110px;
  margin-left: 0.5em;
  font-family: 'PTR4', serif !important;
  font-weight: bold;
  font-style: italic;
}

.part-de-notre {
  font-size: 40px;
  margin-right: 210px;
  flex-basis: 0;
  font-family: 'IvyPrestoHeadlineThin' !important;
  font-weight: normal !important;
  font-style: normal !important;
}

.part-cave {
  font-size: 110px;
  font-family: 'PTR4', serif !important;
  font-weight: bold;
  font-style: italic;
  margin-left: 1.5em;
}



/* ------ APPARTITION DIV AU SCROLL ------ */

/* État initial (invisible, décalé vers le bas) */
.show_on_scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* État visible (animation vers le haut) */
.show_on_scroll.visible {
  opacity: 1;
  transform: translateY(0);
}



/* === Lien stylisé réutilisable === */
/* use class reverse to reverse order */
/* 
<a href="#" class="custom-link">
  <span class="link-text">En savoir plus</span>
  <span class="link-line"></span>
  <span class="link-icon">+</span>
</a>

<!-- variante verticale  -->
<a href="#" class="custom-link vertical">
  <span class="link-text">En savoir plus</span>
  <div class="link-bottom">
  <span class="link-icon">+</span>
  <span class="link-line"></span>
  </div>
</a>
 */
/* === STYLE DE BASE DU LIEN === */
.custom-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary-green, #000);
  transition: color 0.3s ease;
  font-family: "FreightTextProBook" !important;
  font-size: clamp(12px, 1.5vw, 26px);

}

.custom-link:hover {
  color: var(--accent-hover-color, #940202);
}

/* Éléments de la version horizontale */
.custom-link .link-text {
  order: 1;
}

.custom-link .link-line {
  flex: 1;
  height: 2px;
  background-color: currentColor;
  order: 2;
  min-width: 50px;
}

.custom-link .link-icon {
  font-size: 1.2em;
  font-weight: 700;
  order: 3;
}

/* Variante inverse : ligne à gauche, texte à droite */
.custom-link.reverse .link-text {
  order: 3;
}

.custom-link.reverse .link-line {
  order: 2;
}

.custom-link.reverse .link-icon {
  order: 1;
}

/* === NOUVELLE VARIANTE VERTICALE === */
.custom-link.vertical {
  flex-direction: column;
  align-items: flex-start;
  /* ou center si tu veux centré */
  gap: 0;
  line-height: normal;
}

.custom-link.vertical .link-text {
  order: 1;
}

.custom-link.vertical .link-bottom {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
}

.custom-link.vertical .link-line {
  flex: 1;
  height: 2px;
  background-color: currentColor;
  order: 2;
}

.custom-link.vertical .link-icon {
  order: 1;
  font-size: 1.2em;
  font-weight: 700;
}


/* ---------- LINE & PLUS ---------- */

/* <div class="line-plus">
  <span class="plus-icon">+</span>
  <span class="line"></span>
</div> */

/* === Ligne avec + à gauche === */
.line-plus {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-green, #000);
  min-width: 10%;
}

.line-plus .plus-icon {
  font-size: 1.2em;
  font-weight: 700;
  flex-shrink: 0;
}

.line-plus .line {
  flex: 1;
  height: 2px;
  background-color: currentColor;
}

@media (max-width: 700px) {
  .line-plus {
    min-width: 50%;
  }
}

#custom-map {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#custom-map .leaflet-container {
  background: #f0f0f0;
}

/* Optionnel : effet border ou ombre */
#custom-map {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.mon-annonce-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.mon-annonce-overlay.hidden {
    display: none;
}

.mon-annonce-modal {
    position: relative;
    background: #778752;
    color: #fff;
    max-width: 700px;
    width: calc(100% - 40px);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.mon-annonce-modal a {
    color: inherit;
    text-decoration: underline;
}

.mon-annonce-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.bandeau-contenu p {
    margin: 0;
}