

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f8f8f8;
  color: #1a1a1a;
}

 header {
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
}
.card {
  text-align: center;
  
}

.logo {
  font-size: 28px;
  font-weight: 600;
}

.logo span {
  color: #b89b5e;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
nav a:hover {
  color: #b89b5e; 
}
.hero {
 background: url('Photo/etage25.jpg') center/cover;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;


.search-box {
  margin-top: 20px;
}

.search-box input, .search-box button {
  padding: 12px;
  border: none;
  margin: 5px;
}

.search-box button {
  background: #b89b5e;
  color: white;
  cursor: pointer;
}

.scroll-container {
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
}

.scroll-text {
  white-space: nowrap;
  font-weight: 600;
  font-size: 22px;
  animation: move 4s ease-in-out infinite alternate;
}

/* animation gauche ↔ droite */
@keyframes move {
  from {
    transform: translateX(-30px);
  }
  to {
    transform: translateX(30px);
  }
}

.contact {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.contact form {
  max-width: 500px;
  margin: auto;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box; /* 🔥 FIX IMPORTANT */
}

.contact textarea {
  min-height: 120px;
}

.contact button {
  background: #b89b5e;
  color: white;
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  border-radius: 5px;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.contact-info {
  width: 40%;
}

.contact form {
  width: 50%;
}

button:hover {
  background: #a68a4f;
}

}
/* 🔥 BURGER BUTTON */
.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* 📱 VERSION MOBILE */
@media (max-width: 768px) {

  header {
    position: relative;
  }

  /* bouton burger visible*/
  .burger {
    display: block;
  }

  /* menu caché */
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  /* menu actif */
  nav.active {
    display: flex;
  }

  /* liens */
  nav a {
    margin: 10px 0;
    display: block;
  }
}