img {
  width: 100%;
  height: auto;
  display: block;
}

html {
  scroll-behavior: smooth;
}

* {
  scroll-margin-top: 130px;
}

body {
  margin: 0;
  font-family: century-gothic, sans-serif;
  background: url('../images/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  padding-top: 110px;
}

/* Décalage des ancres pour éviter qu'elles passent sous le header */
section {
  scroll-margin-top: 130px; /* ajuste si ton header change de taille */
}


header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
}

.logo {
  height: 60px;
  width: auto;
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeLogo 1s ease forwards;
  transition: transform 0.4s ease;
}

.logo:hover {
  transform: scale(1.05);
}

@keyframes fadeLogo {
  to {
	opacity: 1;
	transform: translateY(0);
  }
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  font-family: 'Julius Sans One', sans-serif;
  font-size: 1.1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #baafab;
  transition: 0.3s;
}

@media (max-width: 800px) {
  nav {
	position: absolute;
	top: 80px;
	right: 0;
	background: rgba(255,255,255,0.95);
	flex-direction: column;
	width: 200px;
	padding: 20px;
	display: none;
	box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }

  nav.open {
	display: flex;
  }

  .hamburger {
	display: flex;
  }
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.9);
}

h1 {
  font-family: 'Julius Sans One', sans-serif;
  color: #eeac9e;
  margin-top: 50px;
  margin-bottom: 10px;
  text-align: center;
}

h2 {
  font-family: 'Julius Sans One', sans-serif;
  color: #eeac9e;
  margin-top: 50px;
  margin-bottom: 10px;
}

a {
  color: #eeac9e;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

a:hover {
  color: #baafab;
}

p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.6;
}

.intro p {
  text-align: center;
  line-height: 2;
  font-size: 0.9rem;
  color: #888;
}

section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form, .social-links {
  text-align: center;
  margin: 30px 0;
}

.social-links a {
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  color: #baafab;
  font-size: 1.2rem;
}

.instagram-feed {
  margin-top: 40px;
}

.elfsight-app {
  margin: auto;
  max-width: 100%;
}

footer {
  margin-top: 60px;
  background-color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #baafab;
  border-top: 2px solid #eeac9e33;
}