/* VerifiedHalls — land-based halls, Hungary */
:root {
  --bg: #f7f5f2;
  --bg-alt: #efeae3;
  --surface: #ffffff;
  --ink: #1c1a18;
  --ink-soft: #4a4540;
  --muted: #7a736b;
  --line: #ddd6cc;
  --accent: #5c2430;
  --accent-hover: #441a23;
  --gold: #9a7b3e;
  --gold-soft: #c4a86a;
  --shadow: 0 12px 40px rgba(28, 26, 24, 0.08);
  --radius: 2px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(92, 36, 48, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(154, 123, 62, 0.07), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin: 0 0 0.6rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle:hover {
  border-color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

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

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: #826632;
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero — full-bleed */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 26, 24, 0.35) 0%, rgba(28, 26, 24, 0.72) 55%, rgba(28, 26, 24, 0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 3.5rem;
  max-width: 640px;
  animation: rise 0.9s ease-out both;
}

.hero .brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  color: #fff;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.85rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero .btn-primary {
  background: var(--gold);
}

.hero .btn-primary:hover {
  background: #826632;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--ink);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Sections */
.section {
  padding: 4.5rem 0;
}

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

.section-intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--ink);
  aspect-ratio: 3 / 2;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s;
  opacity: 0.92;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
  opacity: 1;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-size: 0.85rem;
  text-align: left;
}

/* Info / visit */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.info-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.info-panel dl {
  margin: 0;
}

.info-panel dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1.15rem;
}

.info-panel dt:first-child {
  margin-top: 0;
}

.info-panel dd {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.info-panel a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.info-panel a:hover {
  border-bottom-color: var(--accent);
}

.address-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.address-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.address-list li:last-child {
  border-bottom: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 400;
}

.hours-table th {
  color: var(--ink);
  width: 45%;
}

/* CTA band */
.cta-band {
  background: var(--accent);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.65rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}

.cta-band .btn-gold:hover {
  background: #fff;
  color: var(--accent);
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero p {
  max-width: 38rem;
  margin: 0;
}

/* Legal / content */
.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.5rem;
}

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Accordion */
.accordion {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.accordion-trigger:hover {
  color: var(--accent);
}

.accordion-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.25s;
}

.accordion-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  margin-top: -1px;
}

.accordion-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  margin-left: -1px;
}

.accordion-item.is-open .accordion-icon::after {
  transform: scaleY(0);
}

.accordion-panel {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--ink-soft);
}

.accordion-item.is-open .accordion-panel {
  display: block;
  animation: fadeIn 0.25s ease;
}

/* Cards only for interaction (forms/jobs) */
.job-list {
  display: grid;
  gap: 1rem;
}

.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.job-card h3 {
  margin-bottom: 0.35rem;
}

.job-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* Form */
.form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(154, 123, 62, 0.35);
  border-color: var(--gold);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem;
  background: #e8f0e6;
  border: 1px solid #b7cbb0;
  color: #2c4a28;
}

.form-success.is-visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* Feature list */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: #1c1a18;
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .brand-name {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-links {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--gold-soft);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-soft);
}

/* Age gate: visible until confirmed */
html.age-ok #age-gate {
  display: none !important;
}

html:not(.age-ok) body {
  overflow: hidden;
}
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 16, 14, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeIn 0.25s ease;
}

.overlay[hidden] {
  display: none !important;
}

.modal {
  background: var(--surface);
  width: min(100%, 440px);
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
  animation: rise 0.35s ease;
}

.modal h2 {
  font-size: 1.75rem;
}

.modal p {
  margin-bottom: 1.25rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.lightbox .modal {
  width: min(100%, 900px);
  padding: 0;
  background: #000;
  border: 0;
}

.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox {
  position: relative;
}

/* Cookie bar */
.cookie-bar {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
  animation: rise 0.4s ease;
}

.cookie-bar[hidden] {
  display: none !important;
}

.cookie-bar p {
  flex: 1 1 240px;
  margin: 0;
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Visit links strip */
.link-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.link-strip a {
  display: block;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.link-strip a:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  color: var(--accent);
}

.link-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.link-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 900px) {
  .gallery-grid,
  .feature-row,
  .footer-grid,
  .split {
    grid-template-columns: 1fr;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    gap: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }

  .site-header {
    position: relative;
  }

  .site-header .container {
    position: relative;
  }

  .link-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 72vh;
  }

  .section {
    padding: 3.25rem 0;
  }

  .modal {
    padding: 1.5rem 1.15rem;
  }

  .cookie-bar {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
