@import url('https://fonts.googleapis.com/css2?family=Qwitcher+Grypen:wght@400;700&display=swap');



/********************************************
				Navigation
********************************************/
nav {
	width: 100%;
	background-color: #222;
	height: 60px;
	text-align: right;
}
nav ul {
	margin-right: 45px;
}
nav li {
	list-style-type: none;
	display: inline-block;
	padding: 20px;
}
nav a {
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	font-family: 'Anton', sans-serif;
	font-size: 19px;
	letter-spacing: 1px;
}
nav a:hover, .active {
	color: yellow;
	border-top: 4px solid orange;
	border-bottom: 4px solid orange;
}
nav input[type=checkbox], .nav-mobile {
	display: none;
}
nav input[type=checkbox]:checked ~ ul
 {
	display: block;
}


/********************************************
				Header Page D'accueil
********************************************/
header {
    background: #222;
    color: white;
    padding: 40px 20px;
}

header h1 span {
    color: #FFD700;
    font-family: 'Quitcher';
    border-bottom-right-radius: 6px;
}
header {
    background: #222;
    color: white;
    padding: 40px 20px;
}

h1 {
    font-size: 24px;
    font-weight: bold;
}
section {
  padding: 2rem;
  margin-bottom: 2rem;
  background-color: #f8f8f8;
  border-radius: 8px;
}
h2 {
  font-size: 1.8rem;
  color: #333;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}
#engagements li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
#infos span {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
}
.header-picture
{
  background-image: url(img/cct.jpg);
  height: 500px;
  padding: 1500;
  background-repeat: no-repeat;
 
}
/********************************************
				Caroussel
********************************************/
.swiper {
  width: 90%;
  padding: 20px 0;
  margin: auto;
}

.swiper-slide {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  height: auto;
}

.swiper-slide img {
  width: 100%;
  max-height: 200px; /* Ajustable selon la mise en page */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/********************************************
				Cookies
********************************************/

#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #222;
  color: #f3f0f0;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  z-index: 1000;
}

#cookie-banner button {
  margin: 0 10px;
  padding: 10px 20px;
  background: #fff;
  border: none;
  color: #222;
  cursor: pointer;
  border-radius: 5px;
}

#cookie-banner button:hover {
  background-color: #ffd700;
}

/**************************************
			Barbier
**************************************/
 section {
      background-color: whitesmoke;
      border: 1px solid black;
      border-radius: 5px;
      padding: 20px;
      max-width: 800px;
      margin: 50px auto;
    }

    .gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    .picture {
      width: 360px;
    }

.picture img {
  width: 100%;
  aspect-ratio: 4 / 3; /* largeur/hauteur */
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.picture {
  overflow: hidden;
  border-radius: 8px;
}

.picture img {
  width: 100%;
  height: 350px; /* ou ajustable selon ton layout */
  object-fit: cover;
  transition: transform 0.4s ease;
}

.picture:hover img {
  transform: scale(1.1);
}
/* Image normale */
.picture img {
  cursor: pointer;
}

/* Modal */
#image-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

#image-modal img {
  margin: 50px auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

#close-modal {
  position: absolute;
  top: 25px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
/**************************************
			Services
**************************************/



section {
    margin: 40px auto;
    padding: 60px;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    border-radius: 10px;
}

h2 {
    color: #222;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 10px;
    font-size: 18px;
}

p span {
    font-weight: bold;
}


body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/**************************************
			Compte RDV
**************************************/

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    font-weight: bold;
    margin-top: 10px;
}

input {
    padding: 10px;
    margin: 5px 0;
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #999292;
    color: white;
    padding: 10px 20px;
    border: none;
    margin-top: 485px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #444;
}



/**************************************
			Compte inscription
**************************************/

#signup-form {
  width: 90%;
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  padding: 75px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

form label {
  display: block;
  text-align: left;
  margin-top: 15px;
  font-weight: bold;
}

form input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  margin-top: 90px;
  padding: 12px 20px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

form button:hover {
  background-color: #444;
}
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.password-wrapper i {
  position: absolute;
  right: 10px;
  cursor: pointer;
  color: #666;
  font-size: 18px;
}


	/************************************
					Footer
	************************************/

footer {
    background-color: #000;
    padding: 40px;
    text-align: center;
    letter-spacing: 1px;
    color: #fff;
}

footer h3 {
    text-transform: uppercase;
    font-size: 35px;
    font-family: 'Quitcher';
    margin-bottom: 10px;
}

footer p {
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: right;
    gap: 15px;
   
}

.social-links a {
    color: #f9f8f8;
    text-decoration: none;
    font-size: 18px;
    display: flex;
   align-items: center;

}

.social-links i {
    margin-right: 8px;
    font-size: 22px;
}

/**************************************
			média Query 1 
**************************************/			
		@media screen and (max-width: 1200px) {
	/******* HEADER *******/
	header {
	
	width: 100%;
	height: 600px;
	line-height: 300px;
	text-align: center;
	background-image: url(img/cct.jpg);

	transition: 0.5s;
}	
	header h2 {
		font-size: 25px;
	
		color: #fff;
		}
		
	/******* NAV *******/

	nav {
		text-align: center;
		}
		nav ul {
		display: none;	
		}
		.nav-mobile {
		display: block;
		color: #fff;
		font-size: 40px;
		cursor: pointer;
		}
		nav li {
		background-color: #0a018b;
		width: 100%;
		border-bottom: 1px solid #000;
		position: relative;
		box-shadow: 5px 5px 10px #000;
		}
		nav li:hover {
		background-color: #01d2fc;
		transition: background-color 3s;
		}
	}
/**************************************
			média Query 2 
**************************************/			

  @media screen and (max-width: 768px) {
  header h1 {
    font-size: 20px;
  }

  nav a {
    font-size: 16px;
    padding: 10px;
  }

  section {
    padding: 20px;
  }

  .picture img {
    height: auto;
  }
}