/* =====================
   VARIABLES
===================== */
:root {
    --sand: #F3E2CF;
    --sand-light: #FAF3EA;
    --red-earth: #7A1C17;
    --red-soft: #9E3A2F;
    --ocean-dark: #1F3D44;
    --white: #FFFFFF;
  }
  
  /* =====================
     RESET
  ===================== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* =====================
     GLOBAL
  ===================== */
  body {
    font-family: 'Inter', sans-serif;
    background: var(--sand);
    color: var(--ocean-dark);
    line-height: 1.7;
  }
  
  /* =====================
     TOP SECTION (HEADER + HERO)
  ===================== */
  .top-section {
    position: relative;
    min-height: calc(100vh + 140px);
    background-image: url('../images/hero_section.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
  }
  
  /* Overlay sombre global */
  .top-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
  }
  
  /* =====================
     HEADER
  ===================== */
  .site-header {
    position: relative;
    z-index: 2;
  }
  
  nav {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img {
    height: 120px;
  }
  
  /* Navigation */
  nav a {
    color: white;
    text-decoration: none;
    margin-left: 28px;
    font-weight: 500;
    position: relative;
  }
  
  nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
  }
  
  nav a:hover::after {
    width: 100%;
  }
  
  /* =====================
     HERO
  ===================== */
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
  }
  
  .hero-content {
    max-width: 800px;
    padding: 20px;
  }
  
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 58px;
    margin-bottom: 20px;
    color: white;
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 35px;
    color: white;
  }
  
  /* =====================
     BUTTON
  ===================== */
  .btn {
    background: var(--red-earth);
    color: var(--white);
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .btn:hover {
    background: var(--red-soft);
    transform: translateY(-2px);
  }
  
  /* =====================
     SECTIONS
  ===================== */
  section {
    padding: 100px 20px;
  }
  
  section:nth-of-type(even) {
    background: var(--sand-light);
  }
  
  .container {
    max-width: 1200px;
    margin: auto;
  }
  
  h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--red-earth);
  }
  
  /* =====================
     CARDS
  ===================== */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
  }
  
  .card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
  }
  
  .card:hover {
    transform: translateY(-8px);
  }
  
  .card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
  
  .card-content {
    padding: 30px;
  }
  
  .card-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--red-earth);
    margin-bottom: 12px;
  }
  
  .card-content .btn {
    margin-top: 200px;
    display: inline-block; /* ensures margin works correctly */
  }

/* =====================
   CARD WITH BACKGROUND IMAGE
===================== */

.card-bg {
  position: relative;
  height: 420px;
  width: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 24px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

/* centered content wrapper */
.card-bg-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  gap: 20px;
}

.card-bg-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin: 0;
}

.card-bg-content p {
  font-size: 16px;
  margin: 0;
  max-width: 300px;
}

/* dark overlay for readability */
.card-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* keep content above overlay */
.card-bg .btn {
  position: relative;
  z-index: 1;
  margin-top: 10px;
}

/* hover effect */
.card-bg:hover {
  transform: translateY(-8px);
}

/* big title */
.card-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  margin-bottom: 8px;
}

/* small text */
.card-text p {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 20px;
}
  

  /* =====================
     FOOTER
  ===================== */
  footer {
    background: var(--red-earth);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
    font-size: 14px;
  }
  
  /* =====================
     RESPONSIVE
  ===================== */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 42px;
    }
  
    .hero p {
      font-size: 18px;
    }
  
    .logo img {
      height: 90px;
    }
  
    nav {
      flex-direction: column;
      gap: 20px;
    }
    .board {
      flex-direction: column;
  }

  .board img {
    height: 240px;
  }
  }

/* =====================
   BOOKING FORM
===================== */

  form {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  
  form label {
    font-weight: 500;
    font-size: 15px;
    color: var(--ocean-dark);
  }
  
  form input,
  form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #fff;
  }
  
  form input:focus,
  form select:focus {
    outline: none;
    border-color: var(--red-earth);
    box-shadow: 0 0 0 3px rgba(122, 28, 23, 0.15);
  }
  
  form select {
    cursor: pointer;
  }
  
  /* Consent checkbox */
  .consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
  }
  
  .consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--red-earth);
  }
  
  /* Submit button alignment */
  form button.btn {
    align-self: center;
    margin-top: 30px;
    padding: 16px 50px;
  }
  
  /* Success message */
  #successMessage {
    text-align: center;
    font-weight: 500;
    color: green;
  }
  
  /* Mobile spacing */
  @media (max-width: 768px) {
    form {
      gap: 18px;
    }
  }

/* =====================
   SUCCESSFUL BOOK
===================== */
  
  
  success_body {
    background: linear-gradient(135deg, #F3E2CF, #FAF3EA);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
  }
    
  success_card {
    background: #7A1C17;
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    max-width: 500px;
  }
    
  success_h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }
    
  success_p {
    font-size: 18px;
    margin-bottom: 30px;
  }

  success_a {
    background: white;
    color: #7A1C17;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
  }

  success_a:hover {
    opacity: 0.9;
  }

/* =====================
   FLOATING BOOKING BUTTON
===================== */
.floating-book-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--red-earth);
  color: var(--white);
  padding: 16px 28px;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(122, 28, 23, 0.3);
  transition: all 0.3s ease;
  z-index: 100;
  font-size: 16px;
}

.floating-book-btn:hover {
  background: var(--red-soft);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(122, 28, 23, 0.4);
}

/* =====================
   REVIEWS CAROUSEL
===================== */
.reviews-section { padding: 60px 20px; }
.reviews-section h2 { text-align: center; margin-bottom: 18px; color: var(--red-earth); font-family: 'Playfair Display', serif; }
.review-carousel { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; }
.review-track { position: relative; width: 100%; max-width: 900px; height: 240px; }
.review-item { position: absolute; inset: 0; background: var(--white); border-radius: 12px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: opacity 0.6s ease, transform 0.6s ease; opacity: 0; transform: translateX(8px); display: flex; flex-direction: column; justify-content: center; }
.review-text { font-size: 18px; margin-bottom: 12px; color: var(--ocean-dark); }
.review-author { font-weight: 600; color: var(--red-earth); font-size: 14px; }
.review-nav { background: rgba(255,255,255,0.95); border: none; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.review-prev { margin-right: 8px; }
.review-next { margin-left: 8px; }

@media (max-width: 700px) {
  .review-carousel { flex-direction: row; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .review-track { position: relative; height: 280px; order: 2; width: 100%; }
  .review-item { position: relative; inset: auto; padding: 24px; height: 280px; opacity: 1 !important; transform: none !important; margin: 0; overflow: hidden; }
  .review-text { font-size: 15px; }
  .review-item[aria-hidden="true"] { display: none; }
  .review-prev { order: 1; margin-right: 0; width: 44px; height: 44px; font-size: 20px; }
  .review-next { order: 3; margin-left: 0; width: 44px; height: 44px; font-size: 20px; }
}

/* =====================
   COOKIE CONSENT WIDGET
===================== */
.cookie-banner {
  position: fixed;
  left: 30px;
  bottom: 30px;
  background: rgba(255,255,255,0.98);
  color: var(--ocean-dark);
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  z-index: 115;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 420px;
}

.cookie-banner p { margin: 0; font-size: 14px; }
.cookie-banner a { color: var(--red-earth); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; align-items: center; }

.btn.small { padding: 8px 12px; border-radius: 20px; font-size: 14px; }
.btn.small.outline { background: transparent; color: var(--ocean-dark); border: 1px solid rgba(0,0,0,0.08); }

.cookie-settings {
  position: fixed;
  left: 30px;
  bottom: 90px;
  width: 360px;
  background: white;
  z-index: 120;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  padding: 18px;
  display: none;
}

.cookie-settings.open { display: block; }
.cookie-settings h3 { margin: 0 0 10px 0; font-size: 18px; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }

@media (max-width: 600px) {
  .cookie-banner, .cookie-settings { left: 16px; right: 16px; width: auto; }
  .cookie-settings { bottom: 90px; }
  .floating-book-btn { right: 16px; bottom: 100px; }
}

  