/* =====================================================
   fotobook.cz - sdílené styly pro všechny stránky
   ===================================================== */

/* Poppins - pouze latin + latin-ext (bez devanagari) */
@font-face{font-family:'Poppins';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/pxiGyp8kv8JHgFVrJJLufntAKPY.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/pxiGyp8kv8JHgFVrJJLucHtA.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/pxiByp8kv8JHgFVrLDz8Z1JlFc-K.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pxiEyp8kv8JHgFVrJJnecmNE.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/pxiByp8kv8JHgFVrLGT9Z1JlFc-K.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pxiByp8kv8JHgFVrLCz7Z1JlFc-K.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* =====================================================
   BRAND PALETA - chcete změnit barvu? Stačí upravit
   proměnné tady a změní se všude najednou.
   ===================================================== */
:root {
    --brand:          #db2777; /* pivoňková - hlavní barva */
    --brand-hover:    #be185d; /* hover tlačítek */
    --brand-deep:     #831843; /* trust bar pozadí */
    --brand-deep-mid: #9d174d; /* trust bar okraj */
    --brand-light:    #fce7f3; /* světlé bg, ikony */
    --brand-pale:     #fdf2f8; /* nejsvětlejší bg */
    --brand-muted:    #f9a8d4; /* dekorativní - uvozovky, oddělovače */
    --brand-on-dark:  #fbcfe8; /* text na tmavém bg (trust bar) */
}

/* Base */
body {
    font-family: 'Poppins', system-ui, sans-serif;
}

/* Základní text odstavců - čitelný na světlém pozadí */
.body-text {
    color: #52525b; /* zinc-600 */
    font-weight: 400;
    font-size: 1.125rem; /* 18px */
    line-height: 1.75;
}

/* Nadpisy karet a menších sekcí */
.section-title {
    color: #18181b; /* zinc-900 */
    font-size: 1.625rem; /* 26px */
    font-weight: 700;
    line-height: 1.25;
}

/* Sekční popisek - malé uppercase nad h2 */
.section-label {
    color: var(--brand);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    display: block;
}

/* Stejné pro světlé sekce na tmavém foto pozadí */
.section-label-dark {
    color: var(--brand-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 500;
    display: block;
}

/* Hero label - bílé průhledné pozadí, brand růžová */
.section-label-hero {
    display: inline-block;
    color: var(--brand);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
}

/* Brand akcent - ikonky, fajfky, uvozovky */
.brand-accent {
    color: var(--brand);
}
.brand-accent-muted {
    color: var(--brand-muted);
}
.price-accent {
    color: #047857; /* emerald-700 – cena, zelená = bezpečný krok */
}

/* Video facade */
.vimeo-facade-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.15);
    transition: background 0.2s;
}
.vimeo-facade:hover .vimeo-facade-overlay {
    background: rgba(0,0,0,0.25);
}
.vimeo-play-btn {
    width: 88px;
    height: 88px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.vimeo-facade:hover .vimeo-play-btn {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* Trust bar */
.trust-bar {
    background-color: var(--brand-deep);
    border-bottom: 1px solid var(--brand-deep-mid);
    color: var(--brand-on-dark);
}
.trust-bar .sep {
    color: var(--brand-deep-mid);
}

/* =====================================================
   TLAČÍTKA
   ===================================================== */

/* Primární CTA - brand barva */
.btn-primary {
    display: inline-block;
    background-color: var(--brand);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 18px -3px rgba(219, 39, 119, 0.4);
}
.btn-primary:hover {
    background-color: var(--brand-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(219, 39, 119, 0.5);
}

/* Invertované tlačítko - bílé na tmavém bg */
.btn-inverted {
    display: inline-block;
    background-color: #fff;
    color: #18181b;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 18px -3px rgba(0, 0, 0, 0.25);
}
.btn-inverted:hover {
    background-color: var(--brand-pale);
    color: #18181b;
    transform: translateY(-2px);
}

/* Cenová karta - zelený tint komplementární k pivoňkové */
.price-card {
    background-color: rgba(16, 185, 129, 0.08); /* emerald při 8% */
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

/* Citát s výraznými uvozovkami */
.pullquote {
    position: relative;
    font-style: italic;
    color: #52525b; /* zinc-600 */
    font-size: 1.125rem;
    line-height: 1.75;
    padding-left: 2.5rem;
}
.pullquote::before {
    content: '\201C'; /* " */
    position: absolute;
    left: 0;
    top: -0.6rem;
    font-size: 4.5rem;
    color: var(--brand-muted);
    line-height: 1;
    font-style: normal;
    font-weight: 700;
}

/* Položky seznamu co zákazník získá */
.feature-item {
    color: #27272a; /* zinc-800 */
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
    line-height: 1.5;
}

/* =====================================================
   FORMULÁŘOVÁ POLE
   ===================================================== */
.field input,
.field select,
.field textarea {
    width: 100%;
    background: #fff;
    border-width: 1px;
    border-style: solid; /* barva přes Tailwind border-emerald-200/60 na elementu */
    border-radius: 12px;
    padding: 12px 16px;
    color: #18181b;
    font-size: 1rem;
    font-family: 'Poppins', system-ui, sans-serif;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:hover,
.field select:hover,
.field textarea:hover,
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #047857; /* emerald-700 = naše zelená */
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
}
.field input::placeholder,
.field textarea::placeholder {
    color: #a1a1aa; /* zinc-400 */
}
.field label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #52525b; /* zinc-600 – stejná barva jako .body-text */
    margin-bottom: 6px;
}

/* =====================================================
   TESTIMONIAL KARTY (foto na výšku se zatmavením)
   ===================================================== */
.testimonial-card {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 1.25rem;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    background-color: var(--brand-deep);
}
.testimonial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(50, 8, 28, 0)    35%,
        rgba(50, 8, 28, 0.55) 62%,
        rgba(50, 8, 28, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}
.testimonial-stars {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
}
.testimonial-stars .rating-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-left: 0.2rem;
}
.testimonial-quote {
    color: rgba(255,255,255,0.92);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 0.75rem;
    font-weight: 300;
    padding-left: 1.5rem;
    position: relative;
}
.testimonial-quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -0.4rem;
    font-size: 2.75rem;
    color: var(--brand-muted);
    line-height: 1;
    font-style: normal;
    font-weight: 700;
}
.testimonial-author {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
.testimonial-author span {
    color: rgba(255,255,255,0.55);
    font-weight: 400;
}

/* Světlá varianta testimonial karet (pro světlé pozadí) */
.review-card-light .testimonial-stars .rating-label { color: rgba(0,0,0,0.45); }
.review-card-light .testimonial-quote { color: #52525b; }
.review-card-light .testimonial-author { color: #18181b; }
.review-card-light .testimonial-author span { color: #a1a1aa; }

/* Tlačítka výběru způsobu platby */
.payment-method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.5rem 0.5rem;
    border-radius: 0.75rem;
    border: 2px solid #e4e4e7;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-align: center;
    flex: 1;
    font-family: 'Poppins', system-ui, sans-serif;
}
.payment-method-btn:hover {
    border-color: #047857;
}
.payment-method-btn.active {
    border-color: #047857;
    background: rgba(16, 185, 129, 0.08);
}
.payment-method-btn .pmb-icon  { font-size: 1.125rem; }
.payment-method-btn .pmb-label { font-weight: 700; font-size: 1rem; color: #18181b; }
.payment-method-btn .pmb-sub   { font-size: 0.6875rem; color: #71717a; }
.payment-method-btn.active .pmb-label { color: #047857; }

/* Garanční karty - teplá zlatá = bezpečnost, klid */
.guarantee-card {
    background-color: #fef9e7;
}

/* FAQ accordion */
.faq-item {
    background-color: var(--brand-pale);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.faq-content.open {
    max-height: 700px;
}
.faq-icon {
    transition: transform .3s ease;
    display: inline-block;
}
.faq-icon.open {
    transform: rotate(45deg);
}

/* ── Navigace ─────────────────────────────────────────── */
#nav-btn { display: none; }
@media (min-width: 768px) { #nav-btn { display: inline-block; } }

/* =====================================================
   BEFORE / AFTER SLIDER – sekce Proměny
   ===================================================== */
.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    aspect-ratio: 2 / 3;
}
.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    pointer-events: none;
}
.ba-after  { z-index: 0; }
.ba-before {
    clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
    z-index: 1;
}
.ba-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: var(--ba-pos, 50%);
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}
.ba-line {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
}
.ba-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ba-label {
    position: absolute;
    top: 10px;
    z-index: 3;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    text-transform: uppercase;
}
.ba-label-pred {
    left: 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
}
.ba-label-po {
    right: 10px;
    background: var(--brand);
    color: #fff;
}
.ba-name {
    position: absolute;
    bottom: 10px;
    left: 0; right: 0;
    text-align: center;
    z-index: 3;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,0.65);
    pointer-events: none;
}
