body,h1,h5 { font-family: "Raleway", sans-serif }
body, html { height: 100% }
.bgimg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.4)), url("../img/bckgrd.jpg");
  min-height: 100%;
  background-position: center;
  background-size: cover;
}

.bottega {
	/* Taille fluide avec clamp() pour une transition douce */
	width: clamp(200px, 50vw, 600px);
	height: auto;
	
	/* Centrage de l'image */
	display: block;
	margin: 0 auto;
	
	/* Transitions fluides */
	filter: grayscale(0%);
	transition: filter 0.7s ease, width 0.3s ease;
	
	/* Assure que l'image ne déborde jamais */
	max-width: 95vw;
}

.bottega:hover {
	cursor: pointer;
	filter: grayscale(100%);
}

/*******************************************************************************************************************************************/

/* Progress Bar */
#progressBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #009246, #fff, #ce2b37);
  z-index: 9999;
  transition: width 0.1s ease, opacity 0.3s ease;
  opacity: 1;
}

#progressBar.hidden {
  opacity: 0;
}

/* Menu Toggle Button */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 1);
}

/* Hamburger Icon Animation */
.hamburger-icon {
  width: 25px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animation vers X quand le menu est actif */
.menu-toggle.active .hamburger-icon span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active .hamburger-icon span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Slider Menu */
.slider-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  transition: right 0.4s ease;
  padding-top: 80px;
}

.slider-menu.active {
  right: 0;
}

.slider-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slider-menu ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-menu ul li a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 20px 30px;
  font-size: 18px;
  font-family: 'Raleway', sans-serif;
  transition: all 0.3s ease;
}

.slider-menu ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  padding-left: 40px;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.menu-overlay.active {
  display: block;
}

/* Sections */
section {
  min-height: 100vh;
  padding: 0;
  scroll-margin-top: 0;
}

#accueil {
  padding: 0;
  min-height: 100vh;
}

#apropos {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("https://images.unsplash.com/photo-1533777857889-4be7c70b33f7?w=1600");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#apropos .section-title,
#apropos h3,
#apropos p {
  color: white;
}

@media (max-width: 768px) {
  #apropos .section-content > div > div {
    grid-template-columns: 1fr !important;
  }
}

#newsletter-section {
  /*background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("https://images.unsplash.com/photo-1554118811-1e0d58224f24?w=1600");*/
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("../img/Overview.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#newsletter-section .section-title {
  color: white;
}

#contact-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("https://images.unsplash.com/photo-1534536281715-e28d76689b4d?w=1600");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#contact-section .section-title {
  color: white;
}

#horaires {
  /*background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=1600");*/
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("../img/Planche_Large.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#horaires .section-title,
#horaires h3,
#horaires p {
  color: white;
}

#horaires .horaire-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

#horaires .horaire-item h3 {
  margin-top: 0;
  color: #009246;
  text-align:center;
}

#horaires .horaire-item p {
  color: #333;
  text-align:center;
}

#services {
  /* background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url("https://images.unsplash.com/photo-1498837167922-ddd27525d352?w=1600"); */
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url("../img/bckgrd.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#services .section-title,
#services h3,
#services p {
  color: white;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 75px 20px 40px; /* ex 100px */
}

.section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  font-family: 'Raleway', sans-serif;
  text-align: center;
  color: #333;
}

/* Horaires styling */
.horaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.horaire-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.horaire-item h3 {
  margin-top: 0;
  color: #009246;
}

/* Footer */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-family: 'Raleway', sans-serif;
}

footer .copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  flex-wrap: wrap;
}

footer .copyright a {
  color: white;
  text-decoration: none;
}

footer .copyright a:hover {
  text-decoration: underline;
}

footer .copyright-symbol {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .slider-menu {
    width: 250px;
    right: -250px;
  }
  
  .section-title {
    font-size: 2em;
  }
}

/*******************************************************************************************************************************************/

.lettrine {
	font-family: 'Mouse Memoirs', Arial, 'Arial Unicode MS', Helvetica, Sans-Serif; 
	float:left; 
	padding:2px; 
	margin: 1px 5px 0px 0px; 
	/*background: #fff url(images/croqueavatarclair.png) no-repeat center center; */
	color: #009246;
	text-shadow:1px 2px 4px #000; 
	font-size:80px; 
	line-height: 1em 
}

/*******************************************************************************************************************************************/

/* Media queries pour ajustements fins si nécessaire */
@media screen and (max-width: 1024px) {
	.bottega {
		width: clamp(250px, 60vw, 500px);
	}
}

@media screen and (max-width: 768px) {
	.bottega {
		width: clamp(250px, 75vw, 400px);
	}
}

@media screen and (max-width: 480px) {
	.bottega {
		width: clamp(200px, 85vw, 300px);
		max-width: 90vw;
	}
}

.w3-display-middle {
	text-align:	center;
}