/* @override 
	https://gorelkine.com/KOLAB/MIXOLOGY/css/style.css 
	*/

@font-face {
    font-family:"TCCC-UnityText";
    src:url("../fonts/TCCC-UnityText-Light.woff2") format("woff2"),url("../fonts/TCCC-UnityText-Light.woff") format("woff"),url("../fonts/TCCC-UnityText-Light.ttf") format("truetype");
    font-style:normal;
    font-weight:300;
}
@font-face {
    font-family:"TCCC-UnityText";
    src:url("../fonts/TCCC-UnityText-Regular.woff2") format("woff2"),url("../fonts/TCCC-UnityText-Regular.woff") format("woff"),url("../fonts/TCCC-UnityText-Regular.ttf") format("truetype");
    font-style:normal;
    font-weight:400;
}
@font-face {
    font-family:"TCCC-UnityText";
    src:url("../fonts/TCCC-UnityText-Medium.woff2") format("woff2"),url("../fonts/TCCC-UnityText-Medium.woff") format("woff"),url("../fonts/TCCC-UnityText-Medium.ttf") format("truetype");
    font-style:normal;
    font-weight:500;
}
@font-face {
    font-family:"TCCC-UnityText";
    src:url("../fonts/TCCC-UnityText-Bold.woff2") format("woff2"),url("../fonts/TCCC-UnityText-Bold.woff") format("woff"),url("../fonts/TCCC-UnityText-Bold.ttf") format("truetype");
    font-style:normal;
    font-weight:700;
}
       

/* RESET */
html, body {
  margin: 0;
  }

* {
  margin: 0; 
  padding: 0;
  box-sizing: border-box;
  font-family: TCCC-UnityText, Arial, sans-serif!important;
}

.logo-top { 
	display: block;
	position: relative;
	width: 180px;
	margin: auto;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Centers content vertically */
  align-items: center;      /* Centers content horizontally */
  min-height: 100vh;
 background: #000 url('../images/background-min.jpg') no-repeat center center;
background-size: cover!important;
}

body.recipe {
background: #fff;
padding: 20px!important;
}

.recipe h1, .recipe h2, .recipe h3 {
	text-align: left;
	
}

.recipe .recipe-center h2 {
	padding-top: 30px;
	margin-top: 20px;
	border-top: 1px solid #000;
}

.recipe h1 {
	font-size: 32px;
}

.recipe h2 {
	text-transform: uppercase;
	font-size: 20px;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}

ol {
  list-style: none;
  counter-reset: steps;
}
ol li {
  counter-increment: steps;
  margin-bottom: 10px;
}
ol li::before {
  content: counter(steps);
  margin-right: 0.5rem;
  background: #000;
  color: white;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  line-height: 1.2em;
  font-weight: bold;
}
ol ol li::before {
  background: darkorchid;
}

.ingredients {
	background: rgba(0, 0, 0, 0.05);
	padding: 20px;
	border-radius: 15px;
	margin-top: 20px;
	margin-bottom: 30px;
}

.recipe-right h4 {
	text-transform: uppercase;
	font-size: 14px;
	max-width: 200px;
	margin: auto;
	margin-bottom: 10px;
}

.main {
 
  background-size: cover!important;
   height: 100vh;
   width: 100%;
   padding: 1rem;
   color: #fff;
}

h1, h2, h3 {
  margin-bottom: 0.5rem;
  text-align: center;
}



.main h1 {
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 1px;
}

/* ========== LAYOUT PRINCIPAL ========== */
.container {
  display: flex;
  max-width: 1600px;
  margin: 3rem auto;
  margin-top: 70px;
  gap: 2rem;
}


/* Colonnes Spirits et Mixers */

.spirits h2, .mixers h2, .cocktail-display h2 {
	text-transform: uppercase;
	font-weight: 400;
	font-style: normal;
	margin-bottom: 30px;
}
.cocktail-display h2 {
	font-weight: 700;
}

.spirits,
.mixers {
   display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;

  position: relative;
  width: 25%;
}



/* Container for Spirits and Mixers */
.spirit-list, .mixer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  justify-items: center;
   width: 100%;
}

/* Each grid item is square */
.spirit-item, .mixer-item {
  width: 100%!important;
  height: 100%!important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border-radius: 15px;
  text-align: center;
  padding: 10px;
  transition: all 0.2s ease-in 0s;
  max-width: ;
}

.spirit-item:hover, .mixer-item:hover {
cursor: pointer;
}

.spirit-item.selected, .mixer-item.selected {
  border-color: #fff;  /* Highlight color for the selected item */
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease-out 0s;
}

.spirit-item img, .mixer-item img {
  height: 100%;
  width: 100%;
  max-height: 180px;
  max-width: 180px;
  width: auto;
  margin: auto;
}

/* Display the selected name below the grid */
.selected-name {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
}

/* Zone centrale du cocktail */
.cocktail-display {
  flex: 2;
  border-radius: 15px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.cocktail-display img {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cocktail-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

#cocktail-desc {
  margin-bottom: 30px;
  font-weight: 300;
  font-size: 14px;
}

.recipe-button {
  background: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.75rem 2rem;
  border-radius: 100px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
  text-transform: uppercase;
}

.recipe-button:hover {
  background: #fff;
  color: #000;
}

/* ========== MODAL (Lightbox) ========== */
.modal-overlay {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 1400px;
  border-radius: 15px;
  padding: 1rem;
  position: relative;
}

.close-modal {
  background: url("../images/close.svg") no-repeat center center;
  background-size: contain; /* Ensures the SVG scales properly */
  border: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0;
}

/* L’iframe occupe toute la modal */
#recipe-iframe {
  width: 100%;
  height: 60vh;
  border: none;
}

.recipe-right img {
	width: 180px;
}

ul {
	padding-left: 25px;
}
ul li {
	margin-bottom: 10px;
}
ul.promotions {
	padding: 0;
	display: flex; 
}
ul.promotions li{
	list-style: none;
	padding: 20px;
	display: flex;
	flex-direction: column;
	background: #000;
	border-radius: 10px;
	margin-right: 10px;
	color: #fff;
	line-height: 1.4em;
	max-width: 330px;
	padding-right: 120px;
	position: relative;
	min-height: 110px;
	justify-content:center;
	line-height: 1.2em;
}
ul.promotions li:after {
	content: '';
	width: 70px;
	height: 70px;
	display: block;
	position: absolute;
	right: 20px;
	top: 20px;
	background: url('../images/qr-code-promo-blanc.svg') no-repeat left top;
	background-size: contain;
}

ul.promotions li b {
	font-size: 24px;
	margin-bottom: 4px;
	display: block;
}

/* === Styles spécifiques aux pages de recettes === */
.recipe-container { display: flex; gap: 5%; max-width: 1400px; margin: auto;  width: 100%!important; background: #fff; height: ;
}
    .recipe-left { flex: 0 0 20%; }
    .recipe-center { flex: 0 0 50%; }
    .recipe-right { flex: 0 0 15%; text-align: center; }

 .recipe-left img{
 		width: 100%;
 		border-radius: 15px;
 	}


@media (min-width: 769px) {
.spirits h2, .mixers h2, .cocktail-display h2 {

}
}

/* ========== RESPONSIVE ========== */
/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .spirits,
  .cocktail-display,
  .mixers {
    width: 100%;
    margin-bottom: 1rem;
  }
.recipe-container {
  display: block;
  }
  .recipe-columns {
    display: flex;
    flex-wrap: wrap;
  }

  .recipe-left,
  .recipe-center {
    flex: 0 0 50%; /* force deux colonnes côte à côte */
  }

  .recipe-right {
    flex: 0 0 100%; /* force une pleine largeur en dessous */
    margin-top: 1rem;
  }

  .spirit-list,
  .mixer-list {
    max-width: 400px;
    width: 80%;
  }

  #cocktail-desc {
    margin-bottom: 30px;
    font-size: 12px;
  }

  .cocktail-display img {
    margin-bottom: 30px;
  }

  .cocktail-title {
    margin-bottom: 10px;
  }
}


@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }
  .cocktail-title {
    font-size: 20px;
  }
  .recipe-button {
    padding: 12px 20px;
    font-size: 12px;
  }
  /* Adaptation de la modal pour les très petits écrans */
  #recipe-iframe {
    height: 60vh;
  }
   .recipe-container { 
   		display: block;

   }
   /* Each grid item is square */
.spirit-item, .mixer-item {
  max-width: 150px;
  max-height: 150px;
}
.recipe-right {
	display: none;
}
ul.promotions {
	display: block;
}
ul.promotions li {
	width: 100%;
	max-width: 100%;
}
}