/*
Theme Name: Twenty Twenty-Five Child
Description: Thème enfant de Twenty Twenty-Five
Author: Romain RODRIGUES
Template: twentytwentyfive
Version: 1.0
Text Domain: twentytwentyfive-child
*/

/* HERO SECTION UTILISE LA BANNIERE MAIS ALTERNATIVE SI BESOIN DESSOUS */
.hero-section-img {
    position: relative;
    width: 100%;
    height: 680px; /* hauteur à ajuster */
    background-image: 
        linear-gradient(to bottom, transparent, white),
        url("https://cfid-solutions.fr/wp-content/uploads/2025/08/HEADER.png");
    background-size: cover;
    background-position: center;
}

/* GESTION CARROUSSEL - REALISATIONS*/
.carousel-container {
  position: relative;
  width: 800px;
  max-width: 80%;
  margin: auto;
  overflow: hidden;
}
	
.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}

button.prev { left: 10px; }
button.next { right: 10px; }

/* Hotspots - point*/
.hotspot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgb(237,128,61);
  border-radius: 50%;
	border: 5px solid white;
  opacity: 1;
	cursor: pointer;
}

/* Tooltip */
.tooltip {
  visibility: hidden;
  width: 200px;
  background-color: white;
	border: 5px solid rgb(237,128,61);
  border-width: medium;
  text-align: center;
  padding: 5px;
  position: absolute; /* par rapport à l'image*/
  z-index: 1;
	/*POLICE*/
	font-family:manrope, sans-serif;
	font-size : 11px;
}

/*Positionnement selon position du hotspot*/
.bottom-left{bottom: 105%;left: 105%;}
.bottom-right{bottom: 105%;right: 105%;}
.top-right{top: 105%;right: 105%;}
.top-left{top: 105%;left: 105%;}

/* SURVOL */
.hotspot:hover .tooltip {
  visibility: visible;
}

/*TEXTE*/
.tooltip-title {
	display : block; /*sinon span = inline*/
	font-weight : bold;
	margin-bottom : 3px
}

/* Légende des images */
.caption {
  text-align: center;
	font-family:manrope, sans-serif;
  font-style: italic;
  font-size: 16px;
  color: #333;
  margin-top: 8px;
  transition: opacity 0.3s ease;
}

/* BOUTON - INPUT*/
	/* === Style global des boutons CFID Solutions === */
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  display: inline-block;
  padding: 12px 28px;
  border: 3px solid #ed803d; /* Orange du logo */
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  z-index: 1;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  color: #ffffff; /* Passe en blanc */
  background-color: #ed803d;
}