/* GabStyle — Design tokens + alap elemstílusok
   Forrás: GabStyle Atelier Design System (tokens/colors, typography, spacing, base).
   A betűtípusokat a functions.php tölti be (Google Fonts), hogy a betöltés optimális legyen. */

:root {
  /* ——— Cream / beige háttér ——— */
  --cream-50:  #FBF7F0;
  --cream-100: #F7F0E6;
  --cream-200: #EFE4D5;
  --sand-300:  #E5D7C3;
  --beige-400: #D9C7AD;
  --ivory:     #FFFDF9;

  /* ——— Arany (fő akcent) ——— */
  --gold-300:  #DCC79B;
  --gold-400:  #CDAE74;
  --gold-500:  #C2A05E;
  --gold-600:  #A8854A;

  /* ——— Karamell / terrakotta (meleg másodlagos) ——— */
  --caramel-400: #C68A63;
  --caramel-500: #B97A52;
  --caramel-600: #A6633D;
  --caramel-700: #8C4F2E;

  /* ——— Meleg barna (semleges / szöveg) ——— */
  --brown-900: #36291F;
  --brown-800: #43342A;
  --brown-700: #574536;
  --brown-600: #6B5645;
  --taupe-500: #948374;
  --taupe-400: #B3A595;
  --taupe-300: #CFC2B2;

  /* ——— Púder (feminin akcent) ——— */
  --blush-200: #F4E1DA;
  --blush-300: #EBC9BE;
  --blush-400: #E2B0A0;
  --blush-500: #D08C7A;

  /* ——— Meleg sage (csak funkcionális — készleten) ——— */
  --sage-100: #ECEFE3;
  --sage-600: #7C8765;

  /* ——— Státusz ——— */
  --success-fg: var(--sage-600);
  --success-bg: var(--sage-100);
  --error-fg:   #B0523F;
  --error-bg:   #F6E2DB;

  /* ═══ Szemantikus aliasok ═══ */
  --bg-page:        var(--cream-100);
  --bg-subtle:      var(--cream-200);
  --bg-wash:        var(--cream-50);
  --surface:        var(--ivory);
  --surface-card:   #FBF6EE;
  --surface-raised: var(--ivory);
  --surface-footer: var(--brown-900);
  --surface-dark:   var(--brown-900);

  --text-heading:   var(--brown-800);
  --text-body:      var(--brown-600);
  --text-muted:     var(--taupe-500);
  --text-gold:      var(--gold-600);
  --text-on-dark:        #F2E7D6;
  --text-on-dark-muted:  rgba(242,231,214,0.66);

  --accent:        var(--gold-500);
  --accent-warm:   var(--caramel-600);
  --accent-blush:  var(--blush-400);

  --border:        var(--sand-300);
  --border-strong: var(--beige-400);
  --border-gold:   var(--gold-400);
  --divider:       var(--sand-300);

  /* Gombok */
  --btn-primary-bg:    var(--brown-800);
  --btn-primary-fg:    var(--cream-50);
  --btn-primary-hover: var(--brown-900);
  --btn-warm-bg:       var(--caramel-600);
  --btn-warm-fg:       var(--cream-50);
  --btn-warm-hover:    var(--caramel-700);
  --btn-ghost-fg:      var(--brown-700);
  --btn-ghost-border:  var(--gold-400);

  --focus-ring: rgba(194,160,94,0.45);

  /* ——— Tipográfia ——— */
  --font-display: 'Cormorant Garamond', 'Hoefler Text', Georgia, 'Times New Roman', serif;
  --font-sans:    'Mulish', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --text-display: 4.75rem;
  --text-h1:      3.25rem;
  --text-h2:      2.5rem;
  --text-h3:      1.875rem;
  --text-h4:      1.375rem;
  --text-h5:      1.125rem;

  --text-body-lg: 1.1875rem;
  --text-body:    1rem;
  --text-sm:      0.875rem;
  --text-xs:      0.75rem;

  --eyebrow-size: 0.8125rem;
  --eyebrow-tracking: 0.22em;

  --lh-display: 1.04;
  --lh-heading: 1.16;
  --lh-snug: 1.35;
  --lh-body: 1.66;

  --tracking-tight: -0.01em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-caps: 0.22em;

  /* ——— Spacing / radii / shadow / layout / motion ——— */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --space-9: 6rem; --space-10: 8rem;

  --radius-xs: 3px; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-pill: 999px; --radius-button: 4px; --radius-card: 12px;

  --shadow-xs: 0 1px 2px rgba(54,41,31,0.05);
  --shadow-sm: 0 2px 8px rgba(54,41,31,0.06);
  --shadow-md: 0 8px 24px rgba(54,41,31,0.08);
  --shadow-lg: 0 20px 50px rgba(54,41,31,0.12);
  --shadow-card: 0 10px 30px rgba(86,69,53,0.09);

  --hairline: 1px solid var(--border);
  --hairline-gold: 1px solid var(--border-gold);

  --container: 1200px;
  --container-narrow: 880px;
  --container-wide: 1400px;
  --gutter: 1.5rem;
  --section-y: 6rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 480ms;
}

/* Mobil tipográfia */
@media (max-width: 720px) {
  :root {
    --text-display: 2.875rem;
    --text-h1:      2.25rem;
    --text-h2:      1.875rem;
    --text-h3:      1.5rem;
    --text-h4:      1.25rem;
    --text-body-lg: 1.0625rem;
  }
}

/* ——— Alap elemstílusok ——— */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 0.5em;
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); font-weight: var(--fw-semibold); }

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--text-gold); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--caramel-600); }

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

::selection { background: var(--blush-300); color: var(--brown-900); }

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

/* ——— Brand utility osztályok ——— */
.gs-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--eyebrow-size);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-gold);
}

.gs-display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-tight);
  color: var(--text-heading);
}

/* ♡ heart divider — a márka jelképes elválasztója */
.gs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  color: var(--gold-500);
}
.gs-divider::before,
.gs-divider::after {
  content: "";
  height: 1px;
  width: clamp(36px, 8vw, 76px);
  background: linear-gradient(90deg, transparent, var(--gold-400));
}
.gs-divider::after { background: linear-gradient(90deg, var(--gold-400), transparent); }
.gs-divider .gs-heart { font-size: 0.9rem; line-height: 1; }

.gs-container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.gs-container--narrow { max-width: var(--container-narrow); }

.gs-tagline {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe-500);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
