/* ============================================================
   26 Beacon Court — Stylesheet
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --green-deep:   #1c2b1c;
  --green-mid:    #2a4230;
  --green-light:  #3d5c3d;
  --gold:         #c9a44a;
  --gold-light:   #e2c47a;
  --cream:        #f7f3ee;
  --cream-dark:   #ede7de;
  --text:         #1a1a1a;
  --text-light:   #4a4a4a;
  --white:        #ffffff;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;

  --max-width: 1100px;
  --section-pad: 5rem 1.5rem;
  --radius: 4px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--green-deep);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  color: var(--green-deep);
  margin-bottom: 0.4rem;
}

p { color: var(--text-light); }

/* --- Section Divider Label --- */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--green-deep);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  background: rgba(28, 43, 28, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--green-deep); /* fallback if image missing */
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 10, 0.55) 0%,
    rgba(10, 20, 10, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 1.5rem;
  max-width: 780px;
}

.hero-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.hero-title span { color: var(--gold); }

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.2rem;
  font-style: italic;
  font-family: var(--font-heading);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  padding: var(--section-pad);
  background: var(--cream);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p + p { margin-top: 1rem; }

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-light); /* placeholder colour */
  box-shadow: 0 20px 60px rgba(28, 43, 28, 0.18);
}

/* ============================================================
   GALLERY
   ============================================================ */
#gallery {
  padding: var(--section-pad);
  background: var(--green-deep);
}

.gallery-header {
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
}

.gallery-header h2 { color: var(--cream); }
.gallery-header .section-label { color: var(--gold); }

.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 260px;
  gap: 0.75rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-mid); /* placeholder colour */
}

/* ============================================================
   AMENITIES
   ============================================================ */
#amenities {
  padding: var(--section-pad);
  background: var(--cream-dark);
}

.amenities-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.amenities-inner > p {
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.amenity-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(28, 43, 28, 0.07);
}

.amenity-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.amenity-card h3 { font-size: 1rem; }

.amenity-card p {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ============================================================
   LOCAL AREA
   ============================================================ */
#local {
  padding: var(--section-pad);
  background: var(--cream);
}

.local-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.local-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.local-section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--green-deep);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.local-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.local-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.local-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 0.55rem;
}

.local-list strong {
  display: block;
  color: var(--green-deep);
  font-size: 0.95rem;
}

.local-list span {
  font-size: 0.87rem;
  color: var(--text-light);
}

.producers-header {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-dark);
}

.producers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.producer-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 8px rgba(28,43,28,0.06);
}

.producer-card strong {
  display: block;
  color: var(--green-deep);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.producer-card span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.producer-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

/* ============================================================
   LOCATION / MAP
   ============================================================ */
#location {
  padding: var(--section-pad);
  background: var(--green-deep);
}

.location-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.location-inner h2 { color: var(--cream); }
.location-inner .section-label { color: var(--gold); }
.location-inner > p { color: rgba(247, 243, 238, 0.8); margin: 0.5rem 0 1.5rem; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  margin-bottom: 1.25rem;
  background: var(--green-mid);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.directions-link:hover { color: var(--white); }

/* ============================================================
   BOOKING CTA BANNER
   ============================================================ */
#book {
  padding: 4rem 1.5rem;
  background: var(--gold);
  text-align: center;
}

#book h2 {
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

#book p {
  color: var(--green-mid);
  margin-bottom: 1.8rem;
}

.book-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-dark {
  background: var(--green-deep);
  color: var(--cream);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #111c11;
  color: rgba(247, 243, 238, 0.6);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

footer .footer-logo {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--gold-light);
  transition: color 0.2s;
}

footer a:hover { color: var(--white); }

footer .footer-links {
  margin: 0.75rem 0;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PLAN YOUR STAY — homepage cards
   ============================================================ */
#stays {
  padding: var(--section-pad);
  background: var(--green-deep);
}

.stays-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.stays-inner h2 { color: var(--cream); }
.stays-inner .section-label { color: var(--gold); }
.stays-inner > p {
  color: rgba(247,243,238,0.75);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.stays-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stay-card {
  background: var(--green-mid);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s;
}

.stay-card:hover { transform: translateY(-3px); }

.stay-card-icon { font-size: 2.2rem; line-height: 1; }

.stay-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--cream);
}

.stay-card p { color: rgba(247,243,238,0.75); font-size: 0.95rem; }

.stay-card .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
}

/* ============================================================
   STAY PAGES — page hero (no image required)
   ============================================================ */
.page-hero {
  padding: 9rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  z-index: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.8rem);
  color: var(--white);
  margin: 0.5rem 0 1rem;
}

.page-hero h1 span { color: var(--gold); }

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  font-family: var(--font-heading);
}

/* ============================================================
   STAY PAGES — highlights strip
   ============================================================ */
.highlights {
  background: var(--gold);
  padding: 2rem 1.5rem;
}

.highlights-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.highlight-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-deep);
  color: var(--cream);
  border-radius: 2rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ============================================================
   STAY PAGES — intro section
   ============================================================ */
.stay-intro {
  padding: var(--section-pad);
  background: var(--cream);
}

.stay-intro-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.stay-intro-text p + p { margin-top: 1rem; }

/* ============================================================
   STAY PAGES — amenities subset
   ============================================================ */
.stay-amenities {
  padding: var(--section-pad);
  background: var(--cream-dark);
}

.stay-amenities-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================================
   STAY PAGES — itinerary
   ============================================================ */
.itinerary {
  padding: var(--section-pad);
  background: var(--cream);
}

.itinerary-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.itinerary-inner > p { max-width: 600px; margin-bottom: 2.5rem; }

.itinerary-days {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.day-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28,43,28,0.07);
}

.day-card-header {
  background: var(--green-deep);
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.day-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.day-title {
  font-size: 0.85rem;
  color: rgba(247,243,238,0.8);
  font-style: italic;
}

.day-card-body {
  padding: 1.2rem 1.4rem;
}

.time-block + .time-block { margin-top: 1rem; }

.time-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.time-block p { font-size: 0.9rem; }

/* ============================================================
   STAY PAGES — back link
   ============================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover { color: var(--green-deep); }

/* ============================================================
   RESPONSIVE — 768px+
   ============================================================ */
@media (min-width: 768px) {
  .about-inner {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
  }

  .gallery-item:first-child {
    grid-row: span 2;
  }

  .local-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stays-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .producers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stay-intro-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .itinerary-days {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* ============================================================
   MOBILE NAV — CSS-only hamburger
   ============================================================ */
.nav-toggle-input { display: none; }
.nav-toggle-label  { display: none; }

@media (max-width: 640px) {
  nav {
    padding: 0.9rem 1rem;
    flex-wrap: wrap;
    position: relative;
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }

  .nav-toggle-label span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cream);
    border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(20, 35, 20, 0.98);
    padding: 1.2rem 1rem 1.5rem;
    gap: 1.1rem;
    order: 3;
  }

  .nav-links a { font-size: 1rem; }

  /* Show menu when checked */
  .nav-toggle-input:checked ~ .nav-links { display: flex; }

  /* Animate to × */
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Reduce section padding on mobile */
  :root { --section-pad: 3rem 1.2rem; }

  /* Tighter gallery on mobile — 2 columns, smaller rows */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
}
