body {
  background: linear-gradient(135deg, #a7bdaa 0%, #cad2c3 100%);
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 1800px;
}

.main-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  margin: 20px 0;
  max-width: 1800px;
}
.form-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px;
}
.card {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}
.card-body {
  padding: 15px;
}
.card-text {
  color: #666;
  line-height: 1.4;
  text-align: center;
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
}
.sidebar-content {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: fit-content;
}
.sidebar-title {
  color: #333;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 2px solid #95bd9a;
  padding-bottom: 8px;
}
.sidebar-text {
  color: #555;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}

.btn-custom {
  background: linear-gradient(45deg, #667eea, #764ba2);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
}
.form-select {
  border-radius: 10px;
  border: 1px solid #51644c;
  padding: 12px 15px;
  font-size: 1rem;
  background: rgba(198, 217, 183, 0.95);
}
.form-select:focus {
  border-color: #598e42;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.page-title {
  color: #333;
  text-align:center;
  margin-bottom: 300px;
  font-weight: 1700;
}

.opt1 {
  font-weight: 600;
  color: #333;
}
.row {
  align-items: stretch;
}
.col-lg-8,
.col-lg-4 {
  display: flex;
  flex-direction: column;
}
.main-container {
  flex: 1;
}
.photo-grid .col-sm-6 {
  margin-bottom: 1rem;
}
.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}
@media (max-width: 768px) {
  .card-img-top {
    height: 150px;
  }
}
/* Plein écran custom */
#fullscreenImageDiv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
#fullscreenImageDiv img {
  max-width: 98vw;
  max-height: 98vh;
  box-shadow: 0 0 40px #000;
  border-radius: 10px;
  cursor: zoom-out;
}
#fullscreenImageDiv button {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
}
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: #333;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}
/* pour les boutons du lecteur vidéo mais ne fonctionne pas */
#video-container {
  position: relative;
}
#play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px 15px;
}
