/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Lora:wght@400;500&display=swap');

body {
  margin: 0;
  font-family: 'Lora', serif;
  background: #F7F4ED;
  color: #4A3A2A;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.site-header {
  background: #8A9A7B;
  padding: 20px 0;
}

.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #F7F4ED;
  text-decoration: none;
}

.nav a {
  color: #F7F4ED;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: #ffffff;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(247,244,237,0.2), rgba(247,244,237,0.2)),
              url('../images/hero-barn.jpg') center/cover no-repeat;
  padding: 140px 0;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  margin-bottom: 10px;
  color: #F7F4ED;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
  color: #F7F4ED;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}


/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

/* Buttons */
button {
  background: #B97A57;
  color: white;
  padding: 12px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background: #a46848;
}

/* Masonry Gallery */
.gallery-grid {
  column-count: 3;
  column-gap: 20px;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: 'Lora', serif;
}

.site-footer {
  background: #8A9A7B;
  color: #F7F4ED;
  padding: 30px 0;
  text-align: center;
  margin-top: 40px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #8A9A7B;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.desktop-nav a {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding-bottom: 4px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #B97A57;
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #F7F4ED;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #8A9A7B;
  padding: 20px;
  text-align: center;
}

.mobile-nav a {
  color: #F7F4ED;
  font-size: 1.2rem;
  padding: 12px 0;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
}

.mobile-nav.show {
  display: flex;
}

@media (max-width: 800px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  margin-bottom: 20px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  pointer-events: none; /* prevents scroll hijack */
  border-radius: 10px;
}

/* Overlay to enable click-to-activate */
.map-wrapper .map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: transparent;
  z-index: 2;
}

/* Custom Sage-Green Pin */
.custom-pin {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
}

.header-logo {
  height: 60px; /* adjust to fit your header height */
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.header-logo:hover {
  opacity: 0.9; /* subtle hover effect */
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img.header-logo {
  height: 60px;
  width: auto;
  display: block;
}

.booking-calendar {
  background: #F7F4ED;
  padding: 60px 20px;
  text-align: center;
}

.booking-calendar h2 {
  font-family: 'Playfair Display', serif;
  color: #4A3A2A;
  margin-bottom: 10px;
}

.booking-calendar p {
  color: #8A9A7B;
  margin-bottom: 30px;
}

.calendar-wrapper {
  max-width: 420px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 20px;
}

.calendar-header h3 {
  color: #4A3A2A;
}

.calendar-nav button {
  background: #4A3A2A;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.calendar-nav button:hover {
  background: #8A9A7B;
}

.calendar-day-name {
  color: #8A9A7B;
}

.calendar-cell.available {
  background: #E9F3E5;
  color: #2F4A2F;
}

.calendar-cell.booked {
  background: #F5D0C3;
  color: #4A3A2A;
  text-decoration: line-through;
}

.legend-swatch.available { background: #E9F3E5; }
.legend-swatch.booked { background: #F5D0C3; }
