/* @override 
	https://gorelkine.com/KOLAB/MEALS/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;
}
        
        
        .right-column .initiative .plus-icon {
			display: none!important;
			}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: TCCC-UnityText, Arial, sans-serif;
  background: #000;
  overflow: hidden;
}

img#static-logo {
	max-width: 220px;
	width: 100%;
}
/* Écran d'intro */
#intro-screen {
  position: relative;
  width: 100%;
  height: 100vh;
}
#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#touch-message {
  position: absolute;
  bottom: 13%;
  left: 50%;
  transform: translate(-50%, -50%)!important;
  background: #CD0E18;
  color: #fff;
  padding: 1rem 3rem;
  font-size: 22px;
  border-radius: 8px;
  cursor: pointer;
  border-radius: 100px;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
   transform: scale(1);
   animation: pulse 1.5s infinite ease-out;
  text-align: center;
  max-width: 450px;
  min-width: 450px;
}

#touch-message:hover {
	background: #fff;
	color: #CD0E18;
	
}


@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0px 0 rgba(255, 255, 255, 0.5);
    }

    50% {
        transform: scale(1);
        box-shadow: 0 0 10px 40px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0px 0 rgba(255, 255, 255, 0);
    }
}

/* Masquer les éléments par défaut */
.hidden {
  display: none !important;
}

/* Écran scan (fond ecran-01) */
#screen-scan {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000 url('../images/background-min.jpg') no-repeat left top;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#lottie-container {
  position: fixed;
  width: 100%;
  height: 100%;
  margin-bottom: 20px;
  z-index: 0;
}

/* Wave animation container styling */
#lottie-wave {
  position: fixed;
  top: 3%;
  left: 0;
  width: 100%;  /* Full width */
  height: 30vh;  /* Adjust as needed */
  z-index: 0;    /* Behind other content */
  pointer-events: none; /* So it doesn't block interactions */
  opacity: 0.3;  /* Adjust transparency as needed */
}

#scan-logo {
z-index: 1;
width: 200px;
position: absolute;
top: 40px;
}

#qr-code-icon {
	width: 70px;
	margin-bottom: 20px;
}

.scan-text-block {
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  z-index: 1;
  font-weight: 500;
  margin-bottom: 30px;
   cursor: pointer;
}

.scan-text-block p {
	font-size: 20px!important;
	width: 200px;
}

.scan-text-block p {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.or-line {
  font-weight: bold;
  margin: 0.5rem 0;
}

/* Écran offres : fond en dégradé */
#screen-offers {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000 url('../images/background-min.jpg') no-repeat left top;
  background-size: cover;
  padding: 30px;
  padding-right: 20px;
  padding-bottom: 0px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
#screen-offers header {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  height: calc(10vh - 30px);
  margin-bottom: 5vh;
  z-index: 0;
}
#dynamic-logo {
  height: 50px;
  width: auto;
  margin-right: 1rem;
}
#dynamic-user {
  font-size: 1.5rem;
  color: #fff;
  position: absolute;
  right: 50px;
  text-align: right;
  white-space: pre-line;
}



/* Titres des blocs avec trait */
.offer-title-container h3, .initiative-title-container h3{
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}
.offer-title-container p, .initiative-title-container p {
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  position: relative;
  text-align: left;
}
.initiative-title-container p {
  font-size: 12px;
  font-weight: 300;
  padding-right: 40px;
}


#offer-title {
	margin-bottom: 5px;
}
#offer-subtitle {
	margin-bottom: 20px;
}

#qr-code-title {
	font-size: 16px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

/* Grille des offres sur desktop */
/* 1 bloc en portrait et 2 en paysage, chaque bloc limité à 20vw */
.offers {
 width: 100%;
 max-width: 1920px;
 height: 100%;
 text-align: center;
margin: auto;
position: relative;
}

.offer {
	margin-bottom: 30px;
	background: #fff;
	border-radius: 15px;
}

 .offer img { 
 	max-width: 100%; 
 	border-top-left-radius: 15px; 
 	border-top-right-radius: 15px; 

 }


.offer .offer-title-container, .initiative .initiative-title-container {
padding: 20px;
padding-top: 15px;
line-height: 1.2em;
}



/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  background: #fff;
  color: #000;
  padding: 20px;
  max-width: 1300px;
  width: 90%;
  text-align: center;
  border-radius: 20px;
}
#product-lightbox-content {
	background: #ededed;
	padding-top: 50px;
}
#lightbox-content {
  max-width: 600px;
}

/* Optional: Style for the close button */

/* Close button styled with background image */
.close-lightbox {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  background-image: url("../images/close.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


#offer-image {
  width: 100%;

  margin-bottom: 20px;
}
#store-plan {
  width: 24%;
  margin: 0.5%;
  margin-bottom: 20px;
}
#store-3d {
  width: 35%;
  margin: 0.5%;
  margin-bottom: 20px;
}
#offer-image, #store-plan, #store-3d  {
	border-radius: 10px;
}
#qr-or-link {
  margin-top: 1rem;
  font-size: 1.2rem;
}
#qr-or-link img {
	width: 180px;
}




/* --- New Three-Column Layout for Offers Screen --- */
.columns {
  display: flex;
  height: calc(85vh); /* Adjust based on your header and title height */
  gap: 40px;
 z-index: 0;
}

.column-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.column-title {
  text-align: center;
  margin: 0;
  padding-bottom: 30px;
  /* Option 1: If you want the title to stick to the top of its column */
  position: sticky;
  top: 0;
  z-index: 1;
  text-transform: uppercase;
  color: #fff;
  font-size: 28px;
  padding-right: 30px;
}
.scrollable {
  overflow-y: auto;
  /* Set a fixed height or use flex-grow for the scrollable area */
  /* For example: */
  height: calc(100vh - 50px); /* Adjust 50px as needed to account for header height */
}

.left-column, .center-column, .right-column {
  flex: 1; /* each takes roughly 33% */
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
  position: relative;
}

/* WebKit browsers */
#lightbox-content::-webkit-scrollbar {
  width: 8px;
}

#lightbox-content::-webkit-scrollbar-track {
  background: transparent!important; /* Hide the track */
   border-radius: 4px;
}

#lightbox-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);   /* Make the thumb red */
  border-radius: 4px;
}

/* WebKit browsers */
iframe::-webkit-scrollbar {
  width: 8px;
}

iframe::-webkit-scrollbar-track {
  background: transparent!important; /* Hide the track */
   border-radius: 4px;
}

iframe::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);   /* Make the thumb red */
  border-radius: 4px;
}

/* WebKit browsers */
.left-column::-webkit-scrollbar, .center-column::-webkit-scrollbar, .right-column::-webkit-scrollbar {
  width: 8px;
}

.left-column::-webkit-scrollbar-track, .center-column::-webkit-scrollbar-track, .right-column::-webkit-scrollbar-track {
  background: transparent!important; /* Hide the track */
}

.left-column::-webkit-scrollbar-thumb, .center-column::-webkit-scrollbar-thumb, .right-column::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.5);   /* Make the thumb red */
  border-radius: 4px;
}


/* Center Column: Products Grid */
.center-column #products-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.center-column .product {
  background: rgba(255,255,255,1);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.center-column .product img{
  transform: scale(0.8);
  transition: all 0.3s ease-out 0s;
}
.center-column .product:hover img{
  transform: scale(0.85);
  transition: all 0.3s ease-in-out 0s;
}

.center-column .product img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 5px;
}

/* Right Column: Initiatives */
.right-column .initiative {
  background: rgba(255,255,255,1);
  border-radius: 15px;
  margin-bottom: 30px;
  position: relative;
  text-align: center;
}

.right-column .initiative img {
  width: 100%;
 	border-top-left-radius: 15px; 
 	border-top-right-radius: 15px; 
}

.right-column .initiative .plus-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 100px;
  background: #000;
  color: #fff;
  background: #000 url('../images/link-arrow.svg') no-repeat center center;
  background-size: 12px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.right-column .initiative .plus-icon:hover {
	background: #CD0E18 url('../images/link-arrow.svg') no-repeat center center;
	background-size: 12px;
}


/* Responsive : sur smartphone, empiler les blocs */
@media (max-width: 1024px) {
  .offers {
    display: flex;
	flex-direction: column;
    text-align: center;
	width: 100%;
  }


.center-column #products-container{
  display: grid;
  grid-template-columns: 1fr!important;
  gap: 20px;
  margin-bottom: 30px;
}
.columns {
  gap: 20px!important;
}

 #dynamic-user {
 		right: 30px;
 }
 .offer {
 		max-height: inherit!important;
	}

	#screen-offers header {
		padding-left: 0;
	}
	#screen-offers header {
		padding: 0;
		margin-bottom: 50px;
	}
	.column-title {
  font-size: 22px;
}
.offer-title-container h3, .initiative-title-container h3{
  font-size: 1.1rem;
  font-weight: bold;
  text-align: left;
  margin-bottom: 10px;
}
.offer-title-container p{
  font-size: 0.9rem;
}
}


/* Responsive: Stack columns vertically on small screens */
@media (max-width: 768px) {
  
  
  	.column-title {
  font-size: 24px;
  position: relative;
  padding-right: 0;
}
  
    #touch-message { font-size:18px; width: 80%;  min-width: inherit;
  }
  #dynamic-user { font-size: 1.2rem; }
  #offer-image, #store-plan { max-width: 100%; margin: 0; margin-bottom: 20px;
  }

	#lightbox-content {
  position: relative;
  background: #fff;
  color: #000;
  padding: 2rem;
  max-width: 800px;
  width: 90%;
  text-align: center;
  border-radius: 20px;
  max-height: 90vh;       /* Maximum height relative to viewport */
  overflow-y: auto;       /* Enable vertical scrolling if needed */
}





/* Firefox */
#lightbox-content {
  scrollbar-width: thin;
  scrollbar-color: red transparent;
  padding: 15px;
  max-width: 100%!important;
  width: 100%;
}
#offer-title {

	font-size: 22px;
	line-height: 1em;
	padding-top: 10px;
}


#offer-image, #store-plan, #store-3d  {
  width: 100%;
  margin: 0;
  margin-bottom: 12px;
}
#offer-image {
	margin: 0;
}

  .columns {
    flex-direction: column;
    height: auto;
	display: block;
  }
  .left-column, .center-column, .right-column {
    width: 100%;
    height: auto;
	padding: 0;
  }
  .center-column {
    display: block;
  }
 
  .center-column #products-container{
  	display: grid;
  	grid-template-columns: 1fr 1fr!important;
  	gap: 20px;
  	margin-bottom: 30px;
	}
	.offer-title-container h3, .initiative-title-container h3{
  font-size: 1rem;
		margin-bottom: 5px;
}
.offer-title-container p, .initiative-title-container p {
  font-size: 0.8rem;
}
.initiative-title-container p {
	font-size: 13px;
}

.offer .offer-title-container, .initiative .initiative-title-container {
padding: 20px;
padding-top: 10px;
line-height: 1.1em;
}
.left-column {
	margin-bottom: 40px;
}
.center-column {
	margin-bottom: 40px;
}
.right-column .initiative img,  .offer img  {
margin-bottom: 5px;
}
}


@media (max-width: 480px) {
  #touch-message {
  	font-size: 16px;
  	padding: 20px;
  }
 	#dynamic-logo {
 			max-width: 45%;
 		}
 	#lottie-container {
  width: 140%;
  height: 140%;
}	

.close-lightbox {
  position: absolute;
  top: 15px;
  right: 15px;
}
#offer-title {
	padding: 0 20px;
}

  .center-column #products-container{
  	display: grid;
  	grid-template-columns: 1fr!important;
  	gap: 20px;
  	margin-bottom: 30px;
	}
	.offer, .initiative {
	margin-bottom: 20px!important;
}
.lightbox-content {
  width: 100%;
}
}

