/* ==========================================================================
   RIM ZU RA — Vidinės tylos namai (Inner Silence Homestead)
   Design System & Main Stylesheet
   ========================================================================== */

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

:root {
  /* Color Palette - Earthy, Nature-First */
  --color-forest: #233729;
  --color-forest-light: #324e3a;
  --color-forest-dark: #16241b;
  --color-forest-subtle: #edf3ee;

  --color-clay: #b2653e;
  --color-clay-light: #ca7c55;
  --color-clay-dark: #8e4926;
  --color-clay-soft: #faeee7;

  --color-honey: #c88a2e;
  --color-honey-light: #dfa348;
  --color-honey-soft: #fcf4e6;

  --color-moss: #6c7e65;
  --color-sage: #8fa089;
  --color-sage-soft: #eef3ed;

  --bg-body: #faf8f4;
  --bg-card: #ffffff;
  --bg-alt: #f2ece3;
  --bg-dark: #1a241c;
  --bg-dark-surface: #253328;

  --text-main: #24221d;
  --text-muted: #67635a;
  --text-light: #f7f5ef;
  --text-light-muted: #b8c2b7;

  --border-color: #e4ddd2;
  --border-dark: #324436;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, Cambria, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radius & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(35, 55, 41, 0.05);
  --shadow-md: 0 8px 24px rgba(35, 55, 41, 0.08);
  --shadow-lg: 0 16px 40px rgba(35, 55, 41, 0.12);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* <picture> only picks the file; the <img> inside is sized by the parent */
picture {
  display: contents;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  color: var(--color-forest-dark);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1.15rem;
}

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

.lead-text {
  font-size: clamp(1.125rem, 1.4vw, 1.3rem);
  color: var(--text-muted);
  line-height: 1.7;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 880px;
}

.section {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.section-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark .lead-text,
.section-dark .text-muted {
  color: var(--text-light-muted);
}

/* Section Header Badges & Titles */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.badge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-clay);
  background-color: var(--color-clay-soft);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-kicker.forest {
  color: var(--color-forest);
  background-color: var(--color-forest-subtle);
}

.badge-kicker.honey {
  color: var(--color-honey);
  background-color: var(--color-honey-soft);
}

.section-dark .badge-kicker {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-honey-light);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-forest);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--color-forest-light);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-clay {
  background-color: var(--color-clay);
  color: #ffffff;
}

.btn-clay:hover {
  background-color: var(--color-clay-dark);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-forest);
  color: var(--color-forest);
}

.btn-outline:hover {
  background-color: var(--color-forest);
  color: var(--text-light);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--text-light);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: var(--color-forest-dark);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Header & Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  height: var(--header-height);
}

.site-header.scrolled {
  background-color: rgba(250, 248, 244, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-forest-dark);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-clay);
  font-weight: 500;
}

/* Nav Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-clay);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-forest-dark);
  font-weight: 600;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: var(--bg-alt);
  padding: 0.25rem 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  gap: 0.25rem;
}

.lang-btn {
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background-color: var(--color-forest);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  color: var(--text-main);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-forest-dark);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--bg-body);
  z-index: 2000;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-nav .nav-link {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  font-weight: 500;
}

.drawer-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Homepage Hero Section */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
  background-color: var(--color-forest-dark);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(22, 36, 27, 0.25) 0%,
    rgba(22, 36, 27, 0.5) 55%,
    rgba(22, 36, 27, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 4rem 1.5rem;
}

.hero-logo-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: #ffffff;
  margin-bottom: 2.25rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero .btn-group {
  justify-content: center;
}

/* ==========================================================================
   Inner Pages Banner Hero (.page-hero)
   Optimized for maximum photo clarity, warmth & readable typography
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: var(--color-forest-dark);
  color: var(--text-light);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.9) contrast(1.02);
}

/* Light gradient overlay: subtle tint at top, soft grounding at bottom */
.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(18, 28, 20, 0.2) 0%,
    rgba(18, 28, 20, 0.45) 50%,
    rgba(18, 28, 20, 0.75) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.page-hero .lead-text {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero .badge-kicker {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Feature Cards Grid (Home Teasers) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(178, 101, 62, 0.3);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(35, 55, 41, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--color-forest-dark);
}

.card-text {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-clay);
  transition: gap var(--transition-fast);
}

.link-arrow:hover {
  color: var(--color-clay-dark);
  gap: 0.7rem;
}

/* Split Rows (Detailed Experiences & Stays) */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}

.split-feature:last-child {
  margin-bottom: 0;
}

.split-feature.reverse {
  direction: rtl;
}

.split-feature.reverse > * {
  direction: ltr;
}

.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.feature-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-media:hover img {
  transform: scale(1.04);
}

/* Upright photos (e.g. people) are shown whole, not cropped */
.feature-media--portrait {
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
}

.feature-media.feature-media--portrait img {
  height: auto;
}

.feature-info {
  display: flex;
  flex-direction: column;
}

.feature-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meta-item strong {
  color: var(--color-forest-dark);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 1.125rem;
  color: var(--text-main);
}

.checklist-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-clay);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 36, 27, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Molinukas video (Stay page) */
.stay-video {
  margin: 2.5rem auto 0;
  max-width: 900px;
}

.stay-video video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-dark);
}

.stay-video figcaption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-honey);
}

.product-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--color-honey-soft);
  color: var(--color-honey);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--bg-alt);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Events List */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-forest);
}

.event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--color-forest-subtle);
  color: var(--color-forest);
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  text-align: center;
}

.event-date-day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-serif);
}

.event-date-month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-details h3 {
  margin-bottom: 0.4rem;
}

.event-details p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-clay);
  font-weight: 500;
}

.events-intro {
  max-width: 900px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
}

.events-empty {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.event-card.is-cancelled {
  background-color: var(--bg-alt);
  box-shadow: none;
}

.event-card.is-cancelled .event-date-box {
  background-color: var(--bg-body);
  color: var(--text-muted);
}

.event-details p.event-note {
  color: var(--color-clay-dark);
}

.events-reserve {
  max-width: 780px;
  margin: 3.5rem auto 0;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.events-reserve h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

/* Forms & Inputs */
.form-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group.span-2 {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-forest-dark);
}

.form-label .required {
  color: var(--color-clay);
}

.form-label .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-body);
  color: var(--text-main);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-forest);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(35, 55, 41, 0.12);
}

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

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-status.error {
  display: block;
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

/* Contact Details & Info Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-forest-subtle);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-method h4 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.contact-method p,
.contact-method a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-method a:hover {
  color: var(--color-clay);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 380px;
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* About Founder Story Highlight */
.story-box {
  background-color: var(--bg-alt);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border: 1px solid var(--border-color);
}

.quote-block {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-forest-dark);
  border-left: 4px solid var(--color-clay);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.value-card {
  padding: 2rem;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.value-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--color-sage-soft);
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.value-card-icon svg {
  width: 30px;
  height: 30px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 23, 17, 0.95);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  padding: 2rem;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: 2.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-brand .brand-subtitle {
  color: var(--color-honey-light);
}

.footer-brand p {
  color: var(--text-light-muted);
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  color: var(--text-light-muted);
  font-size: 0.92rem;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-honey-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-clay);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .split-feature {
    grid-template-columns: 1fr;
  }
  .split-feature.reverse {
    direction: ltr;
  }
  .feature-media img {
    height: 320px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }
  .cards-grid,
  .products-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.span-2 {
    grid-column: span 1;
  }
  .gallery-item.span-2 {
    grid-column: span 1;
  }
  .event-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.25rem;
  }
  .event-date-box {
    margin: 0 auto;
  }
  .event-meta {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
  }
}

/* Reduced motion: no smooth scrolling, transitions or hover movement */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .card:hover,
  .card:hover img,
  .gallery-item:hover img,
  .product-card:hover,
  .event-card:hover,
  .feature-media:hover img {
    transform: none !important;
  }
}

/* Admin (/admin, rendered by worker/index.js) — phone first, big targets */
body.admin {
  background-color: var(--bg-alt);
}

.admin-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.admin-head {
  margin-bottom: 1.25rem;
}

.admin-head h1 {
  font-size: 1.8rem;
}

.admin-nav a {
  color: var(--color-clay-dark);
  text-decoration: underline;
}

.admin-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-link {
  background: none;
  border: none;
  color: var(--color-clay-dark);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.5rem 0;
}

.admin-section {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-section form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-section h2 {
  font-size: 1.5rem;
}

.admin-section h3 {
  font-size: 1.15rem;
}

.admin-hint {
  color: var(--text-muted);
  font-size: 1rem;
}

.admin-pair {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-check input {
  width: 1.75rem;
  height: 1.75rem;
  accent-color: var(--color-forest);
}

.admin .form-control {
  font-size: 1.125rem;
}

.admin-btn {
  width: 100%;
}

.admin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-body);
}

.admin-item-note {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.admin .form-status {
  margin: 0 0 1rem;
}
