/**
 * @file base.css
 * Alapok: reset, arculati változók, tipográfia, ismétlődő segéd-osztályok.
 *
 * A színpaletta és a betűtípusok a statikus demóból származnak:
 *  - Cormorant Garamond (címsorok, szakrális, elegáns serif)
 *  - Jost (törzsszöveg, modern geometrikus sans-serif)
 * A betűket a html.html.twig tölti be a Google Fonts-ról.
 */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Arculati változók (design tokenek) ---- */
:root {
  --cream:     #F7F3ED; /* fő háttér */
  --parchment: #EDE5D8; /* másodlagos háttér, kártyák */
  --stone:     #C9BBA8; /* keretek, halvány elemek */
  --walnut:    #6B4F3A; /* dió – kiegészítő barna */
  --mahogany:  #4A2E1A; /* mahagóni – címsorok, sötét szekciók */
  --gold:      #B8913A; /* arany – kiemelés, CTA */
  --gold-lt:   #D4AC5A; /* világos arany – hover, sötét háttéren */
  --ink:       #1E1610; /* szövegszín, legsötétebb */
  --muted:     #7A6B5A; /* halvány szöveg */
  --white:     #FFFFFF;
  --nav-h:     72px;    /* fix fejléc magassága */
  --maxw:      1200px;  /* tartalom maximális szélessége */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ---- Tipográfia ---- */
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; }

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--mahogany);
  margin-bottom: .75rem;
}
h2 em { font-style: italic; }

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

img { max-width: 100%; }

/* ---- Ismétlődő segédelemek ---- */

/* Keskeny, nagybetűs „eyebrow” felirat aranyszínű vonallal. */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* Bevezető szöveg a címsor alatt. */
.lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

/* Tartalom-középre igazító konténer. */
.container { max-width: var(--maxw); margin: 0 auto; }

/* ---- Gombok ---- */
.btn-gold,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
  cursor: pointer;
  border: none;
}
.btn-gold { background: var(--gold); color: var(--mahogany); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, .8);
  padding: 13px 28px;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, .3);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .7); color: var(--white); }

/* ---- Belépő animáció (fade up) ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fu  { animation: fadeUp .8s ease both; }
.fu1 { animation-delay: .1s; }
.fu2 { animation-delay: .22s; }
.fu3 { animation-delay: .34s; }
.fu4 { animation-delay: .46s; }

/* Akiknek zavaró a mozgás, kapcsoljuk ki az animációkat. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fu { animation: none; }
}
