/* =====================================================
   O NÁS – style-o-nas.css
   Dizajn: konzistentný s bajky.sk (servis page)
   ===================================================== */

.onas-container {
    background-color: #ffffff;
    margin-top: -3px;
}

.onas-container p {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0;
}

.onas-container h2 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0;
}

.onas-container h3 {
    text-transform: uppercase;
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 8px;
}

/* ── SPOLOČNÉ PRVKY ── */

.onas-sekcia-nadpis {
    background: linear-gradient(135deg, #191919, #3f3f3f);
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    padding: 10px 60px;
    text-align: left;
}

.onas-btn {
    display: inline-block;
    padding: 10px 26px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}

.onas-btn-svetly {
    background-color: #ffffff;
    color: #191919;
    border: 1px solid #ffffff;
}

.onas-btn-svetly:hover {
    background-color: transparent;
    color: #ffffff;
}

.onas-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
}

.onas-btn-outline:hover {
    background-color: #ffffff;
    color: #191919;
    border-color: #ffffff;
}

.onas-btn-biely {
    background-color: #ffffff;
    color: #191919;
    border: 1px solid #ffffff;
}

.onas-btn-biely:hover {
    background-color: transparent;
    color: #ffffff;
}

.onas-btn-outline-biely {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
}

.onas-btn-outline-biely:hover {
    background-color: #ffffff;
    color: #191919;
}

/* ══════════════════════════════
   1. HERO
══════════════════════════════ */

.onas-hero {
    display: flex;
    align-items: center;
    background-image: url("../img/UVOD_BANNER_2.jpg");
    background-size: cover;
    background-position: center;
    min-height: 520px;
    position: relative;
}

.onas-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(25,25,25,0.78), rgba(63,63,63,0.55));
}

.onas-hero-obsah {
    position: relative;
    z-index: 1;
    padding: 70px 60px;
    max-width: 680px;
}

.onas-hero-obsah h1 {
    color: #ffffff;
    font-size: 1.3125rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.35;
    margin: 0 0 18px 0;
}

.onas-hero-obsah p {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    margin-bottom: 30px;
}

.onas-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ══════════════════════════════
   2. ÚVOD + FOTO
══════════════════════════════ */

.onas-uvod {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 55px 60px;
    gap: 50px;
}

.onas-uvod-text {
    width: 52%;
}

.onas-uvod-perex {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 18px;
}

.onas-uvod-foto {
    width: 42%;
}

.onas-uvod-foto img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ══════════════════════════════
   3. ČÍSLA / ŠTATISTIKY
══════════════════════════════ */

.onas-stats {
    background: linear-gradient(135deg, #191919, #3f3f3f);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 30px 60px;
    gap: 20px;
    align-items: center;
}

.onas-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    text-align: center;
}

.onas-stat-cislo {
    font-size: 1.5625rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1px;
}

.onas-stat-popis {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.7;
    max-width: 140px;
    text-align: center;
}

/* ══════════════════════════════
   4. PREČO BAJKY.SK
══════════════════════════════ */

.onas-preco {
    padding: 30px 0 30px 0;
}

.onas-preco-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.onas-preco-karta {
    border: 1px solid #f1f1f1;
    padding: 40px 45px;
    width: 24%;
    transition: 0.2s;
    cursor: default;
}

.onas-preco-karta:hover {
    background: linear-gradient(135deg, #191919, #3f3f3f);
    color: #ffffff;
}

.onas-preco-cislo {
    font-size: 2rem;
    font-weight: 700;
    color: #e3e3e3;
    line-height: 1;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.onas-preco-karta:hover .onas-preco-cislo {
    color: rgba(255,255,255,0.2);
}

/* ══════════════════════════════
   5. NÁŠ PRÍBEH
══════════════════════════════ */

.onas-pribeh {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.onas-pribeh-foto {
    width: 48%;
    overflow: hidden;
    min-height: 380px;
}

.onas-pribeh-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.onas-pribeh-foto:hover img {
    transform: scale(1.03);
}

.onas-pribeh-text {
    width: 52%;
    padding: 55px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.onas-pribeh-perex {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 18px;
}

.onas-pribeh-text p {
    margin-bottom: 14px;
}

/* ══════════════════════════════
   6. SERVIS A PORADENSTVO
══════════════════════════════ */

.onas-servis {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #191919, #3f3f3f);
    color: #ffffff;
}

.onas-servis-text {
    width: 50%;
    padding: 55px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.onas-servis-text h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.onas-servis-text p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
}

.onas-servis-zoznam {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.onas-servis-bod {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.onas-servis-bod::before {
    content: "→ ";
    opacity: 0.5;
}

.onas-servis-foto {
    width: 50%;
    min-height: 380px;
    overflow: hidden;
}

.onas-servis-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════
   7. ZNAČKY
══════════════════════════════ */

.onas-znacky {
    padding: 0 0 20px 0;
}

.onas-znacky-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.onas-znacka {
    width: 20%;
    border: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 30px;
    transition: 0.2s;
    margin: -1px 0 0 -1px;
}

.onas-znacka:hover {
    background-color: #f9f9f9;
    z-index: 1;
    position: relative;
}

.onas-znacka img {
    max-height: 42px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: 0.2s;
}

.onas-znacka:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ══════════════════════════════
   8. RECENZIE
══════════════════════════════ */

.onas-recenzie {
    padding: 0 0 30px 0;
}

.onas-recenzie-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.onas-recenzia-karta {
    border: 1px solid #f1f1f1;
    padding: 35px 40px;
    width: 32%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.onas-recenzia-hviezdy {
    color: #f5a623;
    font-size: 1rem;
    letter-spacing: 2px;
}

.onas-recenzia-karta p {
    font-style: italic;
    color: #3f3f3f;
    flex: 1;
}

.onas-recenzia-autor {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
}

.onas-recenzie-badges {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px 60px 0 60px;
}

.onas-heureka-badge img {
    height: 48px;
    width: auto;
}

.onas-google-badge {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.onas-google-hviezdy {
    color: #f5a623;
    font-size: 1rem;
    letter-spacing: 2px;
}

.onas-google-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
}

/* ══════════════════════════════
   9. PREDAJŇA BRATISLAVA
══════════════════════════════ */

.onas-predajna {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.onas-predajna-foto {
    width: 50%;
    overflow: hidden;
    min-height: 380px;
}

.onas-predajna-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.onas-predajna-info {
    width: 50%;
    padding: 55px 60px;
    background: linear-gradient(135deg, #191919, #3f3f3f);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.onas-predajna-info h2 {
    color: #ffffff;
    margin-bottom: 30px;
}

.onas-predajna-blok {
    margin-bottom: 22px;
}

.onas-predajna-blok h3 {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    margin-bottom: 5px;
}

.onas-predajna-blok p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* ══════════════════════════════
   10. CTA ZÁVER
══════════════════════════════ */

.onas-cta-zaver {
    background: linear-gradient(135deg, #191919, #3f3f3f);
    color: #ffffff;
    text-align: center;
    padding: 70px 60px;
}

.onas-cta-zaver h2 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 14px;
    line-height: 1.4;
}

.onas-cta-zaver p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
}

.onas-cta-zaver-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ══════════════════════════════
   RESPONZIVITA
══════════════════════════════ */

@media only screen and (max-width: 1100px) {
    .onas-preco-karta {
        width: 49%;
        margin-bottom: 0;
    }
    .onas-znacka {
        width: 25%;
    }
}

@media only screen and (max-width: 767px) {
    .onas-sekcia-nadpis {
        padding: 10px 35px;
    }

    /* Hero */
    .onas-hero {
        min-height: 420px;
    }
    .onas-hero-obsah {
        padding: 45px 35px;
        max-width: 100%;
    }
    .onas-hero-obsah h1 {
        font-size: 1.2rem;
    }
    .onas-hero-cta {
        flex-direction: column;
    }
    .onas-btn {
        text-align: center;
    }

    /* Úvod */
    .onas-uvod {
        padding: 40px 35px;
        flex-direction: column;
        gap: 30px;
    }
    .onas-uvod-text,
    .onas-uvod-foto {
        width: 100%;
    }

    /* Stats */
    .onas-stats {
        padding: 35px;
        gap: 28px;
    }
    .onas-stat-cislo {
        font-size: 1.75rem;
    }

    /* Prečo */
    .onas-preco-karta {
        width: 100%;
        padding: 30px 35px;
    }

    /* Príbeh */
    .onas-pribeh {
        flex-direction: column;
    }
    .onas-pribeh-foto {
        width: 100%;
        min-height: 260px;
    }
    .onas-pribeh-text {
        width: 100%;
        padding: 40px 35px;
    }

    /* Servis */
    .onas-servis {
        flex-direction: column;
    }
    .onas-servis-text {
        width: 100%;
        padding: 40px 35px;
    }
    .onas-servis-foto {
        width: 100%;
        min-height: 240px;
    }

    /* Značky */
    .onas-znacka {
        width: 33.333%;
        padding: 20px 15px;
    }

    /* Recenzie */
    .onas-recenzia-karta {
        width: 100%;
        margin-bottom: 10px;
    }
    .onas-recenzie-badges {
        padding: 20px 35px 0;
    }

    /* Predajňa */
    .onas-predajna {
        flex-direction: column;
    }
    .onas-predajna-foto {
        width: 100%;
        min-height: 240px;
    }
    .onas-predajna-info {
        width: 100%;
        padding: 40px 35px;
    }

    /* CTA záver */
    .onas-cta-zaver {
        padding: 50px 35px;
    }
    .onas-cta-zaver h2 {
        font-size: 1rem;
    }
}

/* =====================================================
   TIMELINE – timeline.css
   ===================================================== */

.tl-sekcia {
    background: linear-gradient(135deg, #191919, #3f3f3f);
    padding: 45px 0 45px;
    margin-bottom: 30px;
    overflow: hidden;
}

.tl-wrapper {
    margin: 0 auto;
    padding: 0 60px;
}

/* ── HLAVIČKA ── */

.tl-hlavicka {
    margin-bottom: 16px;
}

.tl-nadpis {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

/* ── SLIDER OBAL ── */

.tl-slider-obal {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.tl-slider-clip {
    flex: 1;
    overflow: hidden;
}

.tl-slider {
    display: flex;
    gap: 24px;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ── KARTA ── */

.tl-karta {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 36px 32px 40px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
    cursor: default;
    flex-shrink: 0;
}

.tl-karta:hover {
    border-color: rgba(255, 255, 255, 0.28);
}

.tl-karta-bg-rok {
    position: absolute;
    bottom: -18px;
    right: -8px;
    font-size: 7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    letter-spacing: -2px;
}

.tl-karta-nadpis {
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.tl-karta-text {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.8125rem;
    font-weight: 400!important;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ── ŠÍPKY ── */

.tl-sipka {
    flex-shrink: 0;
    width: 44px;
    height: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    align-self: stretch;
}

.tl-sipka:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.tl-sipka:disabled {
    opacity: 0.2;
    cursor: default;
}

/* ── NAVIGÁCIA / DOTS ── */

.tl-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 16px;
}

.tl-rok-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
    margin-right: -11px;
}

.tl-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.tl-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
    flex-shrink: 0;
}

.tl-dot--inview {
    background: rgba(255, 255, 255, 0.45);
}

.tl-dot--active {
    background: #ffffff;
    width: 20px;
    border-radius: 3px;
    transform: none;
}

/* ── RESPONZIVITA ── */

@media (max-width: 1100px) {
    .tl-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 900px) {
    .tl-sekcia {
        padding: 50px 0 45px;
    }
    .tl-wrapper {
        padding: 0 30px;
    }
    .tl-sipka {
        width: 38px;
    }
}

@media (max-width: 560px) {
    .tl-sekcia {
        padding: 40px 0 35px;
    }
    .tl-wrapper {
        padding: 0 20px;
    }
    .tl-hlavicka {
        margin-bottom: 32px;
    }
    .tl-nadpis {
        font-size: 0.875rem;
    }
    .tl-sipka {
        width: 32px;
    }
    .tl-karta {
        padding: 28px 24px 32px;
    }
    .tl-karta-bg-rok {
        font-size: 5rem;
    }
    .tl-dot--active {
        width: 14px;
    }
}