/* Casa Spring — Ligurian palette */
.demo-banner {
  background: linear-gradient(90deg, #c87856, #6b7a4c);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 100;
}

:root {
  --terracotta: #c87856;
  --terracotta-deep: #a85a3d;
  --olive: #6b7a4c;
  --olive-deep: #4a5635;
  --sand: #f4ead5;
  --sand-warm: #ebdfc4;
  --ink: #2a2520;
  --ink-soft: #5a4f43;
  --sea: #5b8a9b;
  --cream: #faf6ee;
  --shadow: 0 10px 30px rgba(42, 37, 32, 0.12);
  --shadow-lg: 0 25px 60px rgba(42, 37, 32, 0.22);
  --radius: 12px;
  --radius-sm: 6px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #1a1410;
}
/* ===== HERO COMPOSITING ===== */
/* 4 sky variants randomly crossfading + AI-cutout mountain in front. */
.sky-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.sky-layer {
  position: absolute;
  inset: -2% -10%;             /* extra width so a pan doesn't reveal edges */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 4s ease-in-out;
  animation: skyDrift 110s linear infinite alternate;
  will-change: opacity, transform;
}
.sky-layer.active { opacity: 1; }
/* Pronounced horizontal drift so clouds visibly move across the sky */
@keyframes skyDrift {
  0%   { transform: translateX(0%)  scale(1.05); }
  100% { transform: translateX(-8%) scale(1.05); }
}

/* Stagger each layer's animation phase so they don't all pan in lockstep */
.sky-layer:nth-child(1) { animation-delay: 0s;    animation-duration:  90s; }
.sky-layer:nth-child(2) { animation-delay: -30s;  animation-duration: 130s; }
.sky-layer:nth-child(3) { animation-delay: -60s;  animation-duration: 110s; }
.sky-layer:nth-child(4) { animation-delay: -45s;  animation-duration: 100s; }

.hero-mountain {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('assets/photos-hero/mountain-cutout.webp') center bottom / cover no-repeat;
  pointer-events: none;
  filter: saturate(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .sky-layer { animation: none; }
}

/* ===== FLYING BIRDS — disabled (replaced by real-sky compositing) ===== */
.hero-clouds, .hero-birds, .bird, .cloud { display: none !important; }
.cloud {
  position: absolute;
  will-change: transform;
  mix-blend-mode: plus-lighter;  /* additive — works on any background */
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}
/* Layered parallax. Negative animation-delay = clouds are already mid-flight on page load. */
.cloud-1 { top: 10%; width: 460px; height: 140px; animation: cloudDriftA  95s linear infinite; animation-delay: -28s; opacity: 0.95; }
.cloud-2 { top: 22%; width: 360px; height: 110px; animation: cloudDriftB 130s linear infinite; animation-delay: -42s; opacity: 0.85; }
.cloud-3 { top:  3%; width: 280px; height:  90px; animation: cloudDriftA 160s linear infinite; animation-delay: -75s; opacity: 0.80; }
.cloud-4 { top: 30%; width: 540px; height: 160px; animation: cloudDriftB  75s linear infinite; animation-delay: -20s; opacity: 0.75; }
.cloud-5 { top: 15%; width: 220px; height:  70px; animation: cloudDriftA 110s linear infinite; animation-delay: -60s; opacity: 0.70; }

@keyframes cloudDriftA {
  0%   { transform: translateX(-30vw); }
  100% { transform: translateX(130vw); }
}
@keyframes cloudDriftB {
  0%   { transform: translateX(130vw); }   /* reverse direction for variety */
  100% { transform: translateX(-30vw); }
}
@media (prefers-reduced-motion: reduce) {
  .cloud { animation: none; opacity: 0.4; }
}

/* ===== FLYING BIRDS ===== */
.hero-birds {
  position: absolute;
  inset: 0;
  z-index: 4;  /* above clouds */
  pointer-events: none;
  overflow: hidden;
}
.bird {
  position: absolute;
  width: 60px;
  height: 24px;
  left: -80px;
  will-change: transform;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
.bird svg { width: 100%; height: 100%; display: block; }
.bird svg path {
  transform-origin: 50% 50%;
  animation: flap var(--flap, 0.42s) ease-in-out infinite alternate;
}
@keyframes flap {
  0%   { transform: scaleY(1)   translateY(0); }
  100% { transform: scaleY(0.35) translateY(-2px); }
}
@keyframes fly-bird {
  0%   { transform: translate(0, 0)   rotate(-2deg); }
  50%  { transform: translate(50vw, var(--midY, -2vh)) rotate(0deg); }
  100% { transform: translate(115vw, var(--endY, 4vh)) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-birds { display: none; }
}

/* Tiny seasonal indicator (top-left of hero) */
.season-indicator {
  position: absolute;
  top: 6.2rem;
  left: 3rem;
  z-index: 5;
  display: flex;
  gap: 0.4rem;
  font-size: 1rem;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}
.season-indicator span {
  opacity: 0.35;
  filter: grayscale(0.8);
  transition: all 0.6s ease;
}
.season-indicator span.active {
  opacity: 1;
  filter: none;
  transform: scale(1.15);
}
@media (max-width: 768px) {
  .season-indicator { top: 5rem; left: 1rem; font-size: 0.9rem; padding: 0.35rem 0.6rem; }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, transparent 0%, rgba(42, 37, 32, 0.10) 60%, rgba(42, 37, 32, 0.55) 100%);
  pointer-events: none;
}
.hero > .nav, .hero > .hero-content, .hero > .hero-scroll { position: relative; z-index: 5; }
.season-indicator, .audio-toggle, .back-to-top { z-index: 50; }
@media (prefers-reduced-motion: reduce) {
  .hero-image { animation: none; }
}

/* ===== NAV ===== */
.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  letter-spacing: 0.03em;
  color: #fff;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* Burger button — hidden on desktop, visible on mobile */
.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
}
.nav-burger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lang-switcher { display: flex; gap: 0.35rem; }
.lang-switcher button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.25rem 0.45rem;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 4px;
  opacity: 0.65;
  line-height: 1;
}
.lang-switcher button .flag { font-size: 1.15rem; display: inline-block; }
.lang-switcher button:hover { opacity: 1; border-color: rgba(255,255,255,0.7); }
.lang-switcher button.active {
  opacity: 1;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 2px rgba(196, 110, 73, 0.35);
}

/* ===== HERO CONTENT ===== */
.hero-content {
  position: relative;
  z-index: 5;
  margin: 8vh auto auto;
  text-align: center;
  padding: 2rem;
  animation: fadeUp 1.2s ease-out;
}
@media (max-width: 768px) {
  .hero-content { margin: 6vh auto auto; }
}
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 9vw, 7rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.6vw, 1.8rem);
  font-style: italic;
  margin: 1.5rem auto 2.5rem;
  max-width: 720px;
  opacity: 1;
  font-weight: 500;
  color: #fff;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.75),
    0 1px 3px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(0, 0, 0, 0.4);
  padding: 0 1rem;
  letter-spacing: 0.005em;
}
.cta {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(200, 120, 86, 0.4);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.cta:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(200, 120, 86, 0.5);
}
.cta-wa {
  background: #25D366;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.cta-wa:hover {
  background: #1da851;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  opacity: 0.7;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 12px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== WELCOME LETTER (handwritten card) ===== */
.welcome-section {
  padding: 7rem 2rem;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(200, 120, 86, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(107, 122, 76, 0.08) 0%, transparent 50%),
    var(--cream);
}
.welcome-card {
  max-width: 820px;
  margin: 0 auto;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 47px, rgba(91, 138, 155, 0.04) 47px, rgba(91, 138, 155, 0.04) 48px),
    linear-gradient(180deg, #fbf5e7 0%, #f6ecd6 100%);
  padding: 4.5rem 4.5rem 3.5rem;
  border-radius: 4px;
  box-shadow:
    0 1px 1px rgba(42, 37, 32, 0.05),
    0 4px 10px rgba(42, 37, 32, 0.08),
    0 25px 50px rgba(42, 37, 32, 0.12),
    inset 0 0 80px rgba(168, 90, 61, 0.04);
  position: relative;
  transform: rotate(-0.4deg);
  color: #1a2740;
}
.welcome-card::before, .welcome-card::after {
  content: '';
  position: absolute;
  width: 80px; height: 30px;
  background: linear-gradient(135deg, rgba(244, 234, 213, 0.7), rgba(200, 120, 86, 0.15));
  box-shadow: 0 2px 6px rgba(42, 37, 32, 0.15);
}
.welcome-card::before { top: -10px; left: 30px; transform: rotate(-8deg); }
.welcome-card::after  { bottom: -10px; right: 40px; transform: rotate(6deg); }

.welcome-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  color: #1a2740;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.welcome-body p {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.55;
  color: #1a2740;
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.welcome-body p:nth-child(2) { transform: rotate(0.2deg); }
.welcome-body p:nth-child(3) { transform: rotate(-0.15deg); }
.welcome-cta-line {
  margin-top: 2rem !important;
  font-style: italic;
}
.welcome-signature {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #1a2740;
  text-align: right;
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
  transform: rotate(-1.5deg);
  padding-right: 2rem;
}

@media (max-width: 720px) {
  .welcome-card { padding: 3rem 2rem 2.5rem; transform: rotate(-0.2deg); }
  .welcome-card::before, .welcome-card::after { display: none; }
}

/* ===== SECTIONS ===== */
.section { padding: 7rem 2rem; }
.section-alt { background: var(--sand); }
.container { max-width: 1100px; margin: 0 auto; }
.container.narrow { max-width: 680px; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: var(--ink);
}
.lead {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.5;
}

/* ===== GALLERY ===== */
.gallery-section { padding: 7rem 0; }
.gallery-section .container { margin-bottom: 3rem; padding: 0 2rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding: 0 2rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-warm);
  cursor: pointer;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s cubic-bezier(.2,.7,.2,1), filter 0.6s;
  filter: saturate(0.9);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1.05);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42, 37, 32, 0.6) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-caption {
  position: absolute;
  bottom: 1rem;
  left: 1.2rem;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Mosaic pattern: alternating sizes for visual interest */
.gallery-item:nth-child(6n+1) { grid-column: span 6; aspect-ratio: 16/10; }
.gallery-item:nth-child(6n+2) { grid-column: span 6; aspect-ratio: 16/10; }
.gallery-item:nth-child(6n+3) { grid-column: span 4; }
.gallery-item:nth-child(6n+4) { grid-column: span 4; }
.gallery-item:nth-child(6n+5) { grid-column: span 4; }
.gallery-item:nth-child(6n+6) { grid-column: span 12; aspect-ratio: 21/9; }

@media (max-width: 768px) {
  .gallery-item { grid-column: span 12 !important; aspect-ratio: 4/3 !important; }
}

/* ===== HAUS — equipment grid ===== */
.haus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.haus-floor {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.haus-floor-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--terracotta-deep);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.haus-list {
  list-style: none;
  padding: 0;
}
.haus-list li {
  padding: 0.7rem 0 0.7rem 1.6rem;
  border-bottom: 1px solid rgba(74, 86, 53, 0.1);
  position: relative;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}
.haus-list li:last-child { border-bottom: none; }
.haus-list li::before {
  content: '•';
  position: absolute;
  left: 0.4rem;
  color: var(--olive);
  font-size: 1.2rem;
}

/* ===== NASINO MINI GALLERY ===== */
.nasino-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 2.5rem;
}
.nasino-tile {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s;
}
.nasino-tile:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 37, 32, 0.18);
}

/* ===== EXCURSIONS ===== */
.excursion-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.ex-filter {
  background: var(--cream);
  border: 1px solid rgba(74, 86, 53, 0.15);
  color: var(--ink-soft);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font: 500 0.85rem var(--sans);
  cursor: pointer;
  transition: all 0.25s;
}
.ex-filter:hover { background: var(--sand); color: var(--ink); }
.ex-filter.active {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}
.distance-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 2rem;
  padding: 0.6rem 1rem;
  background: var(--cream);
  border-radius: 999px;
  width: fit-content;
}
.dt-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  font-weight: 600;
}
.dt-btn {
  background: transparent;
  border: 1px solid rgba(74, 86, 53, 0.15);
  color: var(--ink-soft);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font: 500 0.85rem var(--sans);
  cursor: pointer;
  transition: all 0.25s;
}
.dt-btn.active {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}
.dt-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.dt-geo {
  margin-left: 0.5rem;
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font: 600 0.85rem var(--sans);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(200, 120, 86, 0.35);
}
.dt-geo:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}
.dt-geo:disabled { opacity: 0.5; cursor: not-allowed; }

.excursions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.excursion-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.excursion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(42, 37, 32, 0.15);
}
.excursion-img {
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  font-size: 4rem;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.7), transparent 50%),
    linear-gradient(135deg, var(--sand) 0%, var(--sand-warm) 100%);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  transition: filter 0.3s, transform 0.5s;
  overflow: hidden;
}
.excursion-img.has-photo {
  background-blend-mode: normal;
}
.excursion-img.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(42, 37, 32, 0.65) 100%);
  transition: opacity 0.3s;
}
.excursion-img.has-photo .excursion-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 2rem;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  z-index: 2;
}
.excursion-img:not(.has-photo) .excursion-icon {
  margin: auto;
}
.excursion-img:hover {
  filter: brightness(1.08);
}
.excursion-card:hover .excursion-img.has-photo {
  /* subtle zoom-on-hover via background-size — works via JS-set inline style */
}
.excursion-img.has-photo:hover { background-size: 110% auto; }
.excursion-img:hover .map-hint { opacity: 1; transform: translate(-50%, 0); }
.map-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translate(-50%, 6px);
  background: rgba(42, 37, 32, 0.85);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 600;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}
/* Category-tinted gradients only when no photo present */
.excursion-card[data-cat="village"]  .excursion-img:not(.has-photo) { background: linear-gradient(135deg, #efe1c4, #d8c69e); }
.excursion-card[data-cat="culture"]  .excursion-img:not(.has-photo) { background: linear-gradient(135deg, #f0d6c5, #d49d7e); }
.excursion-card[data-cat="nature"]   .excursion-img:not(.has-photo) { background: linear-gradient(135deg, #d8e0c0, #abb585); }
.excursion-card[data-cat="sport"]    .excursion-img:not(.has-photo) { background: linear-gradient(135deg, #f5dac8, #e0a07e); }
.excursion-card[data-cat="mer"]      .excursion-img:not(.has-photo) { background: linear-gradient(135deg, #cfdde2, #94b3bd); }

.excursion-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.excursion-meta {
  display: flex;
  gap: 0.7rem;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.excursion-meta span { white-space: nowrap; }
.excursion-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
  font-weight: 500;
  line-height: 1.2;
}
.excursion-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex: 1;
}
.excursion-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(74, 86, 53, 0.1);
}
.ex-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--terracotta-deep);
  font-weight: 600;
}
.ex-link {
  color: var(--olive);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.ex-link:hover { border-bottom-color: var(--olive); }

.ex-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ex-mini {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(74, 86, 53, 0.12);
  transition: all 0.2s;
  text-decoration: none;
  overflow: hidden;
  padding: 4px;
}
.ex-mini:hover {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 4px 12px rgba(42, 37, 32, 0.18);
  border-color: rgba(74, 86, 53, 0.25);
}
.ex-mini img { display: block; }

/* ===== LAGE — address + route ===== */
.lage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.lage-block { background: var(--sand); padding: 2rem; border-radius: var(--radius); }
.lage-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--terracotta-deep);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}
.lage-block p, .lage-address {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  font-style: normal;
  margin-bottom: 0.8rem;
}
.lage-address strong, .lage-block strong { color: var(--olive-deep); }
.lage-map-wrap {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 860px) { .lage-map-wrap { grid-template-columns: 1fr; } }

.lage-map-leaflet {
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 1;
}
/* Make Leaflet layer-control match site style */
.leaflet-control-layers {
  font-family: var(--sans) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(74, 86, 53, 0.15) !important;
  box-shadow: 0 4px 14px rgba(42, 37, 32, 0.15) !important;
}
.leaflet-control-layers-expanded {
  padding: 8px 12px !important;
  font-size: 0.85rem;
  color: var(--ink) !important;
}
.leaflet-control-layers label { padding: 3px 0; cursor: pointer; }
.leaflet-control-layers label:hover { color: var(--terracotta-deep); }
.casa-marker {
  background: none !important;
  border: none !important;
}
.marker-pin {
  position: relative;
  width: 44px;
  height: 56px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.marker-pin::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--terracotta);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  transform-origin: 50% 100%;
}
.marker-pin > span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 2;
  padding-bottom: 8px;
}

.route-panel {
  background: var(--sand);
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.route-help {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.route-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.route-row input {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(74, 86, 53, 0.2);
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
  transition: all 0.2s;
}
.route-row input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 120, 86, 0.15);
}
.route-loc {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--olive);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.route-loc:hover { background: var(--olive-deep); transform: scale(1.08); }
.route-go {
  padding: 0.75rem 1.4rem !important;
  font-size: 0.8rem !important;
}
.route-result {
  margin-top: auto;
  padding: 1rem 1.2rem;
  background: #fff;
  border-radius: 8px;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.route-result.has-route {
  border-left: 3px solid var(--olive);
}
.route-result.error { border-left: 3px solid var(--terracotta-deep); }
.route-result .big {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--olive-deep);
  letter-spacing: 0.02em;
}
.route-result .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}
.route-result .meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
  font-style: italic;
}

/* ===== MIETEN — prices ===== */
.prices-table {
  width: 100%;
  margin: 2.5rem 0;
  border-collapse: collapse;
  font-size: 1.1rem;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.prices-table td {
  padding: 1.2rem 1.8rem;
  border-bottom: 1px solid rgba(74, 86, 53, 0.1);
}
.prices-table td:first-child { color: var(--ink-soft); }
.prices-table td:last-child  { text-align: right; color: var(--terracotta-deep); font-size: 1.25rem; }
.prices-table tr:last-child td { border-bottom: none; }
.prices-extras {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}
.prices-extras li {
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.prices-extras li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 700;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: var(--cream);
  padding: 1.5rem 1.8rem;
  border-left: 3px solid var(--terracotta);
  border-radius: 4px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.contact-info p { margin-bottom: 0.3rem; }
.contact-info a {
  color: var(--terracotta-deep);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-info a:hover { border-color: var(--terracotta-deep); }

/* ===== CALENDAR ===== */
.cal-legend {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.cal-legend span { display: flex; align-items: center; gap: 0.5rem; }
.cal-legend .dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
}
.dot-free   { background: var(--olive); }
.dot-booked { background: var(--terracotta-deep); }
.dot-past   { background: rgba(90, 79, 67, 0.25); }

.cal-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.cal-nav button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(74, 86, 53, 0.2);
  background: var(--cream);
  color: var(--olive-deep);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.25s;
}
.cal-nav button:hover {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.cal-month {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.cal-month-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--ink);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.cal-weekdays, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-weekdays {
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-align: center;
  font-weight: 600;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: 6px;
  background: rgba(107, 122, 76, 0.10);
  color: var(--olive-deep);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.cal-day:hover:not(.cal-day-booked):not(.cal-day-past):not(.cal-day-empty) {
  background: var(--olive);
  color: #fff;
  transform: scale(1.08);
}
.cal-day-booked {
  background: var(--terracotta-deep);
  color: #fff;
  cursor: not-allowed;
  opacity: 0.85;
}
.cal-day-past {
  background: rgba(90, 79, 67, 0.10);
  color: rgba(90, 79, 67, 0.4);
  cursor: default;
}
.cal-day-empty { background: transparent; cursor: default; }
.cal-day-today { box-shadow: inset 0 0 0 2px var(--terracotta); }
.cal-day-selected {
  background: var(--terracotta) !important;
  color: #fff !important;
  transform: scale(1.08);
}

/* ===== FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(74, 86, 53, 0.2);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  transition: all 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(200, 120, 86, 0.15);
  background: #fff;
}

.form-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form-actions .cta { flex: 1; min-width: 180px; text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(250, 246, 238, 0.7);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.footer-credit {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.footer-credit .author {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(244, 234, 213, 0.95);
  letter-spacing: 0.03em;
}
.alocean-link {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  background: linear-gradient(90deg, #ff6b6b 0%, #ffa94d 18%, #ffd93d 36%, #6ee7a4 54%, #4ecdc4 72%, #6b8cff 88%, #a78bfa 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: aloceanShine 12s linear infinite;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 217, 61, 0.25);
  transition: border-color 0.3s, transform 0.3s;
  display: inline-block;
}
.alocean-link:hover {
  border-bottom-color: #ffd93d;
  transform: translateY(-1px);
}
@keyframes aloceanShine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 250% 50%; }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 5.5rem;          /* sits left of the audio toggle */
  z-index: 50;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(42, 37, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: all 0.35s cubic-bezier(.2,.7,.2,1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.9);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  background: var(--terracotta);
  transform: translateY(-2px) scale(1.05);
}
@media (max-width: 600px) {
  .back-to-top { width: 46px; height: 46px; bottom: 1rem; right: 4.5rem; }
}

/* ===== AUDIO TOGGLE ===== */
.audio-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  background: rgba(42, 37, 32, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: all 0.3s;
}
.audio-toggle:hover {
  background: var(--terracotta);
  transform: scale(1.08);
}
.audio-toggle.on {
  background: var(--olive);
  animation: audioPulse 2.2s ease-in-out infinite;
}
@keyframes audioPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(107, 122, 76, 0.5), 0 0 0 0 rgba(107, 122, 76, 0.4); }
  50%      { box-shadow: 0 6px 24px rgba(107, 122, 76, 0.5), 0 0 0 14px rgba(107, 122, 76, 0); }
}
.audio-hint {
  position: absolute;
  right: 64px;
  background: rgba(42, 37, 32, 0.92);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(8px);
}
.audio-toggle:hover .audio-hint {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .audio-toggle { width: 46px; height: 46px; bottom: 1rem; right: 1rem; }
  .audio-hint { display: none; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  padding: 2rem;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: zoomIn 0.45s cubic-bezier(.2,.7,.2,1);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 1.5rem; right: 1.5rem; font-size: 1.7rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav { padding: 1rem 1.25rem; gap: 0.5rem; flex-wrap: nowrap; }
  .brand { font-size: 1.1rem; white-space: nowrap; }
  .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.25em; margin-bottom: 1rem; }
  .hero-content { padding: 1.25rem; }
  .nav-burger {
    display: flex !important;
    order: 3;
    position: relative;
    z-index: 1100;
  }
  .lang-switcher {
    order: 2;
    gap: 0.25rem;
    margin-left: auto;  /* push flags + burger to the right */
  }
  .lang-switcher button { padding: 0.2rem 0.35rem; }
  .lang-switcher button .flag { font-size: 1rem; }
  .nav-burger[aria-expanded="true"] span { background: #fff; }

  /* Drawer */
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 78%; max-width: 320px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 5rem 1.5rem 2rem;
    background: #14223a;
    box-shadow: -8px 0 30px rgba(0,0,0,0.4);
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    color: #fff;
  }
  .nav-links a::after { display: none; }

  /* Overlay backdrop (real element, clickable) */
  body.nav-open { overflow: hidden; }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 900;
    animation: fadeIn 0.25s ease;
    cursor: pointer;
  }
  body.nav-open .nav-overlay { display: block; }
  /* Hide all page content beneath when drawer is open (no z-index conflicts) */
  body.nav-open .hero-content,
  body.nav-open .hero-scroll,
  body.nav-open .sky-layers,
  body.nav-open .hero-mountain,
  body.nav-open main,
  body.nav-open .back-to-top,
  body.nav-open .audio-toggle { visibility: hidden; }
  /* Keep nav (with brand + burger) visible above everything */
  body.nav-open .nav { z-index: 1100; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

  .section { padding: 5rem 1.25rem; }
  .hero { background-attachment: scroll; }
}
