* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  overflow-x: hidden;
  background: #f4f4f4;
}

/* PAGE D'ACCUEIL */
.top-page {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("../images/Design sans titre.png.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.944);
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: #004d9a;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  transition: 0.3s;
}

nav a:hover {
  color: #46a2ff;
}

.welcome-box {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #004d9a;
  padding: 20px 60px;
  border-radius: 15px;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}

/* PAGE A PROPOS */
.about-section {
  background-color: #9c9c9c;
  color: #ffffff;
  padding: 160px 10%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  width: 100%;
  max-width: 1400px;
}

.about-left {
  flex: 1.2;
  min-width: 350px;
}

.about-left h2 {
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.about-left h2 span {
  color: #004d9a;
  font-weight: 700;
}

.about-line {
  width: 80px;
  height: 3px;
  background-color: #004d9a;
  border: none;
  margin-bottom: 40px;
}

.about-left p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 20px;
}

.about-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-width: 200px;
}

.service-card {
  background-color: #707070;
  border: 1px solid #828080;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 500;
  line-height: 1.5;
  transition: 0.3s ease;
}

.service-card:hover {
  background-color: #004d9a;
  color: white;
  transform: translateY(-5px);
}

/* PAGE MAGASIN */
.shop-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 140px 10%;
  gap: 80px;
  flex-wrap: wrap;
  background-color: #f4f4f4;
  min-height: 90vh;
}

.shop-left {
  flex: 1;
  min-width: 350px;
  color: #222;
}

.shop-left h2 {
  font-size: 2.5rem;
  color: #004d9a;
  margin-bottom: 25px;
}

.shop-left p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.btn-blue {
  background: #004d9a;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-blue:hover {
  background: #0468d7;
}

.shop-right {
  flex: 1.2;
  min-width: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.shop-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 1.5s ease;
}

.shop-image.active {
  opacity: 1;
}

/* PAGE ATELIER */
.workshop-page {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 140px 10%;
  gap: 80px;
  flex-wrap: wrap;
  background-color: #9c9c9c;
  min-height: 90vh;
}

.workshop-right {
  flex: 1;
  min-width: 350px;
  color: #222;
}

.workshop-right h2 {
  font-size: 2.5rem;
  color: #004d9a;
  margin-bottom: 25px;
}

.workshop-right p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.atelier-img {
  display: none;
}

.atelier-img.active {
  display: block;
}

/* SLIDER ATELIER */
.atelier-slider {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.atelier-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.atelier-img.active {
  opacity: 1;
}

/* PAGE HORAIRES */
.hourly-page {
  background-image: url("../images/Port.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 100px 10%;
  color: white;
}

.horaires-box {
  background: rgba(255, 255, 255, 0.958);
  padding: 40px 60px;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  color: #333;
  max-width: 500px;
}

.horaires-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.horaires-box li {
  font-size: 1.1rem;
  line-height: 3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.horaires-box li strong {
  color: #004d9a;
}

.horaires-box .note {
  margin-top: 25px;
  font-style: italic;
  color: #555;
  text-align: center;
}

/* PAGE CONTACT */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 180px 10% 120px 10%;
  background-color: #ffffff;
  gap: 80px;
  flex-wrap: wrap;
  min-height: 90vh;
}

.contact-section .contact-info {
  flex: 1;
  min-width: 300px;
  line-height: 2;
  text-align: center;
  transform: translateY(20px);
}

.contact-section a {
  color: #004d9a;
  text-decoration: none;
}

.contact-section .map-container {
  flex: 3;
  min-width: 400px;
}

/* FOOTER */
.footer {
  background-color: #9c9c9c;
  color: white;
  padding: 60px 10% 30px;
  font-family: "Arial", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 30px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 70px;
  margin-bottom: 20px;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  color: #46a2ff;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center li {
  margin: 8px 0;
}

.footer-right .social-links {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.footer-right .social-links img {
  width: 28px;
  height: 28px;
  transition: 0.3s ease;
}

.footer-right .social-links img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.btn-footer {
  background: #ffffff;
  color: #878787;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-footer:hover {
  background: #7b7b7b;
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  font-size: 0.9rem;
  padding-top: 20px;
}

/* RESPONSIVE 900px */
@media (max-width: 900px) {
  .header {
    padding: 15px 25px;
  }

  nav ul {
    gap: 18px;
  }

  .welcome-box {
    font-size: 1.3rem;
    padding: 15px 35px;
  }

  .shop-page,
  .workshop-page {
    flex-direction: column;
    text-align: center;
    padding: 100px 5%;
    gap: 50px;
  }

  .shop-right,
  .atelier-slider {
    height: 340px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-right .social-links {
    justify-content: center;
  }
}

/* RESPONSIVE 750px (TELEPHONE NORMAL) */
@media (max-width: 750px) {
  .header {
    padding: 15px 20px;
  }

  nav ul {
    gap: 12px;
  }

  nav a {
    font-size: 0.9rem;
  }

  .about-section {
    padding: 100px 5%;
  }

  .about-container {
    gap: 40px;
  }

  .about-left h2 {
    font-size: 2rem;
  }

  .shop-left h2,
  .workshop-right h2 {
    font-size: 2rem;
  }

  .shop-right {
    min-width: 100%;
  }

  .atelier-slider {
    height: 280px;
  }

  .hourly-page {
    flex-direction: column;
    padding: 80px 8%;
  }

  .contact-section {
    padding: 120px 5% 90px;
  }
}

/* RESPONSIVE 500px (PETIT TÉLÉPHONE) */
@media (max-width: 500px) {
  nav ul {
    gap: 8px;
  }

  nav a {
    font-size: 0.8rem;
  }

  .welcome-box {
    font-size: 1.1rem;
    padding: 12px 25px;
  }

  .shop-left p,
  .workshop-right p {
    font-size: 1rem;
  }

  .atelier-slider {
    height: 220px;
  }

  .horaires-box {
    padding: 25px 35px;
  }

  .contact-section .map-container {
    min-width: 100%;
  }
}


