:root {
  /* Color Palette - warm, light, premium */
  --color-background: #f8f4ef;
  --color-surface: #ffffff;
  --color-surface-alt: #f1ebe2;
  --color-text: #2b2621;
  --color-text-muted: #7a6f65;
  --color-primary: #c6a675; /* champagne-gold accent */
  --color-primary-soft: rgba(198, 166, 117, 0.12);
  --color-primary-dark: #a48754;
  --color-border-subtle: #e0d6c7;

  --color-success: #4b9b6a;
  --color-warning: #d89b3e;
  --color-danger: #c25757;

  --color-gray-50: #faf7f2;
  --color-gray-100: #f1ebe2;
  --color-gray-200: #e4d7c8;
  --color-gray-300: #d2c3b3;
  --color-gray-400: #b7a492;
  --color-gray-500: #9a8573;
  --color-gray-600: #7a6f65;
  --color-gray-700: #5a5047;
  --color-gray-800: #3d3530;
  --color-gray-900: #251f1b;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Playfair Display", "Times New Roman", serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing Scale (px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-7: 1.75rem;  /* 28px */
  --space-8: 2rem;     /* 32px */
  --space-9: 2.5rem;   /* 40px */
  --space-10: 3rem;    /* 48px */
  --space-12: 3.5rem;  /* 56px */
  --space-14: 4rem;    /* 64px */
  --space-16: 4.5rem;  /* 72px */
  --space-20: 5.5rem;  /* 88px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows - soft, premium */
  --shadow-soft: 0 10px 30px rgba(22, 14, 5, 0.06);
  --shadow-medium: 0 18px 45px rgba(22, 14, 5, 0.10);
  --shadow-soft-inner: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 380ms ease;
}

/* =============================
   Reset / Normalize
   ============================= */

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

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  border: none;
  background: none;
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Remove default focus outlines; we re-add focus-visible below */
:focus {
  outline: none;
}

/* =============================
   Base Styles
   ============================= */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
  line-height: var(--line-height-tight);
}

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: 0.02em;
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

small {
  font-size: var(--font-size-sm);
}

strong {
  font-weight: 600;
}

a {
  cursor: pointer;
  transition: color var(--transition-base),
    opacity var(--transition-base),
    transform var(--transition-base);
}

a:hover {
  color: var(--color-primary-dark);
}

/* Subtle underline for premium minimal links */
.a-underline,
.prose a {
  position: relative;
}

.a-underline::after,
.prose a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 166, 117, 0.0), rgba(198, 166, 117, 0.7), rgba(198, 166, 117, 0.0));
  transform-origin: center;
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.a-underline:hover::after,
.prose a:hover::after {
  transform: scaleX(1);
}

/* =============================
   Layout & Container Utilities
   ============================= */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
  max-width: 1120px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

.section {
  padding-top: var(--space-14);
  padding-bottom: var(--space-14);
}

.section--tight {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.section-heading {
  margin-bottom: var(--space-6);
}

.section-heading__eyebrow {
  font-size: var(--font-size-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.section-heading__title {
  font-size: var(--font-size-3xl);
}

.section-heading__subtitle {
  margin-top: var(--space-3);
  max-width: 40rem;
  color: var(--color-text-muted);
}

/* =============================
   Flex & Grid Utilities
   ============================= */

.flex {
  display: flex;
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.flex-wrap {
  flex-wrap: wrap;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-7);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.m-auto {
  margin: auto;
}

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* =============================
   Screen Reader Utility
   ============================= */

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

.sr-only-focusable:active,
.sr-only-focusable:focus {
  clip: auto;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: normal;
}

/* =============================
   Components
   ============================= */

/* Buttons - minimal, premium, calm */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  background-color: transparent;
  color: var(--color-text);
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(135deg, #d9bc88, #c6a675);
  color: #1f1812;
  border-color: rgba(198, 166, 117, 0.4);
  box-shadow: var(--shadow-soft), var(--shadow-soft-inner);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #e3c89c, #ccae7d);
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.btn--secondary {
  background-color: rgba(255, 255, 255, 0.8);
  border-color: rgba(198, 166, 117, 0.3);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.btn--secondary:hover {
  background-color: #ffffff;
  border-color: rgba(198, 166, 117, 0.6);
}

.btn--ghost {
  background-color: transparent;
  border-color: rgba(198, 166, 117, 0.5);
  color: var(--color-text);
}

.btn--ghost:hover {
  background-color: var(--color-primary-soft);
}

.btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding: 0.85rem 1.9rem;
  font-size: var(--font-size-md);
}

.btn[disabled],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

/* Inputs & Form Controls */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.field__label {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.field__hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.input,
.textarea,
.select {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: #fdfaf6;
  padding: 0.75rem 0.9rem;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.textarea {
  min-height: 160px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-text-muted);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(198, 166, 117, 0.55), 0 18px 45px rgba(22, 14, 5, 0.06);
  background-color: #fff;
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--color-danger);
}

/* Card - used for experiences, events, highlights */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.card--muted {
  background-color: rgba(255, 255, 255, 0.85);
}

.card__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Hero Slider Shell (structure only; behavior handled in JS) */

.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity var(--transition-slow),
    transform 2800ms ease-out;
  background-size: cover;
  background-position: center;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 10, 5, 0.72), rgba(33, 22, 12, 0.35), rgba(16, 10, 5, 0.72));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__kicker {
  font-size: var(--font-size-sm);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-3);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-4);
  color: #fff;
}

.hero__subtitle {
  max-width: 32rem;
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--space-6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

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

  .hero__subtitle {
    max-width: 100%;
  }
}

/* Centered Header Layout - logo in center, nav split */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(248, 244, 239, 0.96), rgba(248, 244, 239, 0.86));
  border-bottom: 1px solid rgba(222, 205, 183, 0.8);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.site-header__nav--right {
  justify-content: flex-end;
}

.site-header__logo {
  justify-self: center;
}

.site-header__logo img {
  height: 32px;
}

.site-header__link {
  position: relative;
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: 0.2rem;
}

.site-header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 166, 117, 0.0), rgba(198, 166, 117, 0.8), rgba(198, 166, 117, 0.0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.site-header__link--active::after,
.site-header__link:hover::after {
  transform: scaleX(1);
}

.site-header__link--cta {
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(198, 166, 117, 0.6);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft-inner);
}

.site-header__link--cta::after {
  display: none;
}

.site-header__link--cta:hover {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.site-header__menu-toggle {
  display: none;
}

@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: auto auto auto;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__menu-toggle {
    display: inline-flex;
    justify-self: flex-end;
  }

  .site-header--menu-open .site-header__nav--mobile {
    display: flex;
  }

  .site-header__nav--mobile {
    display: none;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-5) var(--space-5);
  }
}

/* Footer basics */

.site-footer {
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
  border-top: 1px solid rgba(222, 205, 183, 0.8);
  background: #f4ede3;
}

.site-footer__meta {
  margin-top: var(--space-6);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* =============================
   Accessibility & Motion
   ============================= */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

button:focus-visible,
[role="button"]:focus-visible,
.btn:focus-visible,
.site-header__link:focus-visible,
.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(198, 166, 117, 0.7), 0 0 0 4px rgba(198, 166, 117, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* =============================
   Helpers for Premium Atmosphere
   ============================= */

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(198, 166, 117, 0.45);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.6rem;
  font-size: var(--font-size-xs);
  background-color: rgba(198, 166, 117, 0.12);
  color: var(--color-primary-dark);
}

/* Soft section backgrounds for different pages */

.section--canvas {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 50%),
    radial-gradient(circle at bottom right, rgba(198, 166, 117, 0.08), transparent 55%);
}

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

/* Content typography for longer Hungarian copy */

.prose p + p {
  margin-top: var(--space-3);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: var(--space-3) 0;
}

