/* css/onas.css */
/* =========================================================
   O NÁS – MILLION EVENT LOOK (CLEAN / PREMIUM / EDITORIAL)
========================================================= */

:root {
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .72);

  --line: rgba(255, 255, 255, .10);
  --lineStrong: rgba(255, 255, 255, .16);

  --panel: rgba(0, 0, 0, .42);
  --panelSoft: rgba(0, 0, 0, .30);

  --shadow: 0 18px 55px rgba(0, 0, 0, .62);
  --shadowSoft: 0 12px 38px rgba(0, 0, 0, .40);

  --radius: 18px;
  --container: 1180px;

  --titleFont: Montserrat, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --bodyFont: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --ease: cubic-bezier(.2, .85, .2, 1);
}

/* =========================================================
   PAGE / BACKGROUND
========================================================= */
.aboutPage {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;

  color: var(--text);
  font-family: var(--bodyFont);

  background: url("../Podklady/BG.jpg") center/cover no-repeat;

  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: geometricPrecision;
}

@media (min-width: 1024px) {
  .aboutPage {
    background-attachment: fixed;
  }
}

.aboutPage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 20% 28%, rgba(255, 255, 255, .05), transparent 65%),
    radial-gradient(900px 500px at 80% 30%, rgba(255, 255, 255, .04), transparent 65%),
    radial-gradient(1000px 700px at 15% 60%, rgba(34, 255, 170, .05), transparent 70%),
    radial-gradient(1000px 700px at 85% 62%, rgba(255, 80, 80, .04), transparent 72%),
    linear-gradient(to bottom,
      rgba(0, 0, 0, .84) 0%,
      rgba(0, 0, 0, .70) 35%,
      rgba(0, 0, 0, .74) 70%,
      rgba(0, 0, 0, .90) 100%);
}

.aboutPage::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 50% 20%, transparent 45%, rgba(0, 0, 0, .60) 92%),
    radial-gradient(1200px 800px at 50% 120%, rgba(0, 0, 0, .65), transparent 60%);
  opacity: .95;
}

.heroSection,
.storySection,
.quoteSection,
.editionsSection,
.founderSection {
  position: relative;
  z-index: 1;
}

/* =========================================================
   HERO
========================================================= */
.heroSection {
  min-height: 36vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(84px, 10vh, 130px) 40px 28px;
  text-align: center;
}

.heroContent {
  max-width: 920px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .70);
  margin: 0 0 12px;
}

.title {
  font-family: var(--titleFont);
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
  margin: 0;
  line-height: .98;
  text-shadow: 0 22px 55px rgba(0, 0, 0, .70);
}

.title::after {
  content: "";
  display: block;
  width: 130px;
  height: 1px;
  margin: 18px auto 0;
  background: rgba(255, 255, 255, .32);
  opacity: .9;
}

.lead {
  font-size: 16px;
  line-height: 1.9;
  margin: 18px auto 0;
  max-width: 780px;
  color: rgba(255, 255, 255, .82);
  text-wrap: pretty;
}

.lead strong {
  font-weight: 800;
  color: rgba(255, 255, 255, .96);
}

/* =========================================================
   STORY
========================================================= */
.storySection {
  padding: 6px 0 6px;
}

.storyContainer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.20fr .80fr;
  gap: 46px;
  align-items: start;
}

.storyText {
  font-size: 15px;
  line-height: 2.0;
  color: rgba(255, 255, 255, .84);
  max-width: 740px;
  text-wrap: pretty;
}

.storyText::before {
  content: "";
  display: block;
  width: 160px;
  height: 1px;
  background: rgba(255, 255, 255, .16);
  margin: 0 0 18px;
  opacity: .9;
}

.storyText p {
  margin: 0 0 16px;
}

.storyText strong {
  font-weight: 800;
  color: rgba(255, 255, 255, .96);
}

/* =========================================================
   ZAKLADATEĽ (kompaktný box v story)
========================================================= */
.storyHighlight {
  justify-self: end;
  max-width: 520px;
  width: 100%;
}

.highlightInner {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .26));
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 28px 28px 22px;
  box-shadow: var(--shadowSoft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.highlightInner::after {
  content: "NG";
  position: absolute;
  right: 18px;
  top: 16px;
  font-family: var(--titleFont);
  font-weight: 900;
  letter-spacing: .22em;
  font-size: 64px;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.highlightInner::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(255, 255, 255, .14);
  opacity: .9;
}

.storyHighlight:hover .highlightInner {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: var(--shadow);
}

.tag {
  display: block;
  font-size: 11px;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  margin: 0 0 12px;
  padding-left: 18px;
}

.founderName {
  font-family: var(--titleFont);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 0 0 6px;
  padding-left: 18px;
}

.founderRole {
  font-size: 13px;
  color: rgba(255, 255, 255, .68);
  margin: 0 0 14px;
  padding-left: 18px;
}

.founderText {
  padding-left: 18px;
}

.founderText p {
  font-size: 14px;
  line-height: 1.92;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .82);
}

/* =========================================================
   ✅ FOUNDER SECTION (celý dlhý text – full width)
========================================================= */
.founderSection {
  padding: 14px 40px 22px;
}

.founderContainer {
  max-width: var(--container);
  margin: 0 auto;
}

.founderCard {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0, 0, 0, .44), rgba(0, 0, 0, .26));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadowSoft);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 28px 28px 22px;
}

.founderCard::after {
  content: "NG";
  position: absolute;
  right: 18px;
  top: 16px;
  font-family: var(--titleFont);
  font-weight: 900;
  letter-spacing: .22em;
  font-size: 64px;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.founderCard::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(255, 255, 255, .14);
  opacity: .9;
}

.founderCard .tag,
.founderCard .founderName,
.founderCard .founderRole,
.founderCard .founderText {
  padding-left: 18px;
}

.founderText--long {
  margin-top: 8px;
}

.founderText--long ul {
  margin: 10px 0 14px;
  padding-left: 18px;
}

.founderText--long li {
  color: rgba(255, 255, 255, .82);
  line-height: 1.85;
  font-size: 14px;
  margin: 6px 0;
}

/* =========================================================
   QUOTE
========================================================= */
.quoteSection {
  padding: 34px 40px 10px;
  text-align: center;
}

.quoteWrapper {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0;
}

.quoteWrapper::before {
  content: "";
  display: block;
  width: 170px;
  height: 1px;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, .18);
}

.qMain {
  font-family: var(--titleFont);
  font-size: clamp(20px, 2.25vw, 30px);
  font-weight: 900;
  line-height: 1.33;
  margin: 0 0 8px;
  text-shadow: 0 22px 55px rgba(0, 0, 0, .70);
}

.qSub {
  font-size: 16px;
  margin: 0;
  font-style: italic;
  color: rgba(255, 255, 255, .70);
}

/* =========================================================
   EDITIONS
========================================================= */
.editionsSection {
  padding: 34px 40px 40px;
}

.editionsContainer {
  max-width: var(--container);
  margin: 0 auto;
}

.edTitle {
  text-align: center;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .70);
  margin: 0 0 6px;
}

.edDesc {
  text-align: center;
  font-size: 15px;
  line-height: 1.92;
  max-width: 820px;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, .74);
  text-wrap: pretty;
}

.edGallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding-top: 6px;
}

.edLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: .92;
  transition: transform .22s var(--ease), opacity .22s var(--ease), filter .22s var(--ease);
}

.edLogo img {
  max-height: 92px;
  width: auto;
  filter: brightness(1.02) contrast(1.06) saturate(1.02);
  opacity: .92;
  transition: transform .22s var(--ease), filter .22s var(--ease), opacity .22s var(--ease);
}

.edLogo:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.edLogo:hover img {
  transform: scale(1.06);
  filter: brightness(1.16) contrast(1.14) saturate(1.08);
  opacity: 1;
}

/* =========================================================
   ANIMÁCIE
========================================================= */
.fadeIn {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeIn .85s var(--ease) forwards;
  will-change: transform, opacity;
}

.heroContent.fadeIn {
  animation-delay: .05s;
}

.storyText.fadeIn {
  animation-delay: .12s;
}

.storyHighlight.fadeIn {
  animation-delay: .18s;
}

.founderCard.fadeIn {
  animation-delay: .20s;
}

.quoteWrapper.fadeIn {
  animation-delay: .22s;
}

.is-loading .fadeIn {
  animation: none !important;
  opacity: 0;
  transform: translateY(14px);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px) {
  .heroSection {
    min-height: 30vh;
    padding: 76px 20px 22px;
  }

  .storyContainer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 0 20px;
  }

  .quoteSection,
  .editionsSection,
  .founderSection {
    padding-left: 20px;
    padding-right: 20px;
  }

  .founderCard {
    padding: 22px 16px 18px;
  }
}

@media (max-width: 600px) {
  .title {
    font-size: clamp(34px, 8vw, 52px);
  }

  .lead {
    font-size: 15px;
  }

  .founderText p {
    font-size: 13.8px;
  }

  .edGallery {
    gap: 18px;
  }

  .edLogo img {
    max-height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   MOBILE: zjednotenie "Pavel Berky" boxov (nech je len jeden)
========================================================= */
@media (max-width: 980px) {

  /* skryť ten menší box v story (duplicitný) */
  .storyHighlight {
    display: none !important;
  }

  /* story text nech ide pekne do šírky */
  .storyText {
    max-width: 100%;
  }

  /* veľký founder box nech má prirodzený spacing */
  .founderSection {
    padding-top: 10px;
  }
}


/* =========================================================
   EDITIONS – WIDE / FULL WIDTH GALLERY
========================================================= */
.editionsContainer--wide {
  max-width: none;
  /* zruší container limit */
  width: 100%;
  /* plná šírka */
  margin: 0 auto;
  padding: 0 40px;
}

.edGallery--wide {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  align-items: center;
  padding-top: 10px;
}

.edGallery--wide .edLogo {
  flex: 0 1 auto;
  width: auto;
  max-width: none;
  display: flex;
  justify-content: center;
  align-items: center;

  /* ❌ zrušené boxy */
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  /* nech ostane jemný premium hover */
  opacity: .85;
  transition: transform .22s var(--ease), opacity .22s var(--ease), filter .22s var(--ease);
}

.edGallery--wide .edLogo img {
  width: auto;
  height: 85px;
  /* Fixná výška pre vizuálnu konzistenciu */
  max-width: 240px;
  /* Limit pre extrémne široké logá */
  object-fit: contain;

  /* čisté logo */
  filter: brightness(1.02) contrast(1.06) saturate(1.02);
  transition: transform .22s var(--ease), filter .22s var(--ease);
}

.edGallery--wide .edLogo:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.edGallery--wide .edLogo:hover img {
  transform: scale(1.08);
  filter: brightness(1.16) contrast(1.14) saturate(1.08);
}


/* RESPONSIVE grid fallback for mobile/tablet */
@media (max-width: 1200px) {
  .edGallery--wide {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .editionsContainer--wide {
    padding: 0 18px;
  }

  .edGallery--wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .edGallery--wide .edLogo {
    max-width: none;
    padding: 12px 12px;
    width: 100%;
  }

  .edGallery--wide .edLogo img {
    height: 58px;
    width: auto;
    object-fit: contain;
  }
}