@font-face {
  font-family: 'Alfa Slab One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/alfa-slab-one.woff2') format('woff2');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/eb-garamond-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/eb-garamond-italic.woff2') format('woff2');
}

:root {
  --paper: #f2e6c9;
  --paper-dark: #e6d3a3;
  --wood-dark: #2b1d13;
  --wood: #4a2f1c;
  --wood-light: #6e4527;
  --brass: #a97324;
  --brass-light: #cf9a44;
  --rust: #9c3b2c;
  --ink: #2b1d13;
  --white: #fffaf0;
  --max-width: 920px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(74, 47, 28, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(74, 47, 28, 0.04) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 2px 3px;
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3, .display {
  font-family: 'Alfa Slab One', Georgia, serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  color: var(--wood);
  text-shadow: 1px 1px 0 rgba(255, 250, 240, 0.35);
}

a { color: var(--brass); }

.lang { display: none; }
.lang.active { display: inline; }
.lang-block { display: none; }
.lang-block.active { display: block; }

/* Language switch */
.langswitch {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 6px;
  background: rgba(20, 12, 6, 0.4);
  border: 1px solid rgba(255, 250, 240, 0.3);
  padding: 6px;
  border-radius: 4px;
  backdrop-filter: blur(2px);
}

.langswitch button {
  border: none;
  background: transparent;
  color: var(--white);
  font-family: 'EB Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.8;
}

.langswitch button.active {
  background: var(--brass-light);
  color: var(--wood-dark);
  opacity: 1;
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 25%;
  border-bottom: 6px solid var(--wood-dark);
}

@media (min-width: 800px) {
  .hero {
    background-attachment: fixed;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 12, 6, 0.85) 8%, rgba(43, 29, 19, 0.25) 55%, rgba(70, 45, 20, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 32px clamp(20px, 6vw, 60px) 44px;
  color: var(--white);
}

.hero-content h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  margin: 0 0 10px;
  color: var(--white);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.55);
}

.hero-content p {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  margin: 0;
  opacity: 0.95;
}

/* Nav — carved wooden sign, sticks to the top while scrolling */
nav.section-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: clamp(16px, 5vw, 40px);
  flex-wrap: wrap;
  padding: 16px 16px;
  background: linear-gradient(90deg, var(--wood-dark), var(--wood) 50%, var(--wood-dark));
  border-bottom: 3px solid var(--brass);
  font-size: 1rem;
  transition: box-shadow 0.25s ease;
}

nav.section-nav.is-scrolled {
  box-shadow: 0 6px 14px rgba(20, 12, 6, 0.35);
}

nav.section-nav a {
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

nav.section-nav a:hover {
  border-bottom-color: var(--brass-light);
  color: var(--brass-light);
}

/* Sections */
section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

section h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0 0 30px;
  text-align: center;
}

section h2::after {
  content: "❧";
  display: block;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--brass);
  margin-top: 8px;
  text-shadow: none;
}

.about {
  text-align: center;
}

.about p {
  max-width: 640px;
  margin: 0 auto;
}

/* Gallery — postcard style */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding: 10px;
}

.gallery a {
  display: block;
  background: var(--white);
  padding: 10px 10px 22px;
  box-shadow: 0 4px 10px rgba(43, 29, 19, 0.35);
  transform: rotate(var(--tilt, -1.5deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery a:nth-child(2n) { --tilt: 1.5deg; }
.gallery a:nth-child(3n) { --tilt: -2deg; }

.gallery a:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 8px 18px rgba(43, 29, 19, 0.45);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: sepia(0.15) contrast(1.02);
}

/* Video/audio placeholder */
.media-note {
  text-align: center;
  color: var(--wood-light);
  font-style: italic;
  margin-top: 24px;
}

/* Donate + Booking — wood panel */
.panel {
  background: var(--paper-dark);
  border: 1px solid rgba(74, 47, 28, 0.25);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.4);
  padding: 30px clamp(20px, 5vw, 44px);
  text-align: center;
}

.panel .buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 26px;
}

/* Ticket-style buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  text-decoration: none;
  font-size: 1.05rem;
  font-family: 'EB Garamond', serif;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--wood);
  border: 2px solid var(--brass);
  border-radius: 3px;
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--wood-light);
  transform: translateY(-2px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-btc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.btn-booking {
  background: var(--rust);
  border-color: var(--brass-light);
}

.btn-booking:hover {
  background: #b2493a;
}

.btn-paypal {
  background: #0f3a7a;
  border-color: var(--brass-light);
}

.btn-paypal:hover {
  background: #17509e;
}

.btn-btc {
  background: #8a5a12;
  border-color: var(--brass-light);
}

.btn-btc:hover {
  background: #a76c17;
}

.btn-soon {
  background: transparent;
  color: var(--wood-light);
  border: 2px dashed var(--wood-light);
  cursor: default;
  pointer-events: none;
  opacity: 0.75;
}

/* Footer */
footer {
  text-align: center;
  padding: 34px 16px 46px;
  font-size: 0.9rem;
  color: var(--paper);
  background: linear-gradient(90deg, var(--wood-dark), var(--wood) 50%, var(--wood-dark));
}

footer a {
  color: var(--brass-light);
  margin: 0 8px;
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* Legal pages */
.legal {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 20px 70px;
}

.legal h1 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}

.legal h2 {
  font-family: 'EB Garamond', serif;
  font-weight: 600;
  font-size: 1.15rem;
  text-align: left;
  color: var(--wood);
  text-shadow: none;
  margin-top: 32px;
}

.legal a.back {
  display: inline-block;
  margin-bottom: 24px;
}

.legal h2::after {
  content: none;
}
