/* public/css/hope.css */

/* === ZÁKLADNÍ NASTAVENÍ === */


:root {
    --hope-blue: #2767f6;
    --hope-orange: #e85221;
    --hope-bg: #ffffff;
    --hope-text: #151823;
    --hope-muted: #7b8191;
}
.footer-link:hover{
    color:var(--hope-blue);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--hope-bg);
    color: var(--hope-text);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--hope-blue);
    text-decoration: none;
}

a:hover {
    color: #1b49b5;
}

/* === HLAVIČKA A NAVBAR === */
.hope-header {
    padding: 18px 0 28px 0;
}

.main-nav {
    border-radius: 999px;
    background-color: #FFFFFF;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.09);
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.logo-h,
.logo-p,
.logo-e {
    color: var(--hope-blue);
}

.logo-o {
    color: var(--hope-orange);
}

.logo-r {
    font-size: 11px;
    color: #a4a8b5;
}

.main-menu .nav-link {
    font-size: 14px;
    padding-inline: 1.1rem;
    color: #2b3040;
}

.main-menu .nav-link:hover,
.main-menu .nav-link:focus {
    color: var(--hope-blue);
}

.phone-link {
    font-size: 14px;
}

/* Tlačítka */
.btn-primary {
    background-color: var(--hope-blue);
    border-color: var(--hope-blue);
    
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1b49b5;
    border-color: #1b49b5;
}

.btn-primary-pill {
    border-radius: 999px;
    padding: 0.55rem 1.7rem;
    font-weight: 350;
    font-size: 20px;
    
    
}
.btn-primary-pill-header {
    border-radius: 999px;
    padding: 0.55rem 1.7rem;
    font-weight: 450;
    font-size: 14px;
    
}
/* === HERO SEKCE === */
.hero-section {
    padding-bottom: 30px;
}

.hero-title {
    font-size: 52px;
    font-weight: 500;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--hope-blue);
}

.hero-subtitle {
    font-size: 15px;
    color: var(--hope-muted);
    max-width: 340px;
}

.hero-image-wrapper {
    border-radius: 28px;
    overflow: hidden;
    background: #dbe6ff;
    min-height: 260px;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* kolečko se šipkou */
.hero-scroll-wrapper {
    margin-top: 24px;
}

.hero-scroll-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: #2767f6;
    
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}
.hero-scroll-btn i {
    transform: rotate(315deg);
    display: inline-block; /* důležité, jinak se neotočí */
}

/* --- MOBILE: přesuň šipku nad obrázek --- */
@media (max-width: 576px) {

    .hero-img-block {
        order: 2; /* obrázek níže */
    }

    .order-mobile-up {
        order: 1; /* šipka výše */
        margin-bottom: 20px; /* malá mezera nad obrázkem */
    }

    /* kontejner kolem hero prvků */
    .hero-section .row {
        display: flex;
        flex-direction: column;
    }
}

/* === MODRÝ DDD PRUH – FINÁLNÍ DESIGN === */
.ddd-strip-section {
    margin-top: 20px;
}

.ddd-strip {
    background: var(--hope-blue); /* #2767f6 */
    border-radius: 12px;          /* jemné zaoblení */
    padding: 30px 30px;           /* výška podobná návrhu */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10%;                    /* rovnoměrné mezery */
    color: #ffffff;
}

.ddd-item {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.ddd-dot {
    font-size: 22px;              /* malá tečka */
    line-height: 0;
    opacity: 0.9;
    margin-top: -2px;             /* přesnější optické vycentrování */
}

/* === DDD STRIP – MOBILE VERZE S TEČKAMI MEZI ŘÁDKY === */
@media (max-width: 776px) {
    .ddd-strip {
        flex-direction: column !important;    /* položky pod sebe */
        gap: 10px !important;                 /* menší mezery */
        padding: 18px 20px;
    }

    .ddd-item {
        font-size: 18px;
        text-align: center;
    }

    .ddd-dot {
        display: block !important;            /* tečka jako samostatná řádka */
        font-size: 22px;
        line-height: 1;
        opacity: 0.9;
    }
}

/* === PILL NAD SEKCI === */
.section-pill {
    padding: 36px 0 0 0;
}

.pill-btn {
    border-radius: 999px;
    border: none;
    padding: 12px 46px;
    background: #EDEEF1;
    font-size: 16px;
    font-weight: 500;
    color:  var(--hope-blue);
}

/* === OBECNÉ TEXTY SEKCI === */
.section-title {
    font-size: 32px;
    font-weight: 500;
    color: var(--hope-text);
}

.section-title .accent {
    color: var(--hope-blue);
}

.section-text {
    font-size: 14px;
    color: var(--hope-muted);
}

/* === 4 BOXY SLUŽEB === */
.services-summary {
    padding: 28px 0 60px 0;
}

.service-box {
    background: #EDEEF1;
    border-radius: 22px;
    padding: 36px 30px 36px 30px;
    min-height: 250px;
    
}

.service-icon {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: var(--hope-orange);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
}

.service-box-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

.service-box-text {
    font-size: 14px;
    color: var(--hope-muted);
}

/* Modrá CTA karta vpravo dole */
.service-box-cta {
    background: var(--hope-blue);
    border-radius: 22px;
    padding: 24px 22px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    
}

.service-box-cta .cta-logo {
    font-size: 24px;
    font-weight: 800;
}

.service-box-cta .cta-text {
    font-size: 20px;
    margin-bottom: 14px;
}

.service-box-cta .cta-btn {
    align-self: flex-start;
    font-size: 20px !important;
}

/* === O NÁS === */
.about-section {
    padding: 40px 0 60px 0;
}

.about-image-wrapper {
    border-radius: 28px;
    overflow: hidden;
    background: #dbe6ff;
}

.about-image-wrapper img {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

/* === PROCESY === */
.processes-section {
    padding: 40px 0 60px 0;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.process-row {
    background: #EDEEF1;
    border-radius: 20px;
    padding: 36px 30px 36px 30px;
    display: block;
}

.process-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--hope-orange);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.process-icon i {
    transform: rotate(45deg);
    display: inline-block; /* důležité, jinak se neotočí */
}

.process-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
    margin-top: 32px;
}

.process-text {
    font-size: 14px;
    color: var(--hope-muted);
}

/* === MODRÝ PRUH SPOJTE SE S NÁMI === */
.contact-strip-section {
    padding: 10px 0 50px 0;
}

.contact-strip {
    background: var(--hope-blue);
    border-radius: 18px;
    padding: 18px 22px;
    color: #ffffff;
    
}

.contact-strip-title {
    font-size: 20px;
    font-weight: 500;
}

.contact-strip-btn {
    font-size: 20px;
}

/* === KLIENTI === */
.clients-section {
    padding: 0px 0 60px 0;
}

.clients-logos .client-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #555a66;
}

/* === PATIČKA – NOVÝ DESIGN === */
.hope-footer {
    background: transparent;
    padding: 40px 0 32px 0;
    margin-top: 40px;
}

.hope-footer-inner {
    background: #111318;
    color: #f5f6fa;
    border-radius: 26px;
    padding: 36px 40px 24px 40px;
    width: 100%;
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
}

.footer-logo .logo-text .logo-r {
    color: #d2d4de;
}

.footer-main-text {
    font-size: 14px;
    color: #f5f6fa;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #f5f6fa;
}

.footer-text {
    font-size: 13px;
    color: #d0d2df;
}

.footer-link {
    color: #ffffff;
    font-size: 13px;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-menu li + li {
    margin-top: 4px;
}

/* spodní oválný pruh */
.footer-bottom-outer {
    margin-top: 28px;
}

.footer-bottom {
    background: #181a1f;
    border-radius: 999px;
    padding: 12px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom-text {
    font-size: 12px;
    color: #a8acb8;
}

.footer-bottom-link {
    font-size: 12px;
    color: #ffffff;
}

/* === RESPONSIVE ÚPRAVY === */
@media (max-width: 992px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-image-wrapper {
        margin-top: 8px;
    }

    .services-summary {
        padding-top: 12px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        border-radius: 24px;
    }

    .ddd-strip {
        text-align: center;
    }

    .contact-strip {
        text-align: center;
        gap: 12px;
    }

    .contact-strip-btn {
        align-self: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-bottom: 24px;
    }

    .hero-card {
        padding: 22px 18px;
    }

    .services-summary,
    .about-section,
    .processes-section,
    .clients-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hope-footer {
        border-radius: 18px 18px 0 0;
    }
}

.navbar-logo {
    height: 38px;      /* uprav podle potřeby */
    width: auto;
    display: block;
}

.cta-logo-img {
    height: 46px;   /* můžeš upravit podle reálné výšky */
    width: auto;
    display: block;
    margin-left:-8px;
}

.client-logo-img {
    max-width: 220px;   /* nebo uprav podle potřeby */
    width: 100%;
    height: auto;
    opacity: 0.9;
}

.client-logo-img:hover {
    opacity: 1;
}

.hope-form-container {
    background: transparent;
}

.hope-form {
    width: 100%;
}

/* Hlavní "pill" wrapper */
.hope-input-pill {
    position: relative;
    border-radius: 999px;
    border: 1px solid #dedfe5;
    padding: 10px 24px;
    background: #ffffff;
    display: flex;
    align-items: center;
    min-height: 60px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hope-input-pill-textarea {
    border-radius: 28px;
    min-height: 120px;
    align-items: flex-start;
    padding-top: 16px;
}

/* File upload pill */
.hope-input-pill-upload {
    position: relative;
}

/* Skutečná input/select pole */
.hope-input-field,
.hope-input-select,
.hope-input-file {
    border: none;
    box-shadow: none;
    background: transparent;
    width: 100%;
    padding: 0;
    font-size: 15px;
    text-align: center;
    color: #151823;
}

.hope-input-field:focus,
.hope-input-select:focus,
.hope-input-file:focus {
    outline: none;
    box-shadow: none;
}

/* Placeholder text uprostřed */
.hope-input-placeholder {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    color: #b0b4c1;
    font-size: 15px;
    white-space: nowrap;
}

/* Jakmile je něco vyplněno, placeholder zmizí */
.hope-input-field:not(:placeholder-shown) ~ .hope-input-placeholder,
.hope-input-field:focus ~ .hope-input-placeholder,
.hope-input-select:valid ~ .hope-input-placeholder,
.hope-input-file:valid ~ .hope-input-placeholder {
    opacity: 0;
    visibility: hidden;
}

/* Speciální chování pro textarea – placeholder doprostřed */
.hope-input-pill-textarea .hope-input-placeholder {
    top: 18px;
    transform: translateX(-50%);
}

/* Upload ikona "+" vpravo */
.hope-upload-icon {
    position: absolute;
    right: 24px;
    font-size: 20px;
    font-weight: 500;
    color: #b0b4c1;
}

/* Error stav */
.hope-input-pill-error {
    border-color: #ff6b6b;
}

.hope-field-error {
    margin-top: 4px;
    font-size: 13px;
    color: #ff6b6b;
}

/* HOPE tlačítko (modré přes celou šířku) */
.btn-hope-primary {
    display: inline-block;
    border-radius: 999px;
    background: #2767f6;
    border: none;
    color: #ffffff;
    font-weight: 500;
    padding: 14px 32px;
    font-size: 16px;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.btn-hope-primary:hover {
    background: #1b49b5;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(39, 103, 246, 0.25);
}

.btn-hope-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-hope-wide {
    width: 100%;
    max-width: 640px;
    border-radius: 999px;
}

/* === HOPE ADMIN – VISITS LIST === */

.hope-page-header {
    margin-bottom: 24px;
}

.hope-page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--hope-text);
}

.hope-filters {
    margin-bottom: 24px;
}

.hope-filter-btn {
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
}

.hope-filter-reset.disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Hlavička seznamu */
.hope-visit-header {
    font-size: 13px;
    font-weight: 600;
    color: var(--hope-muted);
    padding: 0 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.hope-visit-col-date {
    width: 150px;
}

.hope-visit-col-type {
    width: 220px;
}

.hope-visit-col-place {
    flex: 1;
}

.hope-visit-col-action {
    width: 120px;
}

/* Řádky návštěv */
.hope-visit-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.hope-visit-main {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
}

.hope-visit-main-col {
    font-size: 14px;
}

.hope-visit-date {
    font-weight: 600;
}

.hope-visit-type {
    color: var(--hope-text);
}

.hope-visit-place {
    color: var(--hope-muted);
}

.hope-visit-action {
    margin-left: 24px;
}

/* Prázdný stav */
.hope-visit-empty {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    text-align: center;
    color: var(--hope-muted);
    font-size: 14px;
}

/* Responsivita seznamu návštěv */
@media (max-width: 768px) {
    .hope-visit-header {
        display: none;
    }

    .hope-visit-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hope-visit-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .hope-visit-col-date,
    .hope-visit-col-type,
    .hope-visit-col-place {
        width: 100%;
    }

    .hope-visit-action {
        margin-left: 0;
        align-self: stretch;
        display: flex;
        justify-content: flex-end;
    }
}

/* --- MOBILE NAV: telefon + portál pod sebe --- */
@media (max-width: 576px) {
    /* vybere přímo wrapper s telefonem a tlačítkem uvnitř navbar-collapse */
    .main-nav .navbar-collapse > .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 10px;
    }

    .phone-link {
        font-size: 15px;
    }

    .main-nav .navbar-collapse > .d-flex .btn-primary-pill-header {
        width: 100%;          /* hezky roztáhne tlačítko */
        text-align: center;
    }
}
/* --- MOBILE NAV: telefon + portál pod sebe (FINÁLNÍ FIX) --- */
@media (max-width: 576px) {

    /* vezme poslední d-flex uvnitř .navbar-collapse = správný wrapper */
    .navbar-collapse .d-flex:last-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-top: 12px;
        width: 100%;
    }

    .navbar-collapse .d-flex:last-child .btn-primary-pill-header {
        width: 100% !important;
        text-align: center;
    }
}
/* === HOPE select ikona v pill inputu === */
.hope-input-pill {
    position: relative;
}

.hope-select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--hope-muted);
    pointer-events: none; /* klik jde na select, ne na ikonu */
}

.hope-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hope-muted);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hope-back-link:hover {
    color: var(--hope-blue);
}

.hope-back-icon {
    font-size: 16px;
    line-height: 1;
}

/* === HOPE VISITS TABLE - PŘIDAT DO hope.css === */

.hope-visit-row {
    background: #ffffff;
    border-radius: 22px;
    padding: 14px 22px;
    margin: 0 18px 14px 18px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}

/* GRID pro hlavičku i řádky – stejné rozměry sloupců */
.hope-visit-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.2fr 1.5fr 140px; /* Zákazník, Typ služby, Datum, Místo, Akce */
    column-gap: 18px;
    align-items: center;
}

/* Hlavička */
.hope-visit-header-wrapper {
    margin: 0 18px 6px 18px;
    padding: 0 22px;
}

.hope-visit-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--hope-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hope-pill-btn {
    border-radius: 999px;
    padding: 0.35rem 1.2rem;
    font-size: 13px;
    font-weight: 500;
}

.hope-btn-blue-outline {
    border: 2px solid var(--hope-blue);
    color: var(--hope-blue);
    background: transparent;
    transition: all 0.2s ease;
}

.hope-btn-blue-outline:hover {
    background: var(--hope-blue);
    color: #ffffff;
}

.hope-btn-add {
    border-radius: 999px;
    padding-inline: 1.8rem;
    font-weight: 600;
    font-size: 14px;
}

/* Filtr select */
.hope-filter-select-wrapper {
    max-width: 260px;
    margin-left: 18px;
    margin-bottom: 10px;
}

.hope-filter-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--hope-muted);
    margin-bottom: 4px;
}

/* Desktop - skrýt mobile labely */
@media (min-width: 769px) {
    .hope-visit-label-mobile {
        display: none;
    }
}

/* Mobil – sloupce pod sebou */
@media (max-width: 768px) {
    .hope-visit-header-wrapper {
        display: none; /* hlavičku na mobilu schováme */
    }

    .hope-visit-grid {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .hope-visit-row {
        margin-inline: 10px;
    }

    .hope-visit-label-mobile {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--hope-muted);
        margin-top: 2px;
    }
}
.cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Tlačítko VLEVO */
.contact-strip-btn {
    order: 2;
}

/* Text NAPRAVO */
.cta-text {
    order: 1;
    margin-right: auto;      /* ⭐ posune text úplně doprava */
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.cta-btn {
    padding: 10px 26px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 500;
    color:var(--hope-blue);
}

@media (max-width: 576px) {
    .cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .cta-text {
        margin-left: 0;   /* zruší posun */
    }

    .contact-strip-btn {
        width: 100%;
        text-align: center;
    }
}


.hope-filter-item {
    position: relative;
}

.hope-select-arrow {
    position: absolute;
    right: 14px;
    top: 39px;
    pointer-events: none;
    font-size: 14px;
    color: var(--hope-muted);
}
.hope-actions-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hope-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
}

.hope-icon-dark {
    border-color: #151823;
    color: #151823;
}

.hope-icon-dark:hover {
    background: #151823;
    color: #fff;
}

.hope-icon-blue {
    border-color: var(--hope-blue);
    color: var(--hope-blue);
}

.hope-icon-blue:hover {
    background: var(--hope-blue);
    color: #fff;
}

.hope-icon-red {
    border-color: var(--hope-orange);
    color: var(--hope-orange);
}

.hope-icon-red:hover {
    background: var(--hope-orange);
    color: #fff;
}

button.hope-icon-btn {
    border-width: 2px;
}
.dropdown-toggle::after {
    display: none !important;
}
.top-space{
    margin: 60px 0px -60px 0px !important
}
.dropdown-item{
    font-size: 14px !important;
}
.menub{
    color: var(--hope-blue);
    font-weight: 800;
}