/* Floating Bookings Button styled like hero button */
.floating-booking-btn {
  background: var(--primary);
  color: var(--highlight);
  font-family: "Cormorant Garamond";
  font-weight: 700;
  border: none;
  margin-bottom: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.2s, color 0.2s;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  text-decoration: none;
  display: block;
}
.floating-booking-btn:hover {
  background-color: var(--creamy);
  color: var(--primary);
}
@media (min-width: 601px) and (max-width: 900px) {
  .burger {
    margin-left: auto;
  }
}

.only-mobile {
  display: none;
}
@media (max-width: 600px) {
  .hero-bg-img:not(.only-mobile) {
    display: none !important;
  }
  .only-mobile {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
}

@media (min-width: 601px) {
  .only-mobile {
    display: none !important;
  }
}
/* Add margin to all paragraphs */
p {
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}
/* 1. Ensure the image container (the section) is properly sized */
.hero {
  /* Give the hero section a minimum height, usually based on the viewport */
  min-height: 100vh;
  width: 100%;
  /* Establish context for the absolutely positioned image */
  position: relative;
  overflow: hidden; /* Important for clean edges */
}

/* 2. Style the image to stretch and cover the entire container */
.hero-bg-img {
  /* Make the image span the entire container */
  position: absolute;
  top: 0;
  left: 0;

  /* THIS IS THE CRITICAL PART: tells the browser how to handle the fit */
  object-fit: cover;

  /* Ensures the image is behind the content box */
  z-index: -1;
}

@media (min-width: 601px) {
  .logo {
    display: none !important;
  }
}
@media (max-width: 600px) {
  header {
    background-color: rgba(201, 166, 114, 0.8) !important;
  }
}
@media (min-width: 901px) {
  .media-card {
    min-height: 300px;
    aspect-ratio: 16/7;
  }
  .media-card iframe {
    min-height: 300px;
    aspect-ratio: 16/7;
  }
}
.minimal-footer {
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: var(--highlight);
}

#bookings {
  background: var(--background);
}
.contact-section {
  padding: 2.5rem 2rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.contact-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border: none;
  border-bottom: 2px solid var(--primary);
  background: transparent;
  color: var(--font);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-bottom 0.2s;
  resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom: 2px solid var(--secondary);
}
.contact-form button {
  align-self: flex-end;
  background: var(--primary);
  color: var(--highlight);
  font-family: "Cormorant Garamond";
  font-weight: 700;
  padding: 0.7rem 2.2rem;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.2s, color 0.2s;
}
.contact-form button:hover {
  background-color: var(--highlight);
  color: var(--primary);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  display: none;
  text-align: center;
  border-radius: 4px;
}

.form-message.success {
  display: block;
  background-color: rgba(75, 181, 67, 0.1);
  color: #4bb543;
}

.form-message.error {
  display: block;
  background-color: rgba(255, 0, 0, 0.1);
  color: #ff0000;
}
/* Gallery as flex, 2 columns for desktop, 1 for tablet/mobile */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
}

@media (min-width: 901px) {
  .media-card {
    flex: 0 1 calc(50% - 1.25rem);
    box-sizing: border-box;
  }
}

@media (max-width: 900px) {
  .gallery {
    flex-direction: column;
    gap: 1rem;
  }
  .media-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .media-card {
    min-height: 180px;
    aspect-ratio: 16/9;
  }
  .media-card iframe {
    min-height: 180px;
  }
}
.media-card {
  background: #f3f3f3;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border: 1px solid #e0e0e0;
  padding: 0.5rem;
  height: auto;
  min-height: 160px;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.media-card iframe {
  width: 100%;
  height: 100%;
  min-height: 160px;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .media-card {
    min-height: 180px;
    aspect-ratio: 16/9;
  }
  .media-card iframe {
    min-height: 180px;
  }
}
/* CSS Reset */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
/* Logo style */
.logo {
  color: var(--primary);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* Hide close button on desktop */
@media (min-width: 768px) {
  .menu-close {
    display: none !important;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cormorant Garamond";
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
.hero-content-box button {
  background: var(--primary);
  color: var(--highlight);
  font-family: "Cormorant Garamond";
  font-weight: 700;
  border: none;
  margin-bottom: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.2s, color 0.2s;
}
.hero-content-box button:hover {
  background-color: var(--creamy);
  color: var(--primary);
}
.hero {
  position: relative;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
@media (min-width: 601px) and (max-width: 1100px) {
  .hero-bg-img {
    width: 200%;
  }
}
.hero-content-box {
  position: absolute;
  top: 60%;
  left: 48%;
  transform: translateY(-110%);
  color: var(--primary);
  padding: 2.5rem 2.5rem 2.5rem 3.5rem;
  min-width: 320px;
  max-width: 480px;
  z-index: 2;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-width: 348px;
}
.hero-content-box h1 {
  color: var(--primary);
  font-size: 2.4rem;
  line-height: 1.1;
}
.hero-content-box p {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
}
@media (max-width: 1100px) {
  .hero-content-box {
    top: auto;
    position: absolute;
    transform: none;
    bottom: 5%;
    right: 5%;
    left: auto;
    max-width: 50vw;
    background: rgba(255, 255, 255, 0.9);
    color: var(--background);
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.08);
  }

  .hero-content-box h1 {
    font-size: 2.2rem;
  }

  .hero-content-box p {
    font-size: 1.15rem;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 1.3rem;
  }
  #about {
    padding-top: 90px;
  }
  .hero-content-box {
    background: rgba(255, 255, 255, 0.9);
    color: var(--background);
  }

  @media (max-width: 600px) {
    .hero {
      position: relative;
    }
  }
  @media (max-width: 600px) {
    .hero-content-box {
      position: absolute;
      left: 50%;
      bottom: -3.5rem;
      top: auto;
      transform: translateX(-50%);
      margin: 0;
      width: 90vw;
      max-width: 500px;
      z-index: 10;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
      gap: 5px;
      bottom: 2%;
      padding: 30px;
    }
    .hero-content-box h1 {
      font-size: 2rem;
    }
    .hero-content-box p {
      font-size: 1.1rem;
    }
    .hero-content-box *:last-child {
      margin-bottom: 0;
    }
  }
}
/* Content wrapper for narrow content */
.content-wrapper {
  max-width: 60vw;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem 2rem;
}
#bookings .content-wrapper {
  max-width: 100vw;
}

/* About   flex layout */
.about-flex {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.about-img,
.about-text {
  flex: 1 1 0;
}
.about-text {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 65ch;
}
.about-img img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
@media (max-width: 900px) {
  .about-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .content-wrapper {
    max-width: 70vw;
  }
}
@media (max-width: 600px) {
  .content-wrapper {
    max-width: 98vw;
  }
}
:root {
  --primary: #3e2000;
  --background: #fff7ec;
  --font: #222021;
  --highlight: #f2c79a;
  --creamy: rgba(201, 166, 114, 0.8);
  --secondary: #443825;
}

/* Apply Theme */
body {
  color: var(--font);
}

header,
nav {
  background-color: var(--background);
  color: var(--highlight);
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  font-size: 0.9em;
}

#about {
  background-color: var(--background);
}

header {
  background-color: rgba(
    201,
    166,
    114,
    0.5
  ); /* var(--background) with 50% opacity */
  color: white;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

nav {
  background-color: transparent;
  color: var(--font);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-social-links {
  display: flex;
  gap: 1.5rem;
}

.nav-social-links a {
  color: var(--font);
  display: flex;
  align-items: center;
}

/* Make only YouTube icon bigger to match others */
.nav-social-links a[aria-label="YouTube"] svg,
.social-links a[aria-label="YouTube"] svg {
  transform-origin: center;
  transform: scale(1.15);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--font);
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.5rem 1.2rem;
}

.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-social-links {
    display: none; /* Hide social links in mobile menu */
  }

  .menu-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    font-size: 2.5rem;
    color: var(--primary);
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .menu-close:active {
    background: var(--primary);
    color: var(--highlight);
  }
  .nav-links {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    gap: 2.5rem;
    transition: opacity 0.2s;
  }

  .burger {
    display: block;
  }

  .nav-links.active {
    display: flex;
  }
}

section {
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

#media {
  background: none;
  background-color: transparent;
}

.hero {
  color: white;
  text-align: center;
  min-height: 100vh;
}

button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #444;
  color: white;
  border: none;
  cursor: pointer;
}

footer {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 2rem;
}
