body {
  margin: 0;
  font-family: "Garamond", serif;
  color: #2e2e2e;
  background: linear-gradient(to bottom, #f9f7f3, #e8f3ef);
  scroll-behavior: smooth;
  text-align: justify;
}

a {
  color: #00695c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)),
    url("../image/beach-1852945_1920.jpg") center/cover no-repeat fixed;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

header img {
  max-width: 320px;
  border-radius: 15px;
  margin-top: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.bloc {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.bloc button {
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  color: #3b3b00;
  cursor: pointer;
  transition: transform 0.3s;
}

.bloc button::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  width: 0;
  background: #3b3b00;
  transition: width 0.28s ease;
  border-radius: 2px;
}

.bloc button:hover::after {
  width: calc(100% - 24px);
}

.bloc button:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.9);
}

main {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
  line-height: 1.6;
}

section {
  margin-bottom: 60px;
}

.profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
  text-align: center;
}

.profile img {
  width: 250px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h2 {
  text-align: center;
  color: #00695c;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  overflow: hidden;
}

td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

strong {
  color: #004d40;
}

footer {
  text-align: center;
  padding: 40px 0;
  color: white;
  background-color: #2d4739;
  font-weight: bold;
}

#centre {
  text-align: center;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  header {
    height: auto;
    padding: 3rem 1rem;
    background-attachment: scroll;
  }

  header img {
    max-width: 200px;
    margin-top: 10px;
  }

  .bloc {
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    padding: 0.3rem 0.5rem;
    gap: 0.2rem;
    overflow-x: auto;
    max-width: 95vw;
  }

  .bloc button {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .bloc::-webkit-scrollbar {
    display: none;
  }

  main {
    padding: 40px 15px;
  }

  h2 {
    font-size: 1.3rem;
  }

  .profile img {
    width: 180px;
  }

  table {
    font-size: 0.95rem;
  }

  td {
    padding: 8px;
  }
}
