/* ============================================================
   SARACEN MANIFEST — luxusni brand sekce s atmosferickymi obrazky
   Obrazky jsou bud full-bleed pozadi + gradient overlay,
   nebo transparentni cepel jako "duch" v pozadi.
   Barvy: #061B41 navy | #C21D2A red | #F5F1EA cream
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

/* ---------- Root ---------- */
.saracen-manifest {
  background: #061B41;
  color: #F5F1EA;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.saracen-manifest,
.saracen-manifest *,
.saracen-manifest *::before,
.saracen-manifest *::after {
  box-sizing: border-box;
}

.saracen-manifest__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 3;
}

/* ---------- Eyebrow ---------- */
.saracen-manifest__eyebrow {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #C21D2A;
  margin-bottom: 28px;
}
.saracen-manifest__eyebrow--center {
  display: block;
  text-align: center;
}

/* ---------- Headings (serif) ---------- */
.saracen-manifest__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin: 0 0 32px;
  color: #ffffff;
}
.saracen-manifest__heading--center {
  text-align: center;
  margin-bottom: 64px;
}

/* ---------- Universalni layery pro full-bleed obrazky ---------- */
.saracen-manifest__bg-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #04132E;
}

.saracen-manifest__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Variant: silny gradient zleva → text vlevo, obraz vpravo */
.saracen-manifest__bg-overlay--left {
  background:
    linear-gradient(90deg,
      #061B41 0%,
      rgba(6, 27, 65, 0.96) 50%,
      rgba(6, 27, 65, 0.75) 70%,
      rgba(6, 27, 65, 0.35) 88%,
      rgba(6, 27, 65, 0.1) 100%
    ),
    linear-gradient(180deg,
      rgba(6, 27, 65, 0.5) 0%,
      transparent 25%,
      transparent 75%,
      rgba(6, 27, 65, 0.5) 100%
    );
}

/* Variant: silny gradient zprava → text vpravo, obraz vlevo */
.saracen-manifest__bg-overlay--right {
  background:
    linear-gradient(270deg,
      #061B41 0%,
      rgba(6, 27, 65, 0.96) 50%,
      rgba(6, 27, 65, 0.75) 70%,
      rgba(6, 27, 65, 0.35) 88%,
      rgba(6, 27, 65, 0.1) 100%
    ),
    linear-gradient(180deg,
      rgba(6, 27, 65, 0.5) 0%,
      transparent 25%,
      transparent 75%,
      rgba(6, 27, 65, 0.5) 100%
    );
}

/* Variant: tmavy vsude (pro sekce s obsahem uprostred) */
.saracen-manifest__bg-overlay--dark {
  background: rgba(4, 19, 46, 0.78);
}

/* Variant: tmavy s vinetou — pro centrovany text na full-bleed obrazu.
   Stred je castecne pruhledny (obraz lehce prosvita), okraje uplne tmave. */
.saracen-manifest__bg-overlay--vignette {
  background:
    radial-gradient(ellipse 80% 70% at center,
      rgba(6, 27, 65, 0.55) 0%,
      rgba(6, 27, 65, 0.78) 50%,
      rgba(4, 19, 46, 0.95) 90%,
      #04132E 100%
    );
}

/* (Pullquote a Closing dostavaji full-bleed pozadi pres .bg-section
   + vignette overlay — viz nize, sdileji .bg-overlay--vignette) */

/* ---------- Text card (na full-bleed pozadi) ---------- */
.saracen-manifest__text-card {
  position: relative;
  z-index: 3;
  max-width: 760px;
}
.saracen-manifest__text-card--right {
  margin-left: auto;
}

.saracen-manifest__text-card p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 20px;
  color: rgba(245, 241, 234, 0.88);
}
.saracen-manifest__text-card p:last-of-type { margin-bottom: 0; }

/* ============================================================
   1) OPENING — claim "Prepisujeme pribeh noze"
   ============================================================ */
.saracen-manifest__opening {
  padding: 160px 0 120px;
  text-align: center;
  background:
    radial-gradient(ellipse at center top, rgba(34, 72, 139, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, #04132E 0%, #061B41 100%);
  position: relative;
}

/* Velke "S" v pozadi */
.saracen-manifest__opening::before {
  content: 'S';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(360px, 56vw, 720px);
  font-weight: 500;
  font-style: normal;
  color: rgba(255, 255, 255, 0.025);
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.saracen-manifest__claim {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  color: #ffffff;
}
.saracen-manifest__claim em {
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
}

.saracen-manifest__claim-en {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.55);
  margin: 0 0 40px;
}

.saracen-manifest__divider {
  width: 64px;
  height: 2px;
  background: #C21D2A;
  margin: 0 auto;
}

/* ============================================================
   2) ORIGIN — full-bleed image + text card (vlevo)
   ============================================================ */
.saracen-manifest__origin {
  padding: 160px 0;
  min-height: 720px;
  display: flex;
  align-items: center;
}

/* Tenka cervena znacka v rohu sekce */
.saracen-manifest__origin .saracen-manifest__container::before {
  content: '';
  position: absolute;
  top: -56px;
  left: 56px;
  width: 2px;
  height: 64px;
  background: #C21D2A;
  z-index: 3;
}

/* ============================================================
   3) PULLQUOTE — full-bleed obraz + vignette overlay
   (background-image se nastavuje inline v JS)
   ============================================================ */
.saracen-manifest__quote-section {
  padding: 180px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* fallback gradient kdyby obraz neprosel */
  background-color: #061B41;
  background-image: linear-gradient(135deg, #22488B 0%, #061B41 60%, #04132E 100%);
  background-size: cover;
  background-position: center;
}

.saracen-manifest__pullquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 auto;
  padding: 0;
  border: 0;
  max-width: 900px;
  position: relative;
  z-index: 3;
}

.saracen-manifest__pullquote::before {
  content: '\201C';
  position: absolute;
  left: 50%;
  top: -64px;
  transform: translateX(-50%);
  font-size: 140px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #C21D2A;
  opacity: 0.7;
  line-height: 1;
  font-style: normal;
  z-index: 4;
}

.saracen-manifest__pullquote span { display: block; }
.saracen-manifest__pullquote em {
  font-style: normal;
  color: #C21D2A;
  font-weight: 500;
}

/* ============================================================
   4) DNA — 4 pilire s atmosferickou cepeli v rohu
   ============================================================ */
.saracen-manifest__dna {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at top right, rgba(34, 72, 139, 0.18) 0%, transparent 60%),
    #04132E;
  position: relative;
  overflow: hidden;
}

.saracen-manifest__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 3;
  /* lehky tmavy backdrop pro citelnost na cepeli */
  background: rgba(4, 19, 46, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.saracen-manifest__pillar {
  padding: 56px 36px;
  text-align: left;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.4s ease;
}
.saracen-manifest__pillar:last-child { border-right: 0; }
.saracen-manifest__pillar:hover {
  background: rgba(34, 72, 139, 0.18);
}

.saracen-manifest__pillar-num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  color: #C21D2A;
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.saracen-manifest__pillar h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.saracen-manifest__pillar p {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(245, 241, 234, 0.72);
  margin: 0;
}

/* Varianta pro 6 polozek — 3 sloupce × 2 rady (Benefity) */
.saracen-manifest__pillars--six {
  grid-template-columns: repeat(3, 1fr);
}
.saracen-manifest__pillars--six .saracen-manifest__pillar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.saracen-manifest__pillars--six .saracen-manifest__pillar:nth-child(3n) {
  border-right: 0;
}
.saracen-manifest__pillars--six .saracen-manifest__pillar:nth-last-child(-n+3) {
  border-bottom: 0;
}

/* ============================================================
   5) PHILOSOPHY — full-bleed image + text card (vpravo)
   ============================================================ */
.saracen-manifest__philosophy {
  padding: 160px 0;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.saracen-manifest__values {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
}
.saracen-manifest__values li {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 241, 234, 0.78);
}
.saracen-manifest__values li:last-child { border-bottom: 0; }
.saracen-manifest__values strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

/* ============================================================
   6) CLOSING — full-bleed obraz + vignette overlay
   (background-image se nastavuje inline v JS)
   ============================================================ */
.saracen-manifest__closing {
  padding: 180px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* fallback gradient kdyby obraz neprosel */
  background-color: #061B41;
  background-image: linear-gradient(180deg, #061B41 0%, #04132E 100%);
  background-size: cover;
  background-position: center;
}

/* Vertikalni cervene linky nahore/dole */
.saracen-manifest__closing .saracen-manifest__container::before,
.saracen-manifest__closing .saracen-manifest__container::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  background: rgba(194, 29, 42, 0.6);
  transform: translateX(-50%);
  z-index: 4;
}
.saracen-manifest__closing .saracen-manifest__container::before {
  top: -100px;
  height: 70px;
}
.saracen-manifest__closing .saracen-manifest__container::after {
  bottom: -100px;
  height: 70px;
}

.saracen-manifest__closing-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 auto;
  padding: 0;
  border: 0;
  max-width: 880px;
  position: relative;
  z-index: 3;
}
.saracen-manifest__closing-quote em {
  font-style: normal;
  font-weight: 500;
  color: #C21D2A;
}

/* CTA "OBJEVIT" v zaverecne sekci — stejny visual jako v hero,
   dva uriznute kousky (hlavni + akcent) s diagonalni mezerou.
   Vlozeno pod citatem v closing sekci. */
.saracen-manifest__cta {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin: 56px 14px 0 -14px;  /* horni odsazeni + vykompenzovani vizualni asymetrie akcentu */
  padding: 18px 56px 18px 36px;
  background: transparent;
  color: #ffffff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  z-index: 3;
  transition: filter 0.2s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.saracen-manifest__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #C21D2A;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
  z-index: -1;
}

.saracen-manifest__cta::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -28px;
  width: 42px;
  background: #C21D2A;
  clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
  z-index: -1;
}

.saracen-manifest__cta:hover,
.saracen-manifest__cta:focus {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4)) brightness(1.1);
  color: #ffffff;
  text-decoration: none;
}

/* ============================================================
   SCROLL ANIMACE
   ============================================================ */
.saracen-manifest [data-anim] {
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.saracen-manifest [data-anim="fade-up"] {
  transform: translateY(40px);
}
.saracen-manifest [data-anim="grow"] {
  transform: scaleX(0);
  transform-origin: center;
}
.saracen-manifest [data-anim].is-visible {
  opacity: 1;
  transform: translateY(0) scaleX(1);
}

/* Stagger pro pilire */
.saracen-manifest__pillar[data-anim].is-visible { transition-delay: 0s; }
.saracen-manifest__pillar:nth-child(2)[data-anim].is-visible { transition-delay: 0.12s; }
.saracen-manifest__pillar:nth-child(3)[data-anim].is-visible { transition-delay: 0.24s; }
.saracen-manifest__pillar:nth-child(4)[data-anim].is-visible { transition-delay: 0.36s; }

/* Plovouci cepele: jemny fade-in */
.saracen-manifest__blade[data-anim] {
  transition: opacity 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .saracen-manifest [data-anim] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   RESPONZIVITA
   ============================================================ */
@media (max-width: 1199px) {
  .saracen-manifest__container { padding: 0 40px; }
  .saracen-manifest__opening { padding: 130px 0 100px; }
  .saracen-manifest__origin,
  .saracen-manifest__philosophy { padding: 130px 0; min-height: 620px; }
  .saracen-manifest__quote-section,
  .saracen-manifest__closing { padding: 140px 0; }
  .saracen-manifest__dna { padding: 120px 0; }
}

@media (max-width: 1024px) {
  .saracen-manifest__pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .saracen-manifest__pillar:nth-child(2) { border-right: 0; }
  .saracen-manifest__pillar:nth-child(1),
  .saracen-manifest__pillar:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  /* 6-pilirovy grid: 2 sloupce × 3 rady */
  .saracen-manifest__pillars--six {
    grid-template-columns: repeat(2, 1fr);
  }
  .saracen-manifest__pillars--six .saracen-manifest__pillar {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .saracen-manifest__pillars--six .saracen-manifest__pillar:nth-child(2n) { border-right: 0; }
  .saracen-manifest__pillars--six .saracen-manifest__pillar:nth-child(3n) { border-right: 1px solid rgba(255, 255, 255, 0.1); }
  .saracen-manifest__pillars--six .saracen-manifest__pillar:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .saracen-manifest__pillars--six .saracen-manifest__pillar:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (max-width: 768px) {
  .saracen-manifest__container { padding: 0 24px; }

  .saracen-manifest__opening { padding: 90px 0 70px; }
  .saracen-manifest__origin,
  .saracen-manifest__philosophy {
    padding: 90px 0;
    min-height: 0;
  }
  .saracen-manifest__quote-section,
  .saracen-manifest__closing { padding: 100px 0; }
  .saracen-manifest__dna { padding: 90px 0; }

  /* Na mobilu silnejsi overlay (citelnost) */
  .saracen-manifest__bg-overlay--left,
  .saracen-manifest__bg-overlay--right {
    background:
      linear-gradient(180deg,
        rgba(6, 27, 65, 0.92) 0%,
        rgba(6, 27, 65, 0.88) 100%
      );
  }

  .saracen-manifest__text-card,
  .saracen-manifest__text-card--right {
    max-width: 100%;
    margin: 0;
  }

  .saracen-manifest__pillars {
    grid-template-columns: 1fr;
  }
  .saracen-manifest__pillar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 28px;
  }
  .saracen-manifest__pillar:last-child { border-bottom: 0; }

  .saracen-manifest__pullquote::before {
    font-size: 100px;
    top: -44px;
  }

  /* Na mobilu silnejsi vignette na full-bleed sekcich (citelnost) */
  .saracen-manifest__bg-overlay--vignette {
    background: linear-gradient(180deg,
      rgba(6, 27, 65, 0.88) 0%,
      rgba(4, 19, 46, 0.92) 100%);
  }

  .saracen-manifest__origin .saracen-manifest__container::before {
    top: -40px;
    left: 24px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .saracen-manifest__container { padding: 0 20px; }
  .saracen-manifest__eyebrow { font-size: 10px; letter-spacing: 2.5px; }
  .saracen-manifest__pullquote::before { font-size: 80px; top: -32px; }
  .saracen-manifest__values strong { font-size: 22px; }
}
