/* ============================================================
   LEOŠ HORČIČKA OVERRIDE — Pro-Grow Fashion-Model template
   Brand: žluto-červené téma (#FADE3B / #E6033A)
   ============================================================ */

/* ----- LOGO Leoš místo Pro Grow ----- */
.logo-leos{
    font-family: "Unbounded", serif !important;
    font-weight: 800;
    font-size: 22px;
    color: #FFFFFF !important;
    letter-spacing: 1.4px;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
}
.logo-leos span{
    color: #FADE3B;
    margin-right: 2px;
}
.main-header-menu .logo-leos{ font-size: 26px; }

/* ----- Vypnout custom kurzor s ringy ----- */
#cursor, .cursor, .cursor *{ display:none !important; }
body{ cursor: auto !important; }
a, button{ cursor: pointer !important; }

/* ============ HERO INDEX.HTML ============ */

/* Hero card s Leošovou fotkou — fashin-back.png je 67/33 split žlutá/červená */
.back-set{
    opacity: 1 !important;
    background-blend-mode: normal !important;
}
.main-hero{
    background-color: transparent !important;
    position: relative !important;
}

/* Skrýt jen kruhovou bublinu (arrow circle) + mini placeholder */
.women-main-image .center-text{ display:none !important; }
.images-model{ display:none !important; }

/* Skrýt template background-set (žena ve šablonových background obrázcích) */
.background-set{ display:none !important; }
/* Fotka Leoše JE pouze na about.html — col-xl-5 musí být viditelný */
/* (předchozí display:none override odstraněn) */

/* About portrait — Leošova fotka jako jediná fotka na webu */
.about-portrait-col{
    display: flex !important;
    align-items: stretch;
    justify-content: center;
    padding: 0 !important;
}
.about-portrait-wrap{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.about-portrait-img{
    width: 100%;
    max-width: 480px;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}

/* Leoš fotka pouze na about.html — na index úplně skryta */
.women-main-image{ display: none !important; }
.women-main-image img{ display: none !important; }

/* Hero kanban — index má pevnou výšku, portfolio se roztáhne */
.main-hero{
    max-height: 620px !important;
    min-height: 580px !important;
}
.main-hero:has(.leos-thumb-grid),
.main-hero:has(.leos-kanban-grid),
.main-hero:has(.leos-blog-grid),
.main-hero:has(.award-card),
.main-hero:has(.skillsets),
.main-hero:has(#leos-contact-form){
    max-height: none !important;
    min-height: 600px !important;
    padding-bottom: 40px !important;
    overflow: visible !important;
}
/* Portfolio header — menší titulek aby se vešel */
.main-hero:has(.leos-thumb-grid) .section-title{
    font-family: "Archivo Black", "Unbounded", serif !important;
    text-transform: uppercase !important;
    font-size: clamp(36px, 4.2vw, 56px) !important;
    letter-spacing: -1px !important;
    line-height: 1.0 !important;
    color: #0E0E12 !important;
    max-width: 900px;
    margin: 0 auto;
}
.main-hero:has(.leos-thumb-grid) .section-title span{
    color: #E6033A !important;
    display: inline-block;
}
.main-hero:has(.leos-thumb-grid) .title-desc{
    color: #0E0E12 !important;
    font-family: "Unbounded", serif !important;
    font-weight: 500;
    font-size: 14px !important;
    max-width: 760px;
    margin: 14px auto 0;
}

/* Titulek "LEOŠ HORČIČKA" — uppercase, Archivo Black, stejný styl jako vyřezávaný "AI" vpravo */
.title-section-index{
    color: #0E0E12 !important;
    font-weight: 900;
    font-family: "Archivo Black", "Unbounded", serif !important;
    text-transform: uppercase !important;
    letter-spacing: -2px !important;
    line-height: 0.9 !important;
    font-size: clamp(64px, 9vw, 120px) !important;
}
.index-desc{
    color: #0E0E12 !important;
    font-weight: 700;
    font-family: "Archivo Black", "Unbounded", serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

/* Bio bez bílého ranečku — text přímo na žlutém pozadí */
.model-descr{
    color: #0E0E12 !important;
    font-family: "Unbounded", serif !important;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 1.55 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    border-left: 4px solid #E6033A !important;
    border-radius: 0 !important;
    padding-left: 14px !important;
    max-width: 540px;
    margin-top: 16px;
    backdrop-filter: none !important;
    box-shadow: none !important;
    position: relative;
    z-index: 5;
}
.model-descr strong{ color: #E6033A; font-weight: 800; }
.bottom-index-main{ position: relative; z-index: 5; }
.leos-quote{
    font-family: "Unbounded", serif !important;
    font-style: italic;
    font-weight: 600;
    font-size: 17px !important;
    color: #0E0E12 !important;
    display: inline-block;
    border-left: 4px solid #E6033A;
    padding-left: 12px;
    line-height: 1.4;
}

/* ============ AWARDS / REALIZACE (resume.html) ============ */
.award-card{
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(14,14,18,0.12), 0 4px 10px rgba(230,3,58,0.10);
    border: 3px solid #fff;
    text-decoration: none;
    color: #0E0E12;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.award-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(230,3,58,0.28), 0 10px 20px rgba(250,222,59,0.30);
    border-color: #FADE3B;
}
.award-image{ aspect-ratio: 16/10; overflow: hidden; background: #f5f5ef; }
.award-image img{ width:100%; height:100%; object-fit: cover; object-position: top center; transition: transform .55s; }
.award-card:hover .award-image img{ transform: scale(1.06); }
.award-meta{ padding: 14px 16px 18px; }
.award-year{ font-family:"Archivo Black",serif; color:#E6033A; font-size:13px; margin: 0 0 4px; letter-spacing:.5px; }
.award-name{ font-family:"Unbounded",serif; font-weight:800; font-size:16px; color:#0E0E12; margin:0 0 4px; }
.award-tag{ color:#6a6a73; font-size:13px; margin:0; }
/* zhasnout flip-box styling když používáme award-card */
.box-item:has(.award-card){ height: auto; }

/* ============ LEOŠ KANBAN GRID (services.html — aplikace pro moderní stát) ============ */
.leos-kanban-grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
    margin: 28px 0 10px;
    padding: 0 6px;
}
.leos-kanban-card{
    position: relative;
    display: block;
    background: rgba(255,255,255,0.94);
    border-radius: 14px;
    padding: 26px 22px 22px;
    text-decoration: none;
    color: #0E0E12;
    border-left: 4px solid #E6033A;
    box-shadow: 0 10px 26px rgba(14,14,18,0.12);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.leos-kanban-card:hover{
    transform: translateY(-6px);
    border-left-color: #FADE3B;
    box-shadow: 0 20px 40px rgba(230,3,58,0.22);
}
.leos-kanban-icon{
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
}
.leos-kanban-card h3{
    font-family: "Unbounded", serif;
    font-weight: 800;
    font-size: 17px;
    margin: 0 0 8px;
    color: #0E0E12;
    letter-spacing: -0.3px;
}
.leos-kanban-card p{
    font-family: "Unbounded", serif;
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.55;
    color: #444;
    margin: 0 0 12px;
}
.leos-kanban-tag{
    display: inline-block;
    background: #0E0E12;
    color: #FADE3B;
    font-family: "Archivo Black", serif;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.8px;
}
/* EstateX badge zelený */
.leos-kanban-card:has(.leos-kanban-tag:not(:empty)) .leos-kanban-tag{
    text-transform: uppercase;
}
.leos-kanban-card .leos-kanban-tag:contains("EstateX") { background: #E6033A; color: #fff; }

/* ============ CONTACT — WhatsApp only + form ============ */
.leos-whatsapp-only{ justify-content: center; margin: 30px 0 40px; }
.leos-whatsapp-box{
    display: inline-block;
    max-width: 380px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    border: 3px solid #fff !important;
    border-radius: 18px !important;
    padding: 26px 36px !important;
    box-shadow: 0 14px 36px rgba(37,211,102,0.34);
    transition: transform .35s, box-shadow .35s;
}
.leos-whatsapp-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(37,211,102,0.48);
}
.leos-whatsapp-box .box-call{
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.4) !important;
}
.leos-whatsapp-box .box-call img{ filter: brightness(0) invert(1); }
.leos-whatsapp-box .center-main-contact{ color: #fff !important; letter-spacing: 1px; }
.leos-wa-number{ color: #fff !important; font-family:"Archivo Black",serif; font-size: 22px !important; margin: 8px 0 4px !important; letter-spacing: -0.5px; }
.leos-wa-hint{ color: rgba(255,255,255,0.85) !important; font-size: 13px !important; margin: 0 !important; }
#leos-contact-form textarea{
    width: 100%;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 14px 18px;
    font-family: "Unbounded", serif;
    font-size: 14px;
    color: #0E0E12;
    resize: vertical;
    min-height: 110px;
}
#leos-contact-form textarea:focus{ outline: none; border-color: #E6033A; }
.leos-submit-btn{
    background: #0E0E12;
    border: none;
    padding: 0;
    cursor: pointer;
}
.leos-submit-btn .load-main{ background: #0E0E12 !important; color: #FADE3B; }

/* ============ BLOGS — full-width prázdné rámečky ============ */
.leos-blogs-fullwidth{ max-height: none !important; min-height: 700px !important; overflow: visible !important; }
.leos-blog-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 30px;
    padding: 0 6px;
}
.leos-blog-empty{
    aspect-ratio: 4/3;
    background: rgba(255,255,255,0.50);
    border: 2px dashed rgba(14,14,18,0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background .3s, border-color .3s;
}
.leos-blog-empty:hover{ background: rgba(255,255,255,0.75); border-color: #E6033A; }
.leos-blog-empty-inner{ padding: 18px; }
.leos-blog-num{
    display: inline-block;
    font-family: "Archivo Black", serif;
    font-size: 28px;
    color: #E6033A;
    margin-bottom: 8px;
}
.leos-blog-empty p{
    font-family: "Unbounded", serif;
    font-weight: 500;
    font-size: 13px;
    color: rgba(14,14,18,0.55);
    margin: 0;
}

/* ============ AI RANKING PANEL (v about.html) — bez bílého rámečku ============ */
.ai-rank-panel{
    background: transparent !important;
    border: none !important;
    border-left: 4px solid #E6033A !important;
    border-radius: 0 !important;
    padding: 14px 0 14px 16px !important;
    margin: 22px 0;
    box-shadow: none !important;
}
.ai-rank-panel h3{
    margin: 0 0 12px;
    color: #0E0E12;
    font-weight: 900;
    font-family: "Unbounded", serif;
    font-size: 18px;
}
.ai-rank-panel ul{ margin: 8px 0 0; padding-left: 18px; }
.ai-rank-panel li{ margin: 8px 0; color: #0E0E12; font-size: 14px; line-height: 1.5; }
.rank-badge{
    display: inline-block;
    background: #E6033A;
    color: #fff;
    padding: 2px 9px;
    font-weight: 800;
    font-size: 11px;
    border-radius: 100px;
    margin-left: 4px;
    letter-spacing: .4px;
}

/* ============ LEOŠ THUMB GRID (portfolio.html — 7 náhledů stránek) ============ */
.leos-thumb-grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 24px;
    margin: 30px 0 20px;
    padding: 0 6px;
}
.leos-thumb-card{
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 14px 36px rgba(14,14,18,0.18), 0 4px 12px rgba(230,3,58,0.10);
    text-decoration: none;
    transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s, border-color .35s;
}
.leos-thumb-card:hover{
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 26px 56px rgba(230,3,58,0.34), 0 10px 22px rgba(250,222,59,0.30);
    border-color: #FADE3B;
}
.leos-thumb-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .6s cubic-bezier(.2,.8,.3,1);
}
.leos-thumb-card:hover img{ transform: scale(1.06); }
.leos-thumb-label{
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14,14,18,0.88);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 8px 16px 8px 12px;
    border-radius: 100px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.22);
    transition: background .3s;
}
.leos-thumb-card:hover .leos-thumb-label{ background: #E6033A; }
.leos-thumb-num{
    font-family: "Archivo Black", "Unbounded", serif;
    font-size: 13px;
    color: #FADE3B;
    letter-spacing: 0.5px;
}
.leos-thumb-card:hover .leos-thumb-num{ color: #fff; }
.leos-thumb-name{
    font-family: "Unbounded", serif;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.3px;
    margin-left: 2px;
}

/* ============ PROJECT CIRCLES (v portfolio.html) ============ */
.works-circles-wrapper{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 30px 18px;
    padding: 24px 0 10px;
}
.work-circle{
    display:flex; flex-direction:column; align-items:center; text-align:center;
    position:relative; cursor:pointer;
}
.work-circle-img{
    width: 150px; height: 150px; border-radius: 50%;
    background: linear-gradient(135deg, #FADE3B, #E6033A);
    display:flex; align-items:center; justify-content:center;
    font-size: 50px; color:#fff;
    box-shadow: 0 12px 36px rgba(230,3,58,.28), 0 5px 12px rgba(250,222,59,.32);
    border: 4px solid #fff;
    transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s;
}
.work-circle:hover .work-circle-img{
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 46px rgba(230,3,58,.42), 0 9px 20px rgba(250,222,59,.42);
}
.work-circle.empty .work-circle-img{
    background: #fff;
    border: 4px dashed #FADE3B;
    color: #FADE3B;
    font-size: 60px;
}
.work-circle h4{
    margin: 14px 0 4px; font-weight: 800; color: #0E0E12;
    font-size: 15px; letter-spacing: .3px;
    font-family: "Unbounded", serif;
}
.work-circle-sub{
    color: #6a6a73; font-size: 12px; line-height: 1.4; max-width: 180px;
}
.work-circle-badge{
    position:absolute; top:-4px; right: 50%; transform: translateX(76px);
    background: #E6033A; color:#fff; font-weight: 800;
    font-size: 10px; padding: 3px 8px; border-radius: 100px;
    box-shadow: 0 4px 10px rgba(0,0,0,.2); letter-spacing: .5px;
}

/* FIX 2026-07-05: uvodni hero nesmi orezavat obsah (text 777px vs strop 620px) */
.main-hero:has(.bottom-index-main),
.main-hero:has(.women-main-image){
    max-height: none !important;
    min-height: 620px !important;
    padding-bottom: 48px !important;
}

/* ===== PECKOVY MODERNI HERO 2026-07-05 ===== */
/* Karta: hloubka + jemny glow, ostrejsi radius */
.main-hero.back-set{
    box-shadow: 0 34px 90px -24px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06), 0 0 70px -12px rgba(255,209,0,.22) !important;
    border-radius: 30px !important;
    transition: box-shadow .4s ease, transform .4s ease !important;
}
.main-hero.back-set:hover{
    box-shadow: 0 40px 110px -22px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1), 0 0 90px -8px rgba(230,3,58,.35) !important;
}
/* Cerveny panel: bohaty gradient + horni lesk */
.right-div{
    background: linear-gradient(157deg, #ff1450 0%, #E6033A 52%, #b40230 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}
.right-div::after{
    content:""; position:absolute; inset:0; pointer-events:none;
    background: radial-gradient(130% 80% at 82% 0%, rgba(255,255,255,.20), transparent 58%);
    mix-blend-mode: screen;
}
/* Klicova slova: cisty vertikalni stack (konec prekryvu) */
.right-div .text-design-fashion{
    display:flex !important; flex-direction:column !important;
    gap:14px !important; align-items:flex-start !important;
    transform:none !important; position:relative !important; z-index:2 !important;
    padding: 26px 0 0 26px !important;
    animation:none !important;
}
.right-div .text-animation-fation{
    transform:none !important; position:static !important;
    animation:none !important; opacity:1 !important;
    font-family:"Archivo Black","Unbounded",sans-serif !important;
    font-weight:900 !important; text-transform:uppercase !important;
    font-size: clamp(22px, 2.1vw, 34px) !important; line-height:1 !important;
    color:#0E0E12 !important; margin:0 !important; letter-spacing:.4px !important;
    display:flex !important; align-items:center !important; gap:12px !important;
}
.right-div .text-animation-fation::before{
    content:""; width:26px; height:4px; background:#0E0E12; border-radius:3px; display:inline-block;
}

/* PECKOVY MODERNI - fix orezavani slov v panelu (v35) */
.right-div{ display:flex !important; align-items:center !important; }
.right-div .text-design-fashion{
    background:transparent !important; box-shadow:none !important; border:0 !important;
    width:100% !important; max-width:none !important; height:auto !important;
    padding:0 20px !important; gap:16px !important; overflow:visible !important;
}
.right-div .text-animation-fation{
    white-space:nowrap !important; overflow:visible !important;
    font-size: clamp(16px, 1.5vw, 24px) !important; letter-spacing:.2px !important;
}

/* PECKOVY MODERNI - slova doprava, pretекaji doleva pres cervenou, bez orezu (v36) */
.main-hero.back-set{ overflow:hidden !important; }
.right-div{ overflow:visible !important; justify-content:flex-end !important; position:relative !important; z-index:3 !important; }
.right-div .text-design-fashion{
    background:transparent !important; box-shadow:none !important; border:0 !important;
    overflow:visible !important; width:auto !important; max-width:none !important;
    align-items:flex-end !important; padding:0 22px 0 0 !important;
}
.right-div .text-animation-fation{
    white-space:nowrap !important; overflow:visible !important; text-align:right !important;
    justify-content:flex-end !important;
}
.right-div .text-animation-fation::before{ display:none !important; }

/* ===== Leoš portrét na žluto-červeném švu (2026-07-06) ===== */
.leos-hero-cut{
    position:absolute;
    bottom:0;
    left:64%;
    transform:translateX(-50%);
    height:88%;
    width:auto;
    max-width:42%;
    object-fit:contain;
    object-position:center bottom;
    z-index:4;
    pointer-events:none;
    filter: drop-shadow(0 22px 26px rgba(0,0,0,.40));
}
@media (max-width: 991px){
    .leos-hero-cut{ position:static; display:block; margin:18px auto 0; height:auto; width:70%; max-width:320px; transform:none; }
}

/* ===== v38text — větší žlutá karta + doplněný text CO UMÍM (2026-07-30) ===== */
.main-hero.back-set{
    height:auto !important;
    min-height:760px !important;
    padding-bottom:40px !important;
    overflow:hidden !important;
}
.main-hero .title-section-index{ margin-bottom:6px !important; }
.main-hero .index-desc{ margin-bottom:14px !important; }

/* textový blok */
.model-descr{
    max-width:none !important;
    font-size: clamp(12.5px, 1.05vw, 15px) !important;
    line-height:1.42 !important;
    color:#0E0E12 !important;
}
.model-descr .md-intro{ margin:0 0 12px !important; }
.model-descr .md-intro strong{ background:#0E0E12; color:#FFD400; padding:0 4px; }
.model-descr .md-h{
    font-family:"Archivo Black","Unbounded",sans-serif !important;
    font-weight:900 !important; text-transform:uppercase !important;
    letter-spacing:.08em !important; font-size:13px !important;
    color:#E6033A !important; margin:12px 0 6px !important;
    border-top:2px solid #0E0E12; padding-top:8px;
}
.model-descr .md-list{ list-style:none !important; margin:0 !important; padding:0 !important;
    display:flex; flex-direction:column; gap:6px; }
.model-descr .md-list li{ position:relative; padding-left:16px; }
.model-descr .md-list li::before{ content:"■"; position:absolute; left:0; top:2px; font-size:8px; color:#0E0E12; }
.model-descr .md-list b, .model-descr .md-nums b{ color:#0E0E12 !important; font-weight:900 !important; }
.model-descr .md-nums{ margin:8px 0 0 !important; font-weight:600 !important; }
.model-descr .leos-quote{ display:block; margin-top:14px !important; font-style:italic; font-weight:700; font-size:15px; color:#0E0E12; }

/* portrét ať se nezvětší s vyšší kartou a nepřekrývá text */
.leos-hero-cut{ height:auto !important; max-height:560px !important; }
@media (max-width: 991px){
    .main-hero.back-set{ min-height:0 !important; }
    .leos-hero-cut{ max-height:none !important; }
}

/* ===== v39wide — širší karta, 2-sloupcový seznam, portrét doprava (2026-07-30) ===== */
.main-hero.back-set{ min-height:0 !important; height:auto !important; padding-bottom:34px !important; }
.main-hero .row{ align-items:flex-start !important; }
.main-hero .row > .col-xl-6{ flex:0 0 62% !important; max-width:62% !important; }
.main-hero .row > .col-xl-4{ display:none !important; }
.main-hero .row > .col-xl-2{ flex:0 0 38% !important; max-width:38% !important; }
.model-descr{ font-size: clamp(12px,1vw,14.5px) !important; line-height:1.4 !important; }
.model-descr .md-list{ display:grid !important; grid-template-columns:1fr 1fr !important; gap:7px 22px !important; }
.model-descr .md-list li{ break-inside:avoid; }
.model-descr .md-h{ margin:12px 0 7px !important; }
.leos-hero-cut{ left:63% !important; right:auto !important; transform:none !important; bottom:0 !important;
    height:auto !important; max-height:470px !important; max-width:35% !important; }
@media (max-width: 991px){
  .main-hero .row > .col-xl-6, .main-hero .row > .col-xl-2{ flex:0 0 100% !important; max-width:100% !important; }
  .model-descr .md-list{ grid-template-columns:1fr !important; }
  .leos-hero-cut{ position:static !important; left:auto !important; max-height:none !important; max-width:70% !important; margin:16px auto 0 !important; }
}
