/* ============================================================
   PRIMAVERA PRIVATE CHEF — style.css
   Luxury / refined aesthetic: warm cream, deep forest green,
   elegant serif + light sans-serif typography.
   Mobile-first, responsive at 768px and 1024px breakpoints.
============================================================ */

/* ── CSS Custom Properties (Design Tokens) ────────────────── */
:root {
  --cream: #f4f1ec; /* Background / warm off-white      */
  --cream-dark: #eae5dc; /* Subtle section alternation       */
  --forest: #1c1c1c; /* Deep charcoal (matches logo bg)  */
  --forest-light: #2e2e2e; /* Slightly lighter charcoal        */
  --gold: #c9a84c; /* Rich gold accent                 */
  --gold-light: #e0c070; /* Gold hover state                 */
  --charcoal: #1a1a1a; /* Body text                        */
  --mid-grey: #6b6b6b; /* Secondary / muted text           */
  --white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", sans-serif;

  --nav-height: 160px;
  --logo-height: 100%;
  --max-width: 100%;
  --radius: 1px;
  --transition: 0.30s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 14px; /* Reduced from 16px — scales all rem values down ~12% */
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

/* ── Shared Section Helpers ───────────────────────────────── */

/* Offset anchor scroll so fixed navbar never covers section titles */
section[id] {
  scroll-margin-top: var(--nav-height);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 1.4rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background-color: var(--gold);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--gold-light);
  transform: translateY(-2px);
  outline: none;
}

.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--forest);
  color: var(--forest);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  transition:
    background var(--transition),
    color var(--transition);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--forest);
  color: var(--white);
  outline: none;
}

/* ============================================================
   NAVIGATION BAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2%;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background-color: transparent;
  box-shadow: none;
}

/* Scrolled — very subtle dark tint so nav links stay readable over cream sections */
.navbar.scrolled {
  background-color: rgba(20, 18, 18, 0.55);
  box-shadow: none;
}

/* Brand / logo text */
.brand {
  display: flex;
  align-items: center;
  height: 100%;
}
.brand em {
  font-style: italic;
  color: var(--gold-light);
}
.nav-logo {
  height: var(--logo-height);
  padding-top: 1.8rem;
  padding-bottom: 1rem;
  width: auto;
  display: block;
  transition: transform var(--transition);
}

.nav-logo:hover {
  transform: scale(1.05);
}

/* Nav logo link wrapper */
.nav-logo-link {
  display: flex;
  align-items: center;
  height: 100%;
  outline: none;
  border: none;
  -webkit-tap-highlight-color: transparent; /* removes tap box on iOS/Android */
}
.nav-logo-link:focus,
.nav-logo-link:focus-visible {
  outline: none;
}
/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 2.4rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
  /* Subtle shadow keeps text readable over both dark hero and light sections */
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Animated underline on hover */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  outline: none;
}

/* Hamburger menu button — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 5px;
  background-color: var(--white);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* Hamburger → X animation when menu is open */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;          /* Full viewport — no white gap below */
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("img/hero.jpg");
  background-size: cover;          /* Always fill the section fully — no letterboxing */
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;    /* Parallax feel on desktop */
  background-color: #1c1c1c;
  margin-bottom: -2px;
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

/* Text content sits above overlay */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 0 1.5rem;
  animation: fadeUp 1s ease both;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Gold horizontal rule beneath the logo */
.hero-divider {
  width: 60px;
  height: 1.5px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 1rem auto 1.4rem;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* Animated scroll arrow at bottom of hero */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.6rem;
  animation: bounce 2s infinite;
  z-index: 1;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about {
  background-color: var(--cream);
  padding: 2rem 5% 5rem;
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center; /* Vertically center text alongside the capped image */
}

.about-text p {
  color: var(--mid-grey);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.about-text .btn-secondary {
  margin-top: 1rem;
}

.about-text .culinary-experience ul{
list-style: disc;
margin-left: 1.5rem;

}

/* ============================================================
   GALLERY SECTION — 3-COLUMN GRID + LIGHTBOX
============================================================ */
.gallery {
  background-color: var(--forest);
  padding: 2rem 5% 5rem;
}

.gallery-header {
  text-align: center;
}

/* Override section-title colour inside dark section */
.gallery .section-title {
  color: var(--cream);
}

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 1200px;
  margin: 2rem auto 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background-color: var(--forest-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Hover overlay */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(0, 0, 0, 0.42);
}

/* Expand icon — appears on hover */
.gallery-expand-icon {
  width: 32px;
  height: 32px;
  color: var(--white);
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.gallery-item:hover .gallery-expand-icon {
  opacity: 1;
  transform: scale(1);
}

/* ── Lightbox Modal ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

/* Dark full-screen backdrop */
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.94);
  cursor: zoom-out;
}

/* Image wrapper — sits above backdrop */
.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 88vh;
  pointer-events: none;
}

#lightboxImg {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#lightboxImg.loaded {
  opacity: 1;
}

/* Close button — top right */
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.2rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Prev / Next nav buttons */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  padding-bottom: 2px; /* optical centre for arrow glyphs */
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }

/* Image counter — bottom centre */
.lightbox-counter {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  pointer-events: none;
  white-space: nowrap;
}

/* ============================================================
   SEE MORE BUTTON
============================================================ */
.gallery-more-wrap {
  text-align: center;
  margin-top: 2.8rem;
}

.gallery-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 2.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.gallery-more-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  border-color: var(--gold);
}

.gallery-more-btn svg {
  transition: transform 0.35s ease;
}

.gallery-more-btn:hover svg {
  transform: translateY(3px);
}

/* ============================================================
   FULL GALLERY MODAL
============================================================ */

/*
  Layer order (bottom → top):
    1. .gallery-modal-backdrop   — position: absolute, fills modal, z-index 0
    2. .gallery-modal-scroll     — position: absolute, inset 0, overflow-y: auto, z-index 1
    3. .gallery-modal-inner      — normal flow inside the scroll wrapper
    4. .lightbox                 — z-index 3000, sits above all of the above

  Why this matters:
    The backdrop is NEVER exposed during scrolling because .gallery-modal-scroll
    covers 100% of the modal area. This eliminates the bug where scroll-end
    touchevents landed on the backdrop and triggered closeGalleryModal().
*/

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  /* visibility + opacity transition prevents flicker on open/close */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}

.gallery-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s ease; /* no delay on visibility when opening */
}

/* Backdrop — absolute (not fixed!) so it doesn't escape the fixed modal */
.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 0;
  /* pointer-events: none so all clicks fall through to .gallery-modal-scroll */
  pointer-events: none;
}

/* Scroll wrapper — the ONLY scrollable element; sits above backdrop */
.gallery-modal-scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;  /* stop scroll from bleeding to the page behind */
  cursor: default;
}

/* Inner content — normal flow inside the scroll wrapper */
.gallery-modal-inner {
  position: relative;
  min-height: 100%;
  padding: 2.5rem 5% 5rem;
  /* Slide-up entrance tied to the modal's opacity transition */
  transform: translateY(0);
}

/* Header row: label + title left, X close right — STICKY so × is always reachable */
.gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  /* Sticky: stays pinned to the top of the scroll wrapper while content scrolls */
  position: sticky;
  top: 0;
  z-index: 2;
  /* Match the modal background so it doesn't look transparent over gallery tiles */
  background: rgba(10, 10, 10, 0.97);
  /* Extend background into the padding so tiles don't peek through at the edges */
  margin-left: -5%;
  margin-right: -5%;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 1.8rem;
}

.gallery-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
}

/* X close button */
.gallery-modal-close {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Grid inside the modal */
.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

/* Modal items start fully visible */
.gallery-modal-grid .gallery-item {
  opacity: 1 !important;
  transform: none !important;
  transition: none;
}

.gallery-modal-grid .gallery-item img {
  transition: transform 0.45s ease;
}

.gallery-modal-grid .gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-modal-grid .gallery-item:hover .gallery-item-overlay {
  background: rgba(0, 0, 0, 0.42);
}

.gallery-modal-grid .gallery-item:hover .gallery-expand-icon {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   CONTACT / BOOKING FORM SECTION
============================================================ */
.contact {
  background-color: var(--cream-dark);
  padding: 2rem 5% 5rem;
}

.contact-inner {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr 1.4fr; /* Info + form side by side */
  gap: 5rem;
  align-items: start;
}

.contact-info p {
  color: var(--mid-grey);
  font-size: 0.97rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-details li {
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* Booking form: 2-column grid for inputs */
.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* Full-width field override */
.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
}

.required {
  color: var(--gold);
}

/* All form inputs share the same style */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background-color: var(--white);
  border: 1px solid #d8cfbf;
  border-radius: var(--radius);
  outline: none;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 154, 90, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Success message — hidden by default, shown by JS after submit */
.form-success {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  color: var(--forest-light);
  font-style: italic;
  font-size: 0.95rem;
  padding: 1rem;
  border: 1px solid var(--forest-light);
  border-radius: var(--radius);
  background-color: rgba(44, 61, 46, 0.06);
}
.form-success.visible {
  display: block;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background-color: #2c2a2a;
  color: var(--white);
  padding: 32px 5% 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

/* Brand link — wraps the text, takes user back to #home */
.footer-brand-link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.footer-brand-link .brand {
  transition: color var(--transition);
}

.footer-brand-link:hover .brand,
.footer-brand-link:focus-visible .brand {
  color: var(--gold-light);
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.4rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.footer-follow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

/* Individual social media link */
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}
.social-link:hover {
  color: var(--gold-light);
}

/* ── Footer Bottom Bar ── */
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 0 1.2rem;
}

/* Copyright row: copyright left — agency credit right */
.footer-copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.32);
}

.footer-agency {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.32);
}

.footer-agency-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}

.footer-agency-link:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

/* Legal links row — Cookie Policy | Privacy Policy | Terms | Contact */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal-link:hover {
  color: var(--gold);
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.65rem;
  line-height: 1;
}

/* ============================================================
   COOKIE CONSENT BANNER
============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  background: #1a1919;
  border-top: 1px solid rgba(201, 168, 76, 0.25);
  padding: 1.1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  /* Starts off-screen; JS adds .visible to slide it up */
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.45);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  flex: 1;
  min-width: 220px;
}

.cookie-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}
.cookie-link:hover {
  color: var(--gold-light);
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.cookie-btn--decline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.55);
}

.cookie-btn--decline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-btn--accept {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--white);
}

.cookie-btn--accept:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}


/* ============================================================
   RESPONSIVE — TABLET  (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  :root {
    --nav-height: 130px;
    --logo-height: 100%;
  }

  /* Slightly reduce logo padding so more of the image shows */
  .nav-logo {
    padding-top: 1.2rem;
    padding-bottom: 0.8rem;
  }

  .hero {
    background-size: cover;
    background-attachment: scroll;
    height: 100vh;
    min-height: 500px;
  }

  /* Stack about into one column */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-wrap {
    max-width: 580px;
    max-height: 400px;
    margin: 0 auto;
  }

  .about-img {
    max-height: 400px;
  }

  /* Gallery grid — 2 columns on tablet */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .gallery-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .lightbox-nav {
    width: 46px;
    height: 46px;
    font-size: 1.9rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE  (max 768px)
============================================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 80px;
    --logo-height: 80px;
  }

  /* Reduce padding so the logo image actually has room to breathe */
  .nav-logo {
    padding-top: 0.8rem;
    padding-bottom: 0.5rem;
  }

  /* ── Navbar ── */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--forest);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1rem;
    letter-spacing: 0.2em;
  }

  /* ── Hero ── */
  .hero {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    min-height: 500px;
  }

  .hero-content {
    padding: 0 1.2rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 1.6rem;
  }

  .hero-tagline {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  /* ── About ── */
  .about {
    padding: 1.5rem 5% 60px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image-wrap {
    max-width: 100%;
    max-height: 280px;
  }

  .about-img {
    max-height: 280px;
    object-position: center 15%;
  }

  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  /* ── Gallery ── */
  .gallery {
    padding: 1.5rem 4% 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin: 1.5rem auto 0;
  }

  .gallery-modal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .gallery-modal-inner {
    padding: 1.5rem 4% 4rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .lightbox-nav.prev { left: 0.5rem; }
  .lightbox-nav.next { right: 0.5rem; }

  /* ── Contact ── */
  .contact {
    padding: 1.5rem 5% 60px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  /* ── Footer ── */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  (max 480px)
============================================================ */
@media (max-width: 480px) {
  :root {
    --nav-height: 70px;
    --logo-height: 70px;
  }

  /* Minimal padding so the logo fills the bar */
  .nav-logo {
    padding-top: 0.6rem;
    padding-bottom: 0.4rem;
  }

  .hero {
    height: 100vh;
    min-height: 480px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero-sub {
    font-size: 0.85rem;
  }

  .btn-primary {
    font-size: 0.78rem;
    padding: 0.75rem 1.6rem;
  }

  .about {
    padding: 1.2rem 4% 50px;
  }

  .about-image-wrap {
    max-height: 240px;
  }

  .about-img {
    max-height: 240px;
  }

  .gallery {
    padding: 1.2rem 3% 30px;
  }

  .gallery-grid {
    gap: 3px;
  }

  .contact {
    padding: 1.2rem 4% 50px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}

/* ── Form field hints (email validation feedback) ──────────── */
.field-hint {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  margin-top: 0.3rem;
  min-height: 1.1em;
  transition: color var(--transition);
}
.hint-error { color: #b94a48; }
.hint-ok    { color: #4a8c5c; }
