/* ============================================================
   COACHING & STYLING BY SIPOS ÉVI
   Design System – style.css  · Arculati kézikönyv 01/2026
   ============================================================ */

/* --- Google Fonts – arculati betűkészlet (kézikönyv 06 Tipográfia) --- */
/* Inter Display: főcímek, navigáció, UI, kiemelések */
/* Noto Serif Display: editorial akcentus, kérdések, idézetek */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Serif+Display:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap');

/* --- Custom Properties --- */
:root {
  /* ══════════════════════════════════════════
     ARCULATI SZÍNRENDSZER – 05 SZÍNRENDSZER
     Arány: 60% Ivory / 25% Charcoal /
            10% Warm Stone / 5% Gold
     ══════════════════════════════════════════ */

  /* SIGNATURE GOLD #C9A56A – jel, vonalak, kiemelések */
  --gold:         #C9A56A;
  --gold-light:   #DFC08A;
  --gold-subtle:  rgba(201, 165, 106, 0.12);

  /* CHARCOAL #151515 – fő szöveg, sötét felületek */
  --graphite:     #151515;
  --graphite-dk:  #151515;
  --graphite-mid: #2A2620;

  /* IVORY #F7F4EE – elsődleges háttér */
  --ivory:        #F7F4EE;
  --ivory-deep:   #EDE8DE;

  /* WARM STONE #D7CDBE – másodlagos háttér, elválasztás */
  --warm-stone:   #D7CDBE;
  --warm-gray:    #9A9490;
  --warm-gray-lt: #C5C0B8;
  --white:        #FFFFFF;

  /* ══════════════════════════════════════════
     TIPOGRÁFIA – 06 TIPOGRÁFIA
     H1: Inter Semibold 40–64px
     H2: Inter Medium 26–36px
     Body: Inter Regular 16–19px
     Label: Inter Medium caps 11–13px
     Accent: Noto Serif Display 32–56px
     ══════════════════════════════════════════ */
  --font-display:  'Inter', -apple-system, sans-serif;
  --font-accent:   'Noto Serif Display', Georgia, serif;
  --font-body:     'Inter', -apple-system, sans-serif;

  /* ── Méretrendszer (brand guide skálán) ── */
  --size-xs:   0.8125rem; /* 13px  – Label (+2) */
  --size-sm:   1rem;      /* 16px  – (+2)        */
  --size-base: 1.1875rem; /* 19px  – Body (+2)   */
  --size-md:   1.5rem;    /* 24px  – (+2)        */
  --size-lg:   2rem;      /* 32px */
  --size-xl:   2.75rem;   /* 44px */
  --size-2xl:  3.75rem;   /* 60px */
  --size-3xl:  5rem;      /* 80px */
  --size-4xl:  7rem;      /* 112px */
  --size-hero: clamp(2.5rem, 5vw, 4rem);     /* H1: 40–64px */
  --size-monument: clamp(6rem, 18vw, 20rem);

  /* ── Távolságrendszer ── */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 9rem;
  --space-3xl: 14rem;

  /* ── Layout ── */
  --max-width:      1220px;  /* brand guide: 1180–1240px tartalmi szélesség */
  --content-width:  820px;
  --gutter:         clamp(1.5rem, 5vw, 5rem);

  /* ── Animáció ── */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout:  cubic-bezier(0.76, 0, 0.24, 1);
  --duration-md: 0.6s;
  --duration-lg: 1s;
  --duration-xl: 1.4s;

  /* ── Árnyékok ── */
  --shadow-sm:  0 2px 12px rgba(21,21,21,0.07);
  --shadow-md:  0 8px 32px rgba(21,21,21,0.12);
}


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

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

body {
  background-color: var(--ivory);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: var(--size-base);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Tipográfia – brand guide 06 skala --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--graphite);
}

/* H1: Inter Semibold 40–64px */
h1 { font-size: var(--size-hero); font-weight: 600; letter-spacing: -0.02em; }
/* H2: Inter Medium 26–36px */
h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 500; letter-spacing: -0.01em; }
/* H3 */
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; }

em {
  font-style: italic;
  font-weight: 400;
}

p {
  line-height: 1.75;
  color: var(--graphite);
}

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

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

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--content-width);
}

/* --- Label / Eyebrow – brand guide: Inter Medium caps, 11–13px --- */
.label {
  font-family: var(--font-body);
  font-size: var(--size-xs);   /* 11px */
  font-weight: 500;            /* Inter Medium */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.label--light {
  color: var(--gold-light);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-md) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--graphite);
  color: var(--ivory);
  padding: 1rem 2.25rem;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform var(--duration-md) var(--ease-inout);
  z-index: 0;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover::after {
  transform: translateX(0);
}

.btn-primary:hover {
  color: var(--graphite);
}

.btn-secondary {
  background: transparent;
  color: var(--graphite);
  padding: 1rem 0;
  border-bottom: 1px solid var(--graphite);
  letter-spacing: 0.08em;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-secondary--light {
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

.btn-secondary--light:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-gold {
  background: var(--gold);
  color: var(--graphite-dk);
  padding: 1.125rem 2.5rem;
  font-weight: 600;
}

.btn-gold:hover {
  background: var(--gold-light);
}

/* --- Gold Accent Line --- */
.gold-rule {
  width: 1px;
  background: var(--gold);
  display: block;
  margin: 0 auto;
}

.gold-rule--h {
  width: 3rem;
  height: 1px;
  background: var(--gold);
  display: block;
}

/* --- Section base --- */
.section {
  position: relative;
  padding-block: var(--space-2xl);
}

.section--dark {
  background-color: var(--graphite-dk);
  color: var(--ivory);
  position: relative;
}

/* Hullámvonal arculati elválasztó */
.brand-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-block: -1px; /* px-tized illeszkedés */
}

.brand-wave img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 180px;
  object-fit: cover;
  object-position: center;
}

/* Tükrözött variáns */
.brand-wave--flip img {
  transform: scaleX(-1);
}

/* Manifesto brand card */
.manifesto__brand-card {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
}

.manifesto__brand-card img {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p,
.section--dark .label {
  color: var(--ivory);
}

.section--dark .label {
  color: var(--gold-light);
}

.section--mid {
  background-color: var(--graphite-mid);
  color: var(--ivory);
}

/* --- Scroll reveal base --- */
.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity var(--duration-lg) var(--ease-out),
              transform var(--duration-lg) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.35s; }
.reveal--delay-4 { transition-delay: 0.5s; }
.reveal--delay-5 { transition-delay: 0.65s; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 84px;
  padding: 1rem var(--gutter);
  padding-left: max(var(--gutter), 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 244, 239, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 165, 106, 0.18);
  transition: background var(--duration-md) var(--ease-out),
              box-shadow var(--duration-md) var(--ease-out),
              min-height var(--duration-md) var(--ease-out);
}

.nav--scrolled {
  background: rgba(247, 244, 239, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding-right: 1.5rem;
}

/* Valódi horizontális logó – desktopon és mobilon kiemelten olvasható */
.nav__logo-img {
  width: 225px;
  height: auto;
  display: block;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  transition: opacity var(--duration-md) var(--ease-out), transform var(--duration-sm) var(--ease-out);
}

.nav__logo-img:hover {
  transform: translateY(-1px);
}

.nav__logo-mark {
  height: 2.5rem;
  width: auto;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav__logo-primary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-md) var(--ease-out);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link--eu42:hover,
.nav__link--eu42.active {
  color: var(--gold);
}

.nav__cta {
  font-family: var(--font-body);
  font-size: var(--size-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  border: 1px solid var(--graphite);
  padding: 0.65rem 1.4rem;
  transition: all var(--duration-md) var(--ease-out);
}

.nav__cta:hover {
  background: var(--graphite);
  color: var(--ivory);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--graphite);
  transition: all 0.3s ease;
}

/* --- Sticky Gold Line --- */
.gold-thread {
  position: fixed;
  left: clamp(1.5rem, 4vw, 4rem);
  top: 0;
  width: 1px;
  height: 100vh;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}

.gold-thread__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--gold) 20%,
    var(--gold) 80%,
    transparent 100%
  );
  transform: translateY(-100%);
  animation: threadDrop 2.5s var(--ease-out) 0.8s forwards;
}

.gold-thread__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  background: var(--gold-light);
  height: var(--scroll-progress, 0%);
  opacity: 0.6;
}

@keyframes threadDrop {
  to { transform: translateY(0); }
}

/* --- Mobile Nav --- */
.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.nav__mobile-menu.open {
  display: flex;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--graphite);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav__mobile-link:hover {
  color: var(--gold);
}

.nav__mobile-close {
  position: absolute;
  top: 1.5rem;
  right: var(--gutter);
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--graphite);
  line-height: 1;
}

/* --- Responsive Navigation --- */
@media (max-width: 1080px) {
  .nav__logo-img {
    width: 215px;
  }
  .nav__links {
    gap: 1.5rem;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 76px;
    padding-left: var(--gutter);
  }
  .nav__logo-img {
    width: 210px;
    max-width: calc(100vw - 90px);
  }
  .nav__links {
    display: none;
  }
  .nav__cta {
    display: none;
  }
  .nav__hamburger {
    display: flex;
  }
  .gold-thread {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav {
    min-height: 72px;
    padding-inline: 1.25rem;
  }
  .nav__logo-img {
    width: 195px;
    max-width: calc(100vw - 75px);
  }
}

