:root {
  --bs-body-bg: #ECF0F0 !important;
}

* {
    color: #7e8080;
}

/* Empêcher le scroll horizontal sur mobile */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

.hero-section {
    background: no-repeat center center;
    background-size: cover;
    height: 70vh; /* La hauteur de la section hero est égale à la hauteur de la fenêtre du navigateur */
}

.hero-section h1 {
    color: #ffffff;
    text-shadow: 0px 1px 5px rgba(0,0,0,0.35);
    font-family: 'Playfair Display', serif;
    font-size: 60px;
}

.hero-credit {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0px 1px 3px rgba(0,0,0,0.5);
}

/* Hero button */
.hero-button a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #A63D40;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hero-button a:hover {
    background-color: #8a3235;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider__slides {
    position: relative;
    width: 100%;
    height: 70vh;
}

.hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slider__slide .hero-section {
    height: 100%;
}

.hero-slider__slide--active {
    opacity: 1;
    visibility: visible;
}

/* Slider navigation dots */
.hero-slider__nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-slider__dot:hover,
.hero-slider__dot--active {
    background: #fff;
}

/* Slider prev/next buttons */
.hero-slider__prev,
.hero-slider__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.hero-slider__prev:hover,
.hero-slider__next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.hero-slider__prev {
    left: 20px;
}

.hero-slider__next {
    right: 20px;
}

footer {
  background-color: #7F8080;
}

.footer-col-divider {
    border-right: 1px solid #fff;
}

footer h5 {
  color: #FFFFFF;
  font-family: 'Playfair Display', serif;
  font-size: 50px;
}

footer p {
  color: #FFFFFF;
  font-family: 'Playfair Display', serif;
}

footer address {
  color: #FFFFFF;
}

/* Login page styles */
.login-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
  margin-bottom: 40px;
}

.login-wrapper h1 {
  color: #A63D40;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 30px;
}

.login-wrapper .form-item {
  margin-bottom: 20px;
}

.login-wrapper .form-item label {
  display: block;
  margin-bottom: 8px;
  color: #7e8080;
  font-weight: 600;
}

.login-wrapper .form-text,
.login-wrapper input[type="text"],
.login-wrapper input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.login-wrapper .form-text:focus,
.login-wrapper input[type="text"]:focus,
.login-wrapper input[type="password"]:focus {
  border-color: #A63D40;
  outline: none;
}

.login-wrapper .form-submit,
.login-wrapper input[type="submit"] {
  width: 100%;
  padding: 12px 30px;
  background-color: #A63D40;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-wrapper .form-submit:hover,
.login-wrapper input[type="submit"]:hover {
  background-color: #8a3235;
}

.login-wrapper .item-list ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}

.login-wrapper .item-list ul li {
  display: inline-block;
  margin: 0 10px;
}

.login-wrapper .item-list ul li a {
  color: #A63D40;
  text-decoration: none;
}

.login-wrapper .item-list ul li a:hover {
  text-decoration: underline;
}
