/* ----------- RESET & BASE ----------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica', Arial, sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
}

/* ----------- HEADER ----------- */
.site-header {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 100px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo + titre */
.logo-title {
  height: 100px;
  display: flex;
  align-items: center;
}

.logo-title a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo {
    max-height: 70px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.site-name {
  font-family: 'Garamond', serif;
  font-variant: small-caps;
  font-weight: 200;
  font-size: 1.6rem;
  margin-left: 0.8rem;
  color: #222;
  letter-spacing: 0.5px;
}

.separation {
  clear: both;
  position: relative;
  margin-top: 10px;
  margin-left: 15px;
  margin-bottom: 10px;
  height: 60px;
  width: 0.1px;
  background: rgba(0, 0, 0, 0.8);
}

/* ----------- NAVIGATION ----------- */
.main-nav ul {
  font-family: 'Garamond', serif;
  font-variant: small-caps;
  font-size: 1.2rem;
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 3px;
}

.main-nav a:hover {
  color: #b28b51;
  border-bottom: 2px solid #b28b51;
}

/* Bouton Booking */
.booking-btn {
  background: #b28b51;
  color: #fff !important;
  padding: 0.2rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}

.booking-btn:hover {
  background: #a27c44;
  border-bottom: none !important;
}

/* Menu toggle pour mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 30px;
  height: 25px;
  z-index: 1001;
}

.menu-toggle span {
  height: 3px;
  background: #000;
  margin: 2px 0;
  border-radius: 2px;
  transition: all 0.3s;
  width: 100%;
}

/* ----------- MAIN CONTENT ----------- */
main {
  min-height: calc(100vh - 200px);
  padding: 2rem;
}

/* ----------- BOUTONS ----------- */
.btn {
  background: #b28b51;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: background 0.3s;
  text-align: center;
}

.btn:hover {
  background: #a27c44;
}

/* ----------- FOOTER ----------- */
.site-footer {
  background: #f8f8f8;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-info {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.footer-links a:hover {
  color: #b28b51;
}

.footer-links .btn {
    color: #fff !important; /* Force la couleur du texte en blanc */
}

.footer-links .btn:hover {
    color: #fff !important; /* Garde le texte blanc au survol */
}

/* ----------- SLIDESHOW ----------- */
.slideshow-container {
  position: relative;
  max-width: 1000px;
  height: 600px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Flèches de navigation */
.slideshow-container .prev,
.slideshow-container .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.slideshow-container .prev:hover,
.slideshow-container .next:hover {
  background: rgba(178, 139, 81, 0.8);
}

.slideshow-container .prev {
  left: 20px;
}

.slideshow-container .next {
  right: 20px;
}

/* Indicateurs de slides */
.slide-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #fff;
}

/* ----------- RESPONSIVE DESIGN ----------- */
@media (max-width: 1024px) {
  .site-header {
    padding: 0 1rem;
    height: 80px;
  }

  .main-nav .booking-btn {
    display: inline-block;
    width: auto;
    background: #b28b51;
    text-align: center;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem; /* Padding réduit pour s'adapter au texte */
    border-radius: 4px;
  }
  
  .logo {
    max-height: 80px;
  }
  .main-nav ul {
    gap: 1rem;
  }
  
  .slideshow-container {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .site-header {
    justify-content: space-between;
    padding: 0 1rem;
    height: 70px;
  }

  .main-nav .booking-btn {
    display: inline-block;
    width: auto;
    background: #b28b51;
    text-align: center;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem; /* Padding réduit pour s'adapter au texte */
    border-radius: 4px;
  }
  
  .logo {
    max-height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    box-shadow: -4px 0 10px rgba(0,0,0,0.15);
    flex-direction: column;
    width: 70%;
    max-width: 300px;
    padding: 5rem 2rem 2rem;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .main-nav a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
  }
  
  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  main {
    padding: 1rem;
    min-height: calc(100vh - 150px);
  }
  
  .slideshow-container {
    height: 400px;
    margin: 1rem auto;
  }
  
  .slideshow-container .prev,
  .slideshow-container .next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .slide-dots {
    bottom: 15px;
  }
  
  .dot {
    height: 10px;
    width: 10px;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 60px;
    padding: 0 0.5rem;
  }

  .main-nav .booking-btn {
    display: inline-block;
    width: auto;
    background: #b28b51;
    text-align: center;
    margin: 0.5rem 0;
    padding: 0.5rem 1rem; /* Padding réduit pour s'adapter au texte */
    border-radius: 4px;
  }

  .logo {
    max-height: 60px;
  }
  
  .site-name {
    font-size: 1.3rem;
    margin-left: 0.5rem;
  }
  
  .separation {
    height: 50px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  .menu-toggle {
    width: 25px;
    height: 20px;
  }
  
  .menu-toggle span {
    height: 2px;
    margin: 1.5px 0;
  }
  
  main {
    padding: 0.5rem;
    min-height: calc(100vh - 120px);
  }
  
  .slideshow-container {
    height: 300px;
    margin: 0.5rem auto;
    border-radius: 6px;
  }
  
  .slideshow-container .prev,
  .slideshow-container .next {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .slide-dots {
    bottom: 10px;
  }
  
  .dot {
    height: 8px;
    width: 8px;
    margin: 0 3px;
  }
  
  .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  .site-footer {
    padding: 1rem;
    gap: 0.5rem;
  }
  
  .footer-info {
    font-size: 0.8rem;
  }
  
  .footer-links {
    gap: 0.75rem;
  }
}

/* Support tactile pour mobile */
@media (hover: none) and (pointer: coarse) {
  .main-nav a:hover {
    border-bottom: none;
  }
  
  .booking-btn:hover {
    background: #b28b51;
  }
  
  .btn:hover {
    background: #b28b51;
  }
  
  .slideshow-container .prev:hover,
  .slideshow-container .next:hover {
    background: rgba(0,0,0,0.6);
  }
}
