/* ============================================
   Cheryl Taylor — Main Stylesheet
   Expressive Therapist, Educator & Supervisor
   Inverloch, Victoria, Australia
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ============================================
   CSS Custom Properties
   ============================================ */

:root {
  --color-primary: #4A6741;
  --color-primary-light: #6B8F5E;
  --color-primary-dark: #3A5233;
  --color-warm: #C4A882;
  --color-warm-light: #E8DCC8;
  --color-cream: #FAF7F2;
  --color-white: #FFFFFF;
  --color-text: #3D3D3D;
  --color-text-light: #6B6B6B;
  --color-border: #E0D8CC;
  --color-footer-bg: #3A3A3A;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1100px;
  --section-padding: 5rem 1.5rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.13);

  --transition: all 0.3s ease;
  --header-height: 72px;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-primary);
  border-left: 3px solid var(--color-warm);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  line-height: 1.65;
}

/* ============================================
   Layout Utilities
   ============================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section--cream { background-color: var(--color-cream); }
.section--warm  { background-color: var(--color-warm-light); }
.section--white { background-color: var(--color-white); }

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

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-warm);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.8rem 1.85rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  line-height: 1;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--warm {
  background-color: var(--color-warm);
  color: var(--color-white);
  border-color: var(--color-warm);
}
.btn--warm:hover {
  background-color: #b39470;
  border-color: #b39470;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* ============================================
   Header / Navigation
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}
.nav-logo:hover {
  color: var(--color-primary);
}
.nav-logo span {
  display: block;
  font-size: 0.62rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text);
  padding: 0.45rem 0.8rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  background-color: rgba(74, 103, 65, 0.08);
}

.nav-cta {
  margin-left: 0.75rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-cream);
  z-index: 99;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  display: block;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: var(--color-text);
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.nav-mobile a:hover {
  color: var(--color-primary);
}
.nav-mobile .btn {
  margin-top: 2rem;
  text-align: center;
  display: block;
  font-size: 1rem;
}

/* ============================================
   Page offset for fixed header
   ============================================ */

.page-content {
  padding-top: var(--header-height);
}

/* ============================================
   Hero (Homepage)
   ============================================ */

.hero {
  background-color: var(--color-warm-light);
  padding: 5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text .section-label {
  margin-bottom: 1rem;
}
.hero-text h1 {
  margin-bottom: 1.1rem;
}
.hero-text p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Portrait image frame — shows a warm placeholder while image loads */
.hero-image-frame {
  width: 320px;
  height: 420px;
  border-radius: var(--border-radius-lg);
  background: linear-gradient(160deg, var(--color-warm-light) 0%, var(--color-warm) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
  justify-self: center;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ============================================
   Page Hero (interior pages)
   ============================================ */

.page-hero {
  background-color: var(--color-warm-light);
  padding: 4.5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-cream);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  margin-bottom: 1rem;
}
.page-hero > .container > p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto;
}
.page-hero blockquote {
  max-width: 620px;
  margin: 1.5rem auto 0;
  border-left: none;
  text-align: center;
  padding: 1rem 0;
  font-size: 1.25rem;
}

/* ============================================
   Two-column layouts
   ============================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.two-col--wide {
  grid-template-columns: 3fr 2fr;
}

/* ============================================
   Content block (prose width)
   ============================================ */

.content-block {
  max-width: 760px;
}
.content-block h2,
.content-block h3 {
  margin-top: 2rem;
  margin-bottom: 0.9rem;
}
.content-block h2:first-child,
.content-block h3:first-child {
  margin-top: 0;
}

/* ============================================
   Qualifications list
   ============================================ */

.qualifications {
  margin-top: 1.25rem;
}
.qualifications li {
  padding: 0.65rem 0 0.65rem 1.5rem;
  position: relative;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem;
  line-height: 1.5;
}
.qualifications li:last-child {
  border-bottom: none;
}
.qualifications li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-warm);
  flex-shrink: 0;
}

/* ============================================
   Services cards (homepage)
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.service-card::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: var(--color-warm);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-warm-light);
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.93rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.link-arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}
.link-arrow:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   Approach / features list
   ============================================ */

.approach-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.approach-item {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}
.approach-item p {
  font-size: 0.93rem;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   Info box
   ============================================ */

.info-box {
  background: var(--color-warm-light);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem 2rem;
  border: 1px solid var(--color-border);
}
.info-box h3 {
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.info-box ul li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  font-size: 0.93rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(196, 168, 130, 0.3);
}
.info-box ul li:last-child {
  border-bottom: none;
}
.info-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* ============================================
   About section grid (homepage)
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ============================================
   Contact Strip
   ============================================ */

.contact-strip {
  background-color: var(--color-primary-dark);
  padding: 4rem 1.5rem;
  text-align: center;
}
.contact-strip h2 {
  color: var(--color-white);
  margin-bottom: 0.6rem;
  font-size: 2rem;
}
.contact-strip > .container > p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.contact-strip-details {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}
.contact-detail .label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.contact-detail a,
.contact-detail span {
  color: var(--color-warm-light);
  font-size: 1rem;
  font-weight: 600;
}
.contact-detail a:hover {
  color: var(--color-white);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background-color: var(--color-footer-bg);
  padding: 3.5rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
}
.footer-portrait {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.footer-brand p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}
.footer-contact {
  margin-top: 1rem;
}
.footer-contact a {
  color: var(--color-warm-light);
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.4rem;
}
.footer-contact a:hover {
  color: var(--color-white);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-nav a:hover {
  color: var(--color-white);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   Contact form
   ============================================ */

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-cream);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.12);
}
.form-group textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}
.form-error {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 0.35rem;
  display: none;
}
.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #c0392b;
}
.form-group.has-error .form-error {
  display: block;
}

/* Honeypot — hidden from real users, traps bots */
.form-honeypot {
  display: none !important;
  visibility: hidden !important;
}

.form-submit-wrap {
  margin-top: 1.75rem;
}
#form-feedback {
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  margin-top: 1.25rem;
  font-size: 0.93rem;
  display: none;
}
#form-feedback.success {
  background: rgba(74, 103, 65, 0.1);
  color: var(--color-primary-dark);
  border: 1px solid rgba(74, 103, 65, 0.25);
  display: block;
}
#form-feedback.error {
  background: rgba(192, 57, 43, 0.07);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.2);
  display: block;
}

/* ============================================
   Workshops / notice box
   ============================================ */

.notice-box {
  background: var(--color-warm-light);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem 2.25rem;
  text-align: center;
}
.notice-box h3 {
  margin-bottom: 0.75rem;
}
.notice-box p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ============================================
   Responsive — Tablet (max 900px)
   ============================================ */

@media (max-width: 900px) {
  :root {
    --section-padding: 4rem 1.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-image-frame {
    margin: 0 auto;
    width: 240px;
    height: 310px;
  }
  .hero-text p {
    margin: 0 auto 0;
  }
  .hero-actions {
    justify-content: center;
  }

  .about-grid,
  .two-col,
  .two-col--wide {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .approach-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .footer-nav {
    grid-column: 1 / -1;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
  }
}

/* ============================================
   Responsive — Mobile (max 768px)
   ============================================ */

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .contact-strip-details {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .contact-form-wrap {
    padding: 1.75rem 1.25rem;
  }

  .two-col {
    gap: 2rem;
  }
}

/* ============================================
   Responsive — Small mobile (max 480px)
   ============================================ */

@media (max-width: 480px) {
  :root {
    --section-padding: 3rem 1.25rem;
    --header-height: 64px;
  }

  .hero {
    padding: 3rem 1.25rem 4rem;
  }
  .hero-image-frame {
    width: 200px;
    height: 260px;
  }
  .page-hero {
    padding: 3rem 1.25rem 3.5rem;
  }
}

/* ============================================
   Background Textures, Dot Patterns & Parallax
   ============================================ */

/* Subtle dot grid on cream sections
   Sage green circles at 5% opacity — almost invisible but adds organic warmth */
.section--cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='14' cy='14' r='1.4' fill='%234A6741' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Same dot grid on white sections, even lighter */
.section--white {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='14' cy='14' r='1.4' fill='%234A6741' fill-opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* White dot grid for the dark footer */
.site-footer {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='1.1' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ----------------------------------------
   Hero — parallax nature background
   A warm cream gradient sits over the fixed
   Inverloch photo, letting it subtly show
   through as you scroll.
   ---------------------------------------- */
.hero {
  background-color: var(--color-warm-light); /* fallback if image fails */
  background-image:
    linear-gradient(160deg, rgba(232, 220, 200, 0.84) 0%, rgba(232, 220, 200, 0.90) 100%),
    url('../images/inverloch/inverloch-01.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: scroll, fixed;
  background-repeat: repeat, no-repeat;
}

/* Interior page heroes — same parallax effect */
.page-hero {
  background-color: var(--color-warm-light);
  background-image:
    linear-gradient(160deg, rgba(232, 220, 200, 0.82) 0%, rgba(232, 220, 200, 0.89) 100%),
    url('../images/inverloch/inverloch-01.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: scroll, fixed;
  background-repeat: repeat, no-repeat;
}

/* Warm sections — nature photo at even more opacity,
   creating a gentle textured warmth between sections */
.section--warm {
  background-color: var(--color-warm-light);
  background-image:
    linear-gradient(rgba(232, 220, 200, 0.91), rgba(232, 220, 200, 0.91)),
    url('../images/inverloch/inverloch-01.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: scroll, fixed;
  background-repeat: repeat, no-repeat;
}

/* Contact strip — dark sage overlay over the same parallax image */
.contact-strip {
  background-color: var(--color-primary-dark);
  background-image:
    linear-gradient(rgba(58, 82, 51, 0.93), rgba(58, 82, 51, 0.95)),
    url('../images/inverloch/inverloch-01.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: scroll, fixed;
  background-repeat: repeat, no-repeat;
}

/* ----------------------------------------
   Mobile: disable fixed background attachment
   iOS Safari ignores background-attachment: fixed
   and it causes rendering issues on Android too.
   On small screens we fall back to scroll.
   ---------------------------------------- */
@media (max-width: 768px) {
  .hero,
  .page-hero,
  .section--warm,
  .contact-strip {
    background-attachment: scroll, scroll;
  }
}

/* ============================================
   Content images (inline within page sections)
   ============================================ */

.content-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 1.5rem;
  position: relative;
}
.content-image img {
  width: 100%;
  height: auto;
  display: block;
}
.content-image figcaption {
  font-size: 0.8rem;
  color: var(--color-text-light);
  padding: 0.6rem 1rem;
  font-style: italic;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* Image shown beside sections on larger screens */
.section-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.section-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Sandplay gallery — three images in a row */
.sandplay-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.sandplay-gallery figure {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.sandplay-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.sandplay-gallery figure:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .sandplay-gallery {
    grid-template-columns: 1fr;
  }
  .sandplay-gallery img {
    height: 240px;
  }
}
