/**
 * NČA Administrace - Frontend CSS
 *
 * Výchozí styly pro veřejnou část webu.
 * Migrováno z Fluent Snippets: 1-custom-css.php
 */

/* ==========================================================================
   Button Slant - šikmé tlačítko
   ========================================================================== */

.btn-slant {
    display: inline-block;
    background-color: black;
    color: #00f5a0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    padding: 0.5em 1.5em;
    text-align: center;
    border: none;
    cursor: pointer;
    clip-path: polygon(
        0 0,
        90% 0,
        100% 50%,
        100% 100%,
        10% 100%,
        0 50%
    );
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-slant:hover {
    background-color: #00f5a0;
    color: black;
}

/* ==========================================================================
   ACF Organizace - odkazy
   ========================================================================== */

.acf-org-link {
    color: #000000;
    text-decoration: underline;
    font-size: 1.2em;
    line-height: 1em;
}

.acf-org-link:hover {
    color: #3A3A3A;
    text-decoration: none;
}

/* ==========================================================================
   Fluent Forms - typografie
   ========================================================================== */

.hlavni-nadpis {
    color: #3A3A3A;
    font-size: 1.5em;
}

.podnadpis {
    color: #3A3A3A;
    font-size: 1.1em;
}

.tlacitko-formular {
    color: #3A3A3A;
    font-size: 1.1em;
}

/* ==========================================================================
   Brand Row - interaktivní dlaždice
   ========================================================================== */

.brand-row {
    display: flex;
    width: 100%;
    gap: 20px;
}

.brand-tile {
    flex: 1;
    background: #00e6c0;
    padding: 18px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: flex 0.35s ease, background 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
}

.brand-tile .brand-short {
    font-weight: 700;
    font-size: 22px;
    display: inline-block;
}

.brand-tile .brand-full {
    font-size: 22px;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s ease;
}

.brand-tile .brand-menu {
    margin-left: auto;
    opacity: 0;
    transform: translateX(20px);
    transition: 0.3s ease;
    font-size: 16px;
}

.brand-tile.active {
    flex: 3;
    background: #00f0ff;
}

.brand-tile.active .brand-full {
    opacity: 1;
    transform: translateX(0);
}

.brand-tile.active .brand-menu {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   PDF odkazy - zelená barva v Elementor widgetech
   ========================================================================== */

.elementor-widget-text-editor a[href*=".pdf"],
.elementor-widget-text-editor a[href*="pdf"] {
    color: #00a651 !important;
}

.elementor-widget-text-editor a[href*=".pdf"]:hover,
.elementor-widget-text-editor a[href*="pdf"]:hover {
    color: #008a43 !important;
}

/* ==========================================================================
   Responzivita - mobilní breakpointy
   ========================================================================== */

/* #1, #2: Brand Row - stack na mobilu, zmenšit font */
@media screen and (max-width: 768px) {
    .brand-row {
        flex-direction: column;
        gap: 10px;
    }

    .brand-tile {
        white-space: normal;
        padding: 14px 18px;
    }

    .brand-tile .brand-short {
        font-size: 18px;
    }

    .brand-tile .brand-full {
        font-size: 18px;
    }

    .brand-tile .brand-menu {
        font-size: 14px;
    }

    .brand-tile.active {
        flex: 1;
    }
}

/* #7: Brand Tile menu - větší touch target */
@media screen and (max-width: 1024px) {
    .brand-tile .brand-menu {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* #10: btn-slant - větší padding pro touch */
@media screen and (max-width: 768px) {
    .btn-slant {
        padding: 0.6em 2em;
        font-size: 0.9em;
    }
}
