/* ===== Style global ===== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* ===== Header ===== */
header {
  background: linear-gradient(90deg, #ff6f61, #ffb347);
  color: #fff;
  text-align: center;
  padding: 25px 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 1px;
}

header p {
  margin: 5px 0 0 0;
  font-size: 1rem;
}

/* ===== Section contact ===== */
.contact {
  text-align: center;
  background: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border-radius: 10px;
  margin: 10px;
}

.contact a {
  color: #111;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.contact a:hover {
  color: #ff6f61;
}

/* ===== Navigation ===== */
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 15px 10px;
}

nav button {
  padding: 12px 20px;
  background: #ff6f61;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

nav button:hover {
  background: #ff3b2f;
}

/* ===== Galerie ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  gap: 12px;
  padding: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: 0.3s;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 10px;
}

.hidden { display: none; }

/* ===== Boutons ===== */
.btn {
  background: #ff6f61;
  color: #fff;
  padding: 12px 25px;
  border-radius: 12px;
  text-decoration: none;
  margin: 5px;
  display: inline-block;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #ff3b2f;
}

.btn-gray {
  background: #777;
}

.btn-gray:hover {
  background: #555;
}

.call-btn {
  background: #28a745;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
}

.call-btn:hover {
  background: #1e7e34;
}

/* ===== Sections box ===== */
.box {
  background: #fff;
  margin: 10px;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* ===== Texte centré ===== */
.center { text-align: center; }

/* ===== QR Code ===== */
section img[alt="QR code"] {
  width: 180px;
  margin-top: 10px;
  border: 2px solid #ff6f61;
  border-radius: 15px;
}

/* ===== Responsive Mobile ===== */
@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 8px;
  }
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
  }
  header h1 {
    font-size: 1.6rem;
  }
  header p {
    font-size: 0.9rem;
  }
}