/* =========================================================================
   Dóm Cukrászda — közös dizájnrendszer (tortarendelés + belső felület)
   A Dóm weboldal arculatára épül: elefántcsont és fehér felületek, arany
   hajszálvonalak, Cormorant Garamond címek, Plus Jakarta Sans apró betűk,
   a logó lila-bordó színe, sötét gombok.
   ========================================================================= */

@font-face {
  font-family: 'StraightHyphen';
  src: local('Georgia'), local('Times New Roman'), local('Arial');
  unicode-range: U+002D, U+2010, U+2011;
}

:root {
  --ivory: #fbf8f3;
  --cream: #fdf9f5;
  --cream-2: #fbf7f3;
  --white: #ffffff;

  --ink: #141312;
  --charcoal: #1c1a18;
  --muted: #625d57;
  --muted-2: #8c857e;
  --muted-3: #b3aca4;

  --gold: #a88039;
  --gold-light: #c5a059;
  --gold-pale: #dec8a1;
  --heritage: #714863;
  --burgundy: #501c38;
  --danger: #b4513f;
  --ok: #4f6b52;

  --dark: #1b1a18;
  --dark-hover: #32302d;

  --line: #eee9e3;
  --line-2: #e2ddd7;
  --line-dark: #4a4642;

  --serif: 'StraightHyphen', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(20, 19, 18, 0.04);
  --shadow-md: 0 18px 50px rgba(20, 19, 18, 0.10);
  --shadow-lg: 0 22px 64px rgba(20, 19, 18, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.65; }
::selection { background: var(--gold-pale); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { max-width: 1340px; margin: 0 auto; padding: 0 2.5rem; }
@media (max-width: 760px) { .container { padding: 0 1.15rem; } }

/* ---------- Tipográfia, díszítők (a weboldal szerint) ---------- */

.eyebrow {
  display: block; font-family: var(--serif); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .24em; color: var(--gold); margin: 0 0 .85rem;
}
.heading-display {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(2.5rem, 4.6vw, 4.1rem); line-height: 1.08; margin: 0; color: var(--ink);
}
.heading-editorial {
  font-family: var(--serif); font-size: clamp(1.75rem, 2.5vw, 2.45rem); font-weight: 400;
  text-transform: uppercase; letter-spacing: .06em; line-height: 1.22; margin: 0; color: var(--ink);
}
.heading-editorial-italic {
  font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 400; letter-spacing: .01em; line-height: 1.22; margin: 0; color: var(--ink);
}
.body-editorial { font-family: var(--serif); font-size: 1.1rem; line-height: 1.78; color: var(--muted); margin: 0; }
.body-editorial strong { font-weight: 600; color: #3d3935; }

.divider-vertical-dots {
  width: 1px; height: 32px; margin: 1.4rem auto;
  background-image: linear-gradient(to bottom, var(--gold-light) 45%, transparent 45%);
  background-size: 1px 6px; background-repeat: repeat-y;
}
.divider-horizontal-line { width: 44px; height: 1px; background: var(--line-dark); margin: 2rem auto 0; }
.divider-fleuron { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.1rem auto 1.25rem; color: var(--gold-light); }
.divider-fleuron::before, .divider-fleuron::after { content: ''; width: 48px; height: 1px; background: var(--gold-pale); }
.divider-fleuron span { font-size: .85rem; line-height: 1; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-head .body-editorial { margin-top: 1rem; }

/* ---------- Gombok ---------- */

.btn-solid-dark, .btn-ghost, .btn-solid-white {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 2rem; font-family: var(--serif); font-size: .95rem; font-weight: 500; letter-spacing: .05em;
  border: 1px solid var(--dark); border-radius: 0; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-solid-dark { background: var(--dark); color: #fff; }
.btn-solid-dark:hover { background: var(--dark-hover); border-color: var(--dark-hover); }
.btn-solid-dark:disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--line-dark); }
.btn-ghost:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-solid-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; padding: 0 0 3px;
  font-family: var(--serif); font-size: .98rem; font-weight: 600; color: var(--gold);
  border-bottom: 1px solid var(--gold-pale); transition: color .25s, border-color .25s;
}
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover { color: var(--charcoal); border-color: var(--charcoal); }
.text-link:hover .arrow { transform: translateX(5px); }

/* ---------- Űrlap elemek ---------- */

.field { display: block; margin-bottom: 1rem; }
.field > span, .label {
  display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--muted-2); margin: 0 0 .5rem;
}
.input, .textarea, .select {
  width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: 0; padding: .8rem .9rem;
  font-family: var(--serif); font-size: 1.05rem; transition: border-color .25s, box-shadow .25s; outline: none;
}
.select { font-family: var(--sans); font-size: .85rem; }
.textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(197, 160, 89, .14); }
.input::placeholder, .textarea::placeholder { color: var(--muted-3); }
.input.invalid { border-color: var(--danger); }

/* ---------- Kártyák ---------- */

.card { background: #fff; border: 1px solid var(--line); transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.card:hover { border-color: var(--gold-pale); box-shadow: var(--shadow-md); }
.img-zoom { overflow: hidden; background: var(--cream-2); }
.img-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .img-zoom img { transform: scale(1.04); }

/* ---------- Segédek ---------- */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 90;
  background: var(--dark); color: #fff; padding: .9rem 1.4rem; font-family: var(--sans); font-size: .8rem; letter-spacing: .02em;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .35s var(--ease); max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast u { cursor: pointer; text-underline-offset: 3px; }
