/* =====================
   Global Variables
===================== */
:root {
  /* Typography Scale */
  --font-size-base: clamp(1rem, 0.9rem + 0.3vw, 1.125rem); /* Base font size */
  --font-size-sm: clamp(0.875rem, 0.8rem + 0.2vw, 1rem); /* Small text */
  --font-size-md: clamp(1rem, 0.95rem + 0.3vw, 1.25rem); /* Medium text */
  --font-size-lg: clamp(1.5rem, 1.3rem + 0.6vw, 2rem); /* Large text */
  --font-size-xl: clamp(2rem, 1.7rem + 1vw, 3rem); /* Extra large headings */
  --font-size-xxl: clamp(3rem, 2.5rem + 2vw, 4rem); /* Hero headings */

  /* Line Heights */
  --line-height-base: 1.6;
  --line-height-heading: 1.2;

  /* Font Families */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Colours */
  --color-background: #FDFCF8;
  --color-text: #2E2E2E;
  --color-accent: #C4A962;
  --color-accent-dark: #a68c53;
  --color-muted: #555;

  /* Spacing Scale */
  --space-xs: clamp(0.25rem, 0.2rem + 0.1vw, 0.5rem);
  --space-sm: clamp(0.5rem, 0.4rem + 0.2vw, 0.75rem);
  --space-md: clamp(1rem, 0.8rem + 0.4vw, 1.5rem);
  --space-lg: clamp(2rem, 1.5rem + 0.8vw, 3rem);
  --space-xl: clamp(3rem, 2rem + 1vw, 4rem);
  --header-height: 96px;
}

/* =====================
   Global Reset & Base
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: var(--line-height-base);
  font-size: var(--font-size-base);
  overflow-x: hidden;
  padding-top: var(--header-height);
}

/* =====================
   Typography
===================== */
@font-face {
  font-family: 'Lora';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lora/lora-v36-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/lora/lora-v36-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter/inter-v19-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter/inter-v19-latin-regular.woff2') format('woff2');
}

h1, h2, h3 {
  font-family: var(--font-serif);
}

h1 {
  font-size: var(--font-size-xxl);
  margin-bottom: 1rem;
}

h2 {
  font-size: var(--font-size-xl);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-base);
  margin-bottom: 1rem;
  color: var(--color-text);
}

nav, button {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
}

p.exclusivity {
  max-width: 40rem;
}

/* =====================
   Layout Grid
===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =====================
   Navigation
===================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: var(--header-height);
  background: rgba(253, 252, 248, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.logo img {
  height: calc(var(--header-height) - 16px);
  max-height: calc(var(--header-height) - 16px);
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  color: var(--color-text);
}
.nav-links a:visited {
  color: var(--color-text);
}
.nav-links a:hover { color: #C4A962; }

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #2E2E2E;
  cursor: pointer;
  z-index: 1101;
}

/* =====================
   Overlay Menu
===================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* =====================
   Hero Sections
===================== */
.hero-full, .split-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.hero-full {
  height: 550px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-full .hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  color: #fff;
}


.split-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 4rem 2rem;
}

.split-hero .hero-image, 
.split-hero .hero-text { 
  flex: 1; 
}

.split-hero .hero-image img { 
  width: 100%; 
}


/* Specific text styles */
.split-hero p.hero {
  font-size: var(--font-size-lg);      /* Larger size for emphasis */
  line-height: 1.5;
  font-weight: 300;
  color: #333;
  max-width: 42rem;
  margin-bottom: 1rem;
}

.split-hero p.exclusivity {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.hero-image-block {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-image-block img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image-block .image-text-overlay {
  margin-top: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Full-bleed wide hero (image above heading) */
.hero-wide {
  width: 100vw;                       /* edge-to-edge */
  margin-left: calc(-50vw + 50%);     /* break out of .container */
}
.hero-wide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* spacing for header content under the hero image */
section.container .hero-below {
  text-align: center;
  margin-top: var(--space-lg);
}

@media (max-width: 768px) {
  /* Wide hero on mobile */
  .hero-wide {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  section.container .hero-below { margin-top: var(--space-md); }

  /* Split Hero Section */
  .split-hero {
    flex-direction: column;
    text-align: center;
  }
  .split-hero .hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
  }
  .split-hero .hero-text {
    padding: 1rem;
  }

  /* Image-Text Sections */
  .image-text { display: block !important; text-align: left; }
  .image-text img { width: 100%; height: auto; margin-bottom: 0.75rem; }

  /* Hero Image Block */
  .hero-image-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-width: 100%;
  }
  .container { padding: 0 1rem; }
  .image-text img { margin-bottom: 0.5rem; }
}

/* Tighter layout for tablets & small laptops */
@media (max-width: 1024px) {
  /* Stack image/text sections to avoid squashing */
  .image-text { 
    grid-template-columns: 1fr; 
    gap: 1.75rem; 
  }
  /* Force stack on tablet and below */
  .image-text { display: block !important; }
  .image-text > * { width: 100%; }
  .image-text > :not(img) { margin-top: 1rem; }
  .container { padding: 0 1rem; }

  /* Headings scale down a touch for readability */
  h1 { font-size: clamp(2.1rem, 1.3rem + 2.5vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.2rem); }

  /* Ensure images don’t overflow when stacked */
  .image-text img { width: 100%; height: auto; }
}

/* =====================
   Sections
===================== */
section {
  padding: 3rem 0;
  margin-bottom: 3rem;
}

/* Extra spacing below final paragraph in sections to make room for CTAs */
section > p:last-of-type,
section .text > p:last-of-type { 
  margin-bottom: 2rem; 
}

/* Ensure spacing under section content so buttons don't clash */
section .button,
section a.button {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  display: inline-block;
}

.image-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.image-text img { width: 100%; }

/* =====================
   Buttons
===================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 2rem;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  font-size: var(--font-size-md);
  letter-spacing: 0.5px;
  border: 2px solid #C4A962;
  border-radius: 6px;
  background: #fff;
  color: #2E2E2E;
  transition: all 0.3s ease;
  text-decoration: none;
}
.button:hover { 
  background: #C4A962; 
  color: #fff; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* =====================
   Floating Enquire Button
===================== */
.enquire-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #C4A962;
  color: #fff;
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1100;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.enquire-button.visible {
  opacity: 1;
  transform: translateY(0);
}
.enquire-button:hover {
  background: #a68c53;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
body.contact .enquire-button { display: none; }

/* =====================
   Fade-in Animations
===================== */
.fade-in { opacity: 0; transform: translateY(20px); transition: all 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.3s; }
.fade-delay-3 { transition-delay: 0.5s; }

/* =====================
   Mobile Navigation
===================== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 1300;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    display: none; /* fully removed initially */
    z-index: 950;
  }

  .nav-links.show {
    display: flex; /* revealed on toggle */
    animation: slideDown 0.4s ease forwards;
  }

  @keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
  }

  .nav-links a {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: var(--color-text);
  }

  .nav-links.show a {
    opacity: 1;
    transform: translateY(0);
  }

  .overlay {
    z-index: 1000;
  }
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #555;
  background: #FDFCF8;
}

footer a {
  display: block;
  margin-top: 0.5rem;
  text-decoration: none;
  color: #2E2E2E;
  font-size: 0.85rem;
}

footer a:hover {
  color: #C4A962;
}

/* Ensure floating button clears footer visually */
body:not(.contact) footer {
  margin-bottom: 4rem; /* adds spacing so footer doesn't clash with floating button */
}

/* =====================
   Contact Form (Luxury)
===================== */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid #e2dcd0; /* soft beige border */
    border-radius: 12px;
    padding: 3rem;
    max-width: 650px;
    margin: 3rem auto;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05); /* subtle depth */
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-family: var(--font-serif);
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
    color: #2E2E2E;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d8d2c5;
    border-radius: 6px;
    background-color: #fdfcf8;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #b59d77; /* subtle gold accent */
    box-shadow: 0 0 6px rgba(181, 157, 119, 0.2); /* soft glow */
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button {
    background-color: #b59d77;
    color: #fff;
    border: none;
    padding: 0.85rem 2rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.contact-form button:hover {
    background-color: #a28b68;
}

/* Honeypot hidden */
.honeypot {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

/* =====================
   Direct Contact Block (Matching Panel)
===================== */
.contact-details {
    background: #ffffff;
    border: 1px solid #e2dcd0;
    border-radius: 12px;
    padding: 2rem;
    max-width: 650px;
    margin: 3rem auto 0;
    text-align: center;
    font-family: var(--font-serif);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}



.contact-details a {
    color: #b59d77;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #a28b68;
}

/* =====================
   Image Protection
===================== */
img.no-save {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none; /* Prevents iOS long-press save menu */
}

.figure-guard {
  position: relative;
}

.figure-guard::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: auto; /* intercept right-click/long-press */
  background: transparent;
}