/*!
 * QRfotky · base.css
 * Design tokens + reset + base + layout + section visuals + section breaks + buttons
 */

/*!
 * QRfotky · homepage.css
 * ============================================================================
 * Extrahováno z front-page.php (2026-05-26 refactor).
 * Při V2 rozdelene do tematickych souboru (hero.css, bingo.css, features.css...).
 *
 * Enqueued from functions.php pres `qrfotky-homepage` handle.
 * filemtime() cache busting — kazda zmena = novy verze handle.
 */

    /* Smooth scroll na anchor links, scroll-margin-top kompenzuje sticky header */
    html { scroll-behavior: smooth; }
    section[id], div[id] { scroll-margin-top: 88px; }

    /* ==========================================================
       DESIGN TOKENS
       ========================================================== */
    :root {
      /* Magenta primary + colorful pastel section palette */
      --bg:           #FFFFFF;
      --bg-soft:      #FBF6EE;        /* warm cream */
      --ink:          #1A1817;        /* warm charcoal */
      --ink-soft:     #6E635E;        /* warm gray-brown */
      --line:         #ECE4D8;        /* warm beige line */

      /* Homepage akcent = kobaltová modrá (homepage-only; dashboard/host drží magenta z brand.css) */
      --violet:       #2056D6;        /* primary cobalt blue */
      --violet-2:     #5B8DEF;        /* light blue */
      --violet-dark:  #173FA6;        /* dark blue */
      --violet-soft:  #E7EFFC;        /* soft blue tint */
      --violet-grad:  linear-gradient(135deg, #2056D6 0%, #5B8DEF 100%);

      /* Oranžový akcent (modrá zůstává hlavní; oranžová = CTA + zvýraznění, jen marketing web) */
      --orange:       #F5821F;
      --orange-dark:  #DA6A0A;
      --orange-2:     #FF9A3D;
      --orange-soft:  #FFF1D8;
      --orange-grad:  linear-gradient(135deg, #FF9A3D 0%, #F5821F 100%);

      --dark:         #1A1817;

      /* Colorful section backgrounds */
      --bg-cream:     #FBF6EE;
      --bg-peach:     #E7EFFC;
      --bg-sage:      #EAF1FC;
      --bg-mint:      #EAF1FC;
      --bg-oat:       #EAF1FC;
      --bg-lavender:  #EAF1FC;
      --bg-blush:     #E7EFFC;

      /* Pastels for icons / chips */
      --pastel-vio:   #E7EFFC;
      --pastel-pink:  #E7EFFC;
      --pastel-green: #EAF1FC;
      --pastel-blue:  #DCE9F5;
      --pastel-oran:  #FFF1D8;

      --shadow-card:  0 20px 60px rgba(40, 30, 70, 0.08);
      --shadow-mob:   0 30px 80px rgba(30, 20, 60, 0.22);
      --shadow-cta:   0 14px 34px rgba(32, 86, 214, 0.32);

      --ease:         cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ==========================================================
       RESET & BASE
       ========================================================== */
    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
      font-size: 17px;
      line-height: 1.6;
      color: var(--ink);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    button { font-family: inherit; cursor: pointer; }
    h1, h2, h3 { margin: 0; letter-spacing: -0.04em; }
    p { margin: 0; }

    /* ==========================================================
       LAYOUT
       ========================================================== */
    .container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 32px;
    }
    .section { padding: 80px 0 120px; }
    .section-sm { padding: 56px 0 80px; }
    /* Sections that follow a section-break: reduce top padding (break has it) */
    .section-break + section { padding-top: 64px; }

    /* Jemné doladění mezer u konkrétních dividerů (ID-scoped, nic globálního). */
    /* „02 · Funkce" */
    #jak.section { padding-bottom: 56px; }                 /* nad dividerem (z 120px) */
    .section-break:has(+ #funkce) { padding-top: 72px; }   /* nad dividerem (víc) */
    #funkce.more-section { padding-top: 40px; }            /* pod dividerem */
    /* „03 · Ukázky akcí" */
    .section-break:has(+ #akce) { padding-top: 96px; }     /* nad dividerem (posunout níž) */
    #akce.section { padding-top: 64px; }                   /* pod dividerem (víc vzduchu) */
    /* „04 · Ceník" — menší mezera pod dividerem */
    .pricing-wrap .qfc-pricing-section { padding-top: 1.5rem; }

    .section-header {
      text-align: center;
      max-width: 720px;
      margin: 0 auto 64px;
    }
    .section-header h2 {
      font-size: 46px;
      line-height: 1.15;
      font-weight: 750;
    }
    .section-header p {
      margin-top: 18px;
      color: var(--ink-soft);
      font-size: 18px;
    }

    /* ==========================================================
       SECTION VISUAL INTEREST — huge bg numerals, ornaments, etc.
       ========================================================== */
    section[data-section] { position: relative; overflow: hidden; }

    /* Big bg numerals removed per user request */

    /* Dotted texture decoration */
    section[data-ornament="dots"]::after {
      content: '';
      position: absolute;
      bottom: 60px;
      left: 60px;
      width: 120px;
      height: 120px;
      background-image: radial-gradient(circle, var(--line) 1.5px, transparent 1.6px);
      background-size: 14px 14px;
      pointer-events: none;
      opacity: 0.8;
    }

    /* Make sure content sits above bg numerals */
    section[data-section] > .container,
    section[data-section] > .pricing-section,
    section[data-section] > * { position: relative; z-index: 1; }

    /* Bigger, more dramatic H2 typography */
    .section-header h2,
    .more-copy h2,
    .trust-copy h2,
    .demo-copy h2 {
      font-size: clamp(38px, 5.2vw, 64px);
      line-height: 1.02;
      letter-spacing: -0.045em;
      font-weight: 800;
    }
    .section-header h2 em,
    .more-copy h2 em,
    .trust-copy h2 em,
    .demo-copy h2 em {
      font-style: italic;
      font-weight: 500;
    }

    /* Big quote marks decoration for trust section */
    .trust-section::after {
      content: '“';
      position: absolute;
      top: 80px;
      right: 6%;
      font-family: 'Georgia', 'PP Editorial New', serif;
      font-size: 320px;
      line-height: 1;
      color: var(--violet);
      opacity: 0.06;
      pointer-events: none;
      user-select: none;
    }

    /* Pricing featured card — bigger glow */
    .price-card.featured {
      box-shadow:
        0 24px 80px rgba(32, 86, 214, 0.22),
        0 0 0 1px rgba(32, 86, 214, 0.15);
    }
    .price-card.featured::after {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: inherit;
      background: linear-gradient(135deg, rgba(32, 86, 214,0.4), rgba(91, 141, 239,0.2), rgba(32, 86, 214,0.4));
      z-index: -1;
      opacity: 0.3;
      filter: blur(20px);
    }

    /* Event cards — zarovnané, bez náklonu (jen jemný lift na hover má events-pricing.css) */

    /* ==========================================================
       SECTION BREAK — editorial divider above each section
       Full-width: line — [ ●  02  ·  Funkce ] — line
       ========================================================== */
    .section-break {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      gap: 28px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 80px 32px 0;
    }
    .section-break::before,
    .section-break::after {
      content: '';
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, var(--line) 50%, var(--line) 100%);
    }
    .section-break::after {
      background: linear-gradient(90deg, var(--line) 0%, var(--line) 50%, transparent 100%);
    }
    .section-break-inner {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      padding: 6px 4px;
      white-space: nowrap;
    }
    .section-break-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 12px;
      border-radius: 999px;
      background: var(--violet);
      color: #fff;
      font-family: 'Geist Mono', 'Menlo', ui-monospace, monospace;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0;
      box-shadow: 0 12px 30px -8px rgba(32, 86, 214, 0.22);
    }
    .section-break-name {
      font-family: 'Geist Mono', 'Menlo', ui-monospace, monospace;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ink);
    }
    .section-break-name span {
      color: var(--ink-soft);
      font-weight: 500;
    }

    @media (max-width: 768px) {
      .section-break { padding: 56px 20px 0; gap: 14px; }
      .section-break-name { font-size: 13px; letter-spacing: 0.12em; }
      .section-break-num { min-width: 38px; height: 38px; font-size: 13px; }
      .section-break:has(+ #funkce) { padding-top: 40px; }   /* mobil: méně shora u Funkce */
    }

    /* Inline eyebrow (still used inside .more-copy/.trust-copy/.demo-copy) */
    .section-num {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: 'Geist Mono', 'Menlo', ui-monospace, monospace;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--violet);
      margin-bottom: 14px;
    }
    .section-num strong { color: var(--ink); font-weight: 700; }
    .section-num::before {
      content: '';
      width: 24px;
      height: 1.5px;
      background: var(--violet);
      border-radius: 999px;
    }
    .section-header .section-num { margin: 0 auto 14px; }

    /* ==========================================================
       BUTTONS
       ========================================================== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 52px;
      padding: 0 26px;
      border-radius: 14px;
      border: none;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
      white-space: nowrap;
    }
    .btn-primary {
      background: var(--orange-grad);
      color: #fff;
      box-shadow: var(--shadow-cta);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 42px rgba(245, 130, 31, 0.42);
    }
    .btn-secondary {
      background: #fff;
      color: var(--ink);
      border: 1px solid var(--line);
    }
    .btn-secondary:hover {
      border-color: var(--ink);
      transform: translateY(-1px);
    }
    .btn-dark-ghost {
      border: 1px solid rgba(255,255,255,0.28);
      background: rgba(255,255,255,0.06);
      color: #fff;
      backdrop-filter: blur(8px);
    }
    .btn-dark-ghost:hover {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.4);
    }
    .btn-sm { height: 44px; padding: 0 18px; font-size: 14px; border-radius: 12px; }

    .gradient-text {
      background: linear-gradient(135deg, #5B8DEF, #2056D6);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }


/* ============================================================
   Vypnuté stíny pod tlačítky a ikonkami (uživatelský požadavek).
   Stíny karet / fotek / telefonů zůstávají — dávají designu hloubku.
   ============================================================ */
/* Tlačítka */
.btn-primary, .btn-primary:hover,
.qhero-btn-primary, .qhero-btn-primary:hover,
.bingo-btn-primary, .bingo-btn-primary:hover,
.fhero-btn-primary, .fhero-btn-primary:hover,
.fhero-light .fhero-btn-primary, .fhero-light .fhero-btn-primary:hover,
.final-cta-action .btn-primary,
.price-card .btn-primary, .price-card .btn-primary:hover,
.qcyc-arrow {
  box-shadow: none !important;
}
/* Ikonky / malé prvky s ikonou */
.brand-mark,
.step-number, .bingo-step-num,
.qhero-pill, .qhero-badge,
.price-badge,
.fhero-card-star, .fhero-polaroid-check,
.fstrip-eyebrow-dot {
  box-shadow: none !important;
}

/* Hero: usazený telefon/fotky — vypnutá nekonečná levitace (qfloat/phonefloat).
   Jednorázový GSAP entrance zůstává. */
.qhero-ph, .qhero-phone, .qhero-badge { animation: none !important; }
