/* ========================================
   Mayrhof - Urlaub am Bauernhof
   Global Styles
   ======================================== */

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

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #3A6B35;
  --color-primary-dark: #2D5429;
  --color-primary-light: #4A7D45;
  --color-secondary: #8B5E3C;
  --color-secondary-light: #A67650;
  --color-accent: #D4A843;
  --color-accent-light: #E0BD66;
  --color-sage: #7BA05B;
  --color-sage-light: #9BBD80;
  --color-bg: #FFFDF8;
  --color-bg-warm: #FAF5ED;
  --color-bg-cream: #F5EDE0;
  --color-text: #4A3728;
  --color-text-light: #7A6655;
  --color-text-muted: #9A8A7A;
  --color-white: #FFFFFF;
  --color-border: #E5DAC8;
  --color-border-light: #F0E8DC;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-handwriting: 'Caveat', cursive;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(74, 55, 40, 0.06);
  --shadow-md: 0 4px 20px rgba(74, 55, 40, 0.08);
  --shadow-lg: 0 8px 40px rgba(74, 55, 40, 0.12);
  --shadow-xl: 0 16px 60px rgba(74, 55, 40, 0.16);

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;
  --spacing-3xl: 8rem;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p + p { margin-top: var(--spacing-sm); }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: var(--spacing-3xl) 0;
}

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

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

.section--green {
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-bg);
}

.section--green h2,
.section--green h3,
.section--green h4 {
  color: var(--color-bg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  margin-bottom: var(--spacing-sm);
}

.section-header .subtitle {
  font-family: var(--font-handwriting);
  font-size: 1.4rem;
  color: var(--color-sage);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-light);
}

/* Decorative leaf divider */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: var(--spacing-lg) auto;
}

.leaf-divider::before,
.leaf-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--color-border);
}

.leaf-divider svg {
  width: 24px;
  height: 24px;
  fill: var(--color-sage);
  flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(58, 107, 53, 0.3);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(58, 107, 53, 0.4);
}

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

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-text);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.3);
}

.btn--accent:hover {
  background: var(--color-accent-light);
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 168, 67, 0.4);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn--white:hover {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
  height: var(--header-height);
}

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

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

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.2;
}

.header-logo-text small {
  display: block;
  font-family: var(--font-handwriting);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-sage);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  background: rgba(58, 107, 53, 0.06);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  padding: 4px;
  background: var(--color-bg-warm);
  border-radius: var(--radius-sm);
}

.lang-switcher button {
  padding: 4px 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.25s ease;
}

.lang-switcher button.active {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(58, 107, 53, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 67, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(123, 160, 91, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg-cream) 40%, var(--color-bg-warm) 100%);
}

/* CSS-only meadow illustration */
.hero-landscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  overflow: hidden;
}

.hero-landscape .hill-1 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: linear-gradient(160deg, rgba(123, 160, 91, 0.25) 0%, rgba(58, 107, 53, 0.15) 100%);
  border-radius: 50% 50% 0 0;
}

.hero-landscape .hill-2 {
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: linear-gradient(200deg, rgba(123, 160, 91, 0.2) 0%, rgba(58, 107, 53, 0.1) 100%);
  border-radius: 50% 50% 0 0;
}

.hero-landscape .hill-3 {
  position: absolute;
  bottom: -40%;
  left: 20%;
  width: 80%;
  height: 65%;
  background: linear-gradient(180deg, rgba(123, 160, 91, 0.15) 0%, rgba(58, 107, 53, 0.08) 100%);
  border-radius: 50% 50% 0 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 780px;
  padding: var(--spacing-xl) var(--spacing-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(58, 107, 53, 0.08);
  border: 1px solid rgba(58, 107, 53, 0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  animation: fadeInDown 0.8s ease both;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--color-text-light);
  max-width: 580px;
  margin: 0 auto var(--spacing-lg);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--spacing-3xl)) 0 var(--spacing-2xl);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(58, 107, 53, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: var(--spacing-sm);
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--spacing-md);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.page-hero .breadcrumb a {
  color: var(--color-text-muted);
}

.page-hero .breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-sep {
  font-size: 0.7rem;
}

/* --- USP Cards --- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.usp-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.usp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-sage));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-sage-light);
}

.usp-card:hover::before {
  transform: scaleX(1);
}

.usp-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: linear-gradient(135deg, rgba(58, 107, 53, 0.08), rgba(123, 160, 91, 0.12));
  border-radius: var(--radius-md);
}

.usp-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
}

.usp-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --- Accommodation Cards --- */
.accom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--spacing-lg);
}

.accom-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s ease;
}

.accom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.accom-card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-bg-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-family: var(--font-handwriting);
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.accom-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(123, 160, 91, 0.15), transparent 70%);
}

.accom-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 14px;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  z-index: 1;
}

.accom-card-body {
  padding: var(--spacing-md);
}

.accom-card-body h3 {
  margin-bottom: 8px;
}

.accom-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--spacing-sm);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.accom-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.accom-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

/* --- Activity Cards --- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

.activity-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.35s ease;
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.activity-icon {
  font-size: 2.2rem;
  margin-bottom: var(--spacing-sm);
}

.activity-card h3 {
  margin-bottom: 6px;
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--spacing-sm);
  font-size: 0.85rem;
}

.activity-meta .tag {
  padding: 3px 10px;
  background: rgba(58, 107, 53, 0.08);
  color: var(--color-primary);
  border-radius: 50px;
  font-weight: 500;
}

.activity-meta .tag--accent {
  background: rgba(212, 168, 67, 0.15);
  color: var(--color-secondary);
}

.activity-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* --- Gallery --- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: var(--spacing-xl);
}

.gallery-filter-btn {
  padding: 8px 22px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-sm);
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: all 0.35s ease;
  background: linear-gradient(135deg, var(--color-bg-cream), var(--color-bg-warm));
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(74, 55, 40, 0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

.gallery-item-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s ease;
}

.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

.gallery-placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(30, 20, 15, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
  max-width: 900px;
  max-height: 80vh;
  text-align: center;
  color: var(--color-white);
}

.lightbox-placeholder {
  width: 600px;
  max-width: 90vw;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(123, 160, 91, 0.3), rgba(58, 107, 53, 0.2));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* --- Price Table --- */
.price-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  background: var(--color-white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.price-table thead {
  background: var(--color-primary);
  color: var(--color-white);
}

.price-table th {
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border-light);
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: rgba(58, 107, 53, 0.03);
}

.price-table .highlight-row {
  background: rgba(212, 168, 67, 0.06);
}

/* --- Contact Form --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

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

.form-group label .required {
  color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  transition: all 0.25s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(58, 107, 53, 0.1);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* --- Info Cards --- */
.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
}

.info-card h3 {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li svg {
  width: 18px;
  height: 18px;
  fill: var(--color-sage);
  flex-shrink: 0;
}

/* --- Map --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 253, 248, 0.7);
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand img {
  height: 50px;
  margin-bottom: var(--spacing-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 253, 248, 0.5);
}

.footer-col h4 {
  color: var(--color-bg);
  font-size: 1rem;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.88rem;
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 253, 248, 0.08);
  border-radius: var(--radius-md);
  color: rgba(255, 253, 248, 0.6);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 253, 248, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-sm);
  font-size: 0.82rem;
  color: rgba(255, 253, 248, 0.4);
}

.footer-bottom a {
  color: rgba(255, 253, 248, 0.4);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

.footer-legal {
  display: flex;
  gap: 16px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Teaser Section --- */
.teaser-intro {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.teaser-intro-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-bg-cream), var(--color-bg-warm));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.teaser-intro-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(123, 160, 91, 0.15), transparent 70%);
}

.teaser-intro-text p {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

/* --- Nearby List --- */
.nearby-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-sm);
}

.nearby-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.nearby-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-sage-light);
}

.nearby-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.nearby-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text);
}

.nearby-item small {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* --- Animals Grid --- */
.animals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--spacing-md);
}

.animal-card {
  text-align: center;
  padding: var(--spacing-md);
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.animal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.animal-emoji {
  font-size: 3rem;
  margin-bottom: var(--spacing-xs);
}

.animal-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.animal-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--color-sage);
  border: 3px solid var(--color-bg);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--color-sage-light);
}

.timeline-year {
  font-family: var(--font-handwriting);
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* --- Directions --- */
.directions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

/* --- Accommodation Detail --- */
.accom-detail {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.accom-detail-img {
  height: 300px;
  background: linear-gradient(135deg, var(--color-bg-cream), var(--color-bg-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.accom-detail-img .placeholder-text {
  font-family: var(--font-handwriting);
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

.accom-detail-body {
  padding: var(--spacing-xl);
}

.accom-detail-body h2 {
  margin-bottom: var(--spacing-xs);
}

.accom-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.accom-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.accom-detail-body > p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.amenity-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(58, 107, 53, 0.06);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--color-primary-dark);
}

.amenity-list li svg {
  width: 14px;
  height: 14px;
  fill: var(--color-sage);
}

/* --- Values section --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.value-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.value-icon {
  font-size: 2.4rem;
  margin-bottom: var(--spacing-sm);
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-bg);
}

.value-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* --- Additional workshops --- */
.workshops-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.workshop-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(58, 107, 53, 0.04);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
}

.workshop-card .activity-icon {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.workshop-card h4 {
  margin-bottom: 4px;
}

.workshop-card p {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.workshop-card .price-tag {
  font-weight: 700;
  color: var(--color-primary);
}

/* --- Contact Info --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-xl);
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: var(--spacing-md);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 107, 53, 0.08);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-info-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.contact-info-text span,
.contact-info-text a {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-sm);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--color-text);
  transition: all 0.25s ease;
}

.social-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: var(--spacing-3xl) 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(123, 160, 91, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 168, 67, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto var(--spacing-lg);
  font-size: 1.05rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }

  .teaser-intro {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .directions-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  body {
    font-size: 16px;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    padding: calc(var(--header-height) + var(--spacing-lg)) var(--spacing-md) var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    transition: right 0.35s ease;
    align-items: stretch;
    gap: 2px;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: var(--spacing-sm);
    align-self: flex-start;
  }

  .usp-grid {
    grid-template-columns: 1fr;
  }

  .accom-grid {
    grid-template-columns: 1fr;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .form-group--full {
    grid-column: 1;
  }

  .hero-content {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .workshops-row {
    grid-template-columns: 1fr;
  }

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

  .animals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .animals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .accom-detail-body {
    padding: var(--spacing-md);
  }
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- Form success/error --- */
.form-message {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  display: none;
}

.form-message--success {
  background: rgba(58, 107, 53, 0.08);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.form-message--error {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid #c0392b;
  color: #c0392b;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  z-index: 2000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}
