/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: #2b2b2b;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #8b2e2e; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; color: #555; font-style: italic; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary { background: #8b2e2e; color: #fff; border-color: #8b2e2e; }
.btn-primary:hover { background: #6e2323; border-color: #6e2323; text-decoration: none; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: #2b2b2b; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}
.brand img { max-height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #2b2b2b;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
}
.site-nav a:hover { color: #8b2e2e; text-decoration: none; }
.lang-switch a {
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
  border: 1px solid transparent;
}
.lang-switch .active a {
  border-color: #8b2e2e;
  color: #8b2e2e;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #2b2b2b;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero-overlay {
  width: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%);
  padding: 6rem 0;
}
.hero h1 { color: #fff; margin-bottom: 0.2em; }
.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin: 0 0 0.4em;
  opacity: 0.95;
}
.hero-tag {
  font-size: 1.05rem;
  opacity: 0.85;
  margin: 0 0 2rem;
  font-style: italic;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: #f7f3ee;
}
.section h2 {
  border-bottom: 3px solid #8b2e2e;
  display: inline-block;
  padding-bottom: 0.3em;
  margin-bottom: 1.5rem;
}
.lead {
  font-size: 1.2rem;
  color: #6a5a45;
  margin-bottom: 1.2rem;
}
.rich-text p { margin: 0 0 1.1em; }
.rich-text em { color: #8b2e2e; }

/* ---------- Features (gîte) ---------- */
.features {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.8rem;
}
.features li {
  background: #fff;
  border-left: 3px solid #8b2e2e;
  padding: 0.8rem 1rem;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.section-alt .features li { background: #fff; }

/* ---------- Gallery (carousel) ---------- */
.carousel {
  position: relative;
  margin-top: 2rem;
  max-width: 100%;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  aspect-ratio: 16 / 9;
}
.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prev / Next arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}
.carousel-btn:hover,
.carousel-btn:focus-visible { background: rgba(0, 0, 0, 0.8); }
.carousel-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }

/* Indicator dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot:hover { background: #888; }
.carousel-dot.is-active { background: #1a5e85; transform: scale(1.25); }
.carousel-dot:focus-visible { outline: 2px solid #1a5e85; outline-offset: 2px; }

@media (max-width: 600px) {
  .carousel-btn { width: 36px; height: 36px; font-size: 1.1rem; }
  .carousel-prev { left: 0.4rem; }
  .carousel-next { right: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track { transition: none; }
  .carousel-dot { transition: none; }
}

/* ---------- Booking cards ---------- */
.booking-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.booking-card {
  background: #fff;
  border: 2px solid #8b2e2e;
  color: #8b2e2e;
  padding: 2rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 4px;
  transition: all 0.2s;
}
.booking-card:hover {
  background: #8b2e2e;
  color: #fff;
  text-decoration: none;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 760px;
  margin-top: 2rem;
}
.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #8b2e2e;
  box-shadow: 0 0 0 3px rgba(139, 46, 46, 0.12);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.form-feedback {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 4px;
}
.form-feedback.success { background: #e8f5e9; color: #2e7d32; }
.form-feedback.error { background: #fdecea; color: #c62828; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1f1f1f;
  color: #ccc;
  padding: 3rem 0 2rem;
}
.site-footer a { color: #e0b89e; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.social {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 0.8rem;
  margin: 0 0 1rem;
}
.social a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 34px;
  text-align: center;
  border: 1px solid #555;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
}
.social a:hover { border-color: #e0b89e; text-decoration: none; }
.copyright { font-size: 0.8rem; opacity: 0.7; margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid #eee;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }
  .hero { background-attachment: scroll; }
}

/* === Legal / content pages (e.g. /conditions/) ============== */
.section-page {
    padding-top: 6rem;
}
.section-page h1 {
    font-size: 1.85rem;
    margin-bottom: .5rem;
}
.section-page .lead {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0 0 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e3e6ea;
}
.rich-text.legal h2 {
    margin-top: 2rem;
    font-size: 1.25rem;
    color: #2c5e88;
}
.rich-text.legal h3 {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    color: #444;
}
.rich-text.legal ul,
.rich-text.legal ol {
    margin: .5rem 0 1rem 1.25rem;
}
.rich-text.legal li {
    margin-bottom: .3rem;
}
.rich-text.legal blockquote {
    border-left: 4px solid #2c5e88;
    background: #f6f8fa;
    padding: .75rem 1rem;
    margin: 1.5rem 0;
    font-size: .95rem;
    color: #444;
}
.rich-text.legal hr {
    border: none;
    border-top: 1px solid #e3e6ea;
    margin: 2rem 0;
}
.back-link {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e3e6ea;
}
.back-link a {
    color: #2c5e88;
    text-decoration: none;
    font-weight: 600;
}
.back-link a:hover {
    text-decoration: underline;
}
