/* --- header-footer.css --- */

.tp-main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(43, 48, 34, 0.7);
    padding: 20px 40px;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tp-nav-container,
.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.nav-logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    z-index: 120;
}

.nav-logo:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.25;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--mustard);
}

.nav-links a.active {
    color: var(--mustard);
    font-weight: 600;
    border-bottom: 2px solid var(--mustard);
    padding-bottom: 5px;
}

.nav-hamburger,
.tp-nav-toggle {
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.tp-nav-toggle {
    display: none;
    position: relative;
    z-index: 130;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: 0.22s ease;
}

.tp-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.tp-nav-toggle i {
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1;
}

.nav-no-hero {
    position: relative;
    background: var(--dark-olive);
}

/* ==========================================================================
   NOTIFICATION BELL
   ========================================================================== */

.tp-notification-wrap {
    position: relative;
    z-index: 135;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tp-notification-toggle {
    position: relative;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: 0.22s ease;
    box-shadow: none;
}

.tp-notification-toggle:hover,
.tp-notification-dropdown.is-open + .tp-notification-toggle {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 184, 0, 0.55);
    color: var(--mustard, #ffb800);
}

.tp-notification-toggle i {
    font-size: 1.05rem;
    line-height: 1;
}

.tp-notification-badge {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    border: 2px solid var(--dark-olive, #2b3022);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.66rem;
    line-height: 1;
    font-weight: 900;
}

.tp-notification-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(380px, calc(100vw - 40px));
    border: 1px solid rgba(237, 242, 247, 0.95);
    border-radius: 16px;
    background: #ffffff;
    color: #172033;
    box-shadow: 0 22px 64px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.22s ease;
    z-index: 150;
}

.tp-notification-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.tp-notification-dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f7;
    background: #fafbfc;
}

.tp-notification-dropdown-head strong {
    color: #172033;
    font-size: 0.98rem;
    line-height: 1.2;
    font-weight: 900;
}

.tp-notification-dropdown-head span {
    color: #8a98aa;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.tp-notification-dropdown-body {
    max-height: 360px;
    overflow-y: auto;
    padding: 8px;
}

.tp-notification-mini {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    padding: 10px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none !important;
    transition: 0.18s ease;
}

.tp-notification-mini:hover {
    background: #f8fafc;
}

.tp-notification-mini.is-unread {
    background: #fffaf0;
}

.tp-notification-mini.is-unread:hover {
    background: #fff4d6;
}

.tp-notification-mini-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #fff6df;
    color: var(--mustard, #ffb800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tp-notification-mini-text {
    min-width: 0;
}

.tp-notification-mini-text strong {
    display: block;
    color: #172033;
    font-size: 0.86rem;
    line-height: 1.25;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-notification-mini-text small {
    display: block;
    margin-top: 3px;
    color: #718096;
    font-size: 0.78rem;
    line-height: 1.35;
}

.tp-notification-mini-text em {
    display: block;
    margin-top: 4px;
    color: #a0aec0;
    font-size: 0.73rem;
    line-height: 1.2;
    font-style: normal;
    font-weight: 700;
}

.tp-notification-empty {
    padding: 24px 18px;
    text-align: center;
    color: #718096;
}

.tp-notification-empty i {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #fffaf0;
    color: var(--mustard, #ffb800);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.tp-notification-empty strong {
    display: block;
    color: #172033;
    font-size: 0.94rem;
    font-weight: 900;
}

.tp-notification-empty p {
    margin: 5px 0 0;
    color: #718096;
    font-size: 0.82rem;
    line-height: 1.45;
}

.tp-notification-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid #edf2f7;
    background: #fafbfc;
}

.tp-notification-dropdown-footer form {
    margin: 0;
    padding: 0;
}

.tp-notification-dropdown-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--mustard, #ffb800);
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.tp-notification-dropdown-all:hover {
    color: #d99a00;
}

.tp-notification-dropdown-all i {
    font-size: 0.75rem;
}

.tp-notification-mark-read-btn {
    border: none;
    background: transparent;
    color: #718096;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
}

.tp-notification-mark-read-btn:hover {
    color: #172033;
}

/* ==========================================================================
   HERO BUTTONS - TABLET FIX
   ========================================================================== */

.tp-hero-btns .tp-btn-yellow,
.tp-hero-btns .tp-btn-glass {
    width: auto !important;
    max-width: 100%;
    flex: 0 0 auto;
}

@media (max-width: 1100px) {
    .tp-hero-btns {
        align-items: flex-start !important;
    }

    .tp-hero-btns .tp-btn-yellow,
    .tp-hero-btns .tp-btn-glass {
        width: auto !important;
        max-width: 100%;
        flex: 0 0 auto;
    }
}

@media (max-width: 620px) {
    .tp-hero-btns {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .tp-hero-btns .tp-btn-yellow,
    .tp-hero-btns .tp-btn-glass {
        width: 100% !important;
        flex: none;
    }
}

/* ==========================================================================
   TABLET / MOBILE HEADER MENU
   ========================================================================== */

@media (max-width: 1100px) {
    .tp-main-nav {
        padding: 16px 20px;
    }

    .nav-flex,
    .tp-nav-container {
        position: relative;
    }

    .nav-logo {
        font-size: 1.35rem;
    }

    .nav-actions {
        gap: 12px;
    }

    .tp-nav-toggle {
        display: inline-flex;
    }

    .nav-right {
        position: absolute;
        top: calc(100% + 14px);
        right: 0;
        width: min(360px, calc(100vw - 40px));
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: 0.22s ease;
        z-index: 125;
    }

    .tp-main-nav.is-open .nav-right {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        background: rgba(43, 48, 34, 0.98);
        box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        min-height: 42px;
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 11px 12px;
        border-radius: 10px;
        box-sizing: border-box;
        color: rgba(255, 255, 255, 0.88);
        font-size: 0.95rem;
        font-weight: 700;
        border-bottom: none !important;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

    .nav-links a.active {
        background: rgba(255, 184, 0, 0.14);
        color: var(--mustard);
        padding-bottom: 11px;
    }
}

@media (max-width: 768px) {
    .tp-main-nav {
        padding: 14px 16px;
    }

    .nav-logo {
        font-size: 1.22rem;
    }

    .tp-nav-toggle,
    .tp-notification-toggle {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .nav-right {
        left: 0;
        right: 0;
        width: 100%;
    }

    .tp-notification-dropdown {
        right: -52px;
        width: min(360px, calc(100vw - 28px));
    }

    .tp-scroll-top {
        right: 18px;
        bottom: 18px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .tp-main-nav {
        padding: 12px 14px;
    }

    .nav-logo {
        font-size: 1.12rem;
        gap: 8px;
    }

    .nav-actions {
        gap: 9px;
    }

    .nav-right {
        top: calc(100% + 10px);
    }

    .nav-links {
        border-radius: 14px;
        padding: 10px;
    }

    .nav-links a {
        font-size: 0.92rem;
    }

    .tp-notification-dropdown {
        right: -52px;
        width: calc(100vw - 28px);
        border-radius: 14px;
    }

    .tp-notification-dropdown-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .tp-scroll-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.tp-site-footer {
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 184, 0, 0.12), transparent 30%),
        linear-gradient(135deg, #2b3022, #202819);
    color: #ffffff;
    padding: 58px 0 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-footer-container {
    width: min(1180px, calc(100% - 96px));
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

.tp-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    gap: 52px;
    align-items: start;
}

.tp-footer-brand {
    max-width: 560px;
}

.tp-footer-logo-image {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    text-decoration: none !important;
}

.tp-footer-logo-image img {
    display: block;
    width: auto;
    height: 46px;
    max-width: 260px;
    object-fit: contain;
}

.tp-footer-brand p {
    margin: 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 600;
}

.tp-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
}

.tp-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.tp-footer-column h3 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 0.86rem;
    line-height: 1.2;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tp-footer-column a {
    color: rgba(255, 255, 255, 0.72) !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 700;
    transition: 0.18s ease;
}

.tp-footer-column a:hover {
    color: var(--mustard, #ffb800) !important;
    transform: translateX(2px);
}

.tp-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.tp-footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #202819 !important;
    background: var(--mustard, #ffb800);
    text-decoration: none !important;
    border: 1px solid rgba(255, 184, 0, 0.7);
    transition: 0.18s ease;
}

.tp-footer-socials a:hover {
    transform: translateY(-2px);
    background: #ffffff;
    color: #202819 !important;
}

.tp-footer-socials i {
    font-size: 1rem;
    line-height: 1;
}

.tp-footer-bottom {
    margin-top: 46px;
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.tp-footer-bottom-left,
.tp-footer-bottom-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-footer-bottom-left span,
.tp-footer-bottom-right span,
.tp-footer-bottom-left a {
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none !important;
}

.tp-footer-bottom-left a {
    color: rgba(255, 184, 0, 0.82) !important;
}

.tp-footer-bottom-left a:hover {
    color: #ffffff !important;
}

.tp-footer-dot {
    opacity: 0.45;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */

.tp-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: var(--mustard, #ffb800);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: 0.24s ease;
}

.tp-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.tp-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
    filter: brightness(0.98);
}

.tp-scroll-top i {
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 900px) {
    .tp-site-footer {
        padding-top: 42px;
    }

    .tp-footer-container {
        width: min(100% - 40px, 1180px);
    }

    .tp-footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .tp-footer-brand {
        max-width: none;
        text-align: center;
        margin: 0 auto;
    }

    .tp-footer-logo-image,
    .tp-footer-socials {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .tp-footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .tp-footer-links {
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }

    .tp-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .tp-footer-bottom-left,
    .tp-footer-bottom-right {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .tp-footer-container {
        width: min(100% - 32px, 1180px);
        padding-left: 0;
        padding-right: 0;
    }

    .tp-footer-main {
        gap: 30px;
    }

    .tp-footer-logo-image img {
        height: 38px;
        max-width: 220px;
    }

    .tp-footer-links {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .tp-footer-column {
        align-items: center;
    }

    .tp-footer-column a:hover {
        transform: none;
    }

    .tp-footer-bottom {
        margin-top: 34px;
    }

    .tp-scroll-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   TRACKPOINT FOOTER - LOGO LIFT + SOCIAL ALIGNMENT
   ========================================================= */

/* LevĂ˝ brand sloupec roztĂˇhneme na vĂ˝Ĺˇku footer obsahu */
.tp-footer-brand {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* SociĂˇlnĂ­ ikony posuneme dolĹŻ, aby sedÄ›ly opticky s menu */
.tp-footer-brand .tp-footer-socials {
    margin-top: auto;
}

/* Logo lehce vytĂˇhnout z tmavĂ©ho pozadĂ­ */
.tp-footer-logo-image img {
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.45))
        drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
    transform: translateZ(0);
}

/* JemnĂ˝ hover efekt */
.tp-footer-logo-image:hover img {
    filter:
        drop-shadow(0 0 2px rgba(255, 255, 255, 1))
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.55))
        drop-shadow(0 12px 22px rgba(0, 0, 0, 0.32));
}

/* Instagram zĹŻstane dole, ale nebude pĹŻsobit nalepenÄ› */
.tp-footer-socials a {
    box-shadow: 0 10px 24px rgba(255, 184, 0, 0.18);
}

/* Tablet / mobil - vrĂˇtit pĹ™irozenĂ© centrovĂˇnĂ­ */
@media (max-width: 900px) {
    .tp-footer-brand {
        min-height: 0;
        align-items: center;
    }

    .tp-footer-brand .tp-footer-socials {
        margin-top: 24px;
    }
}

/* =========================================================
   TRACKPOINT FOOTER - ALFA NOTICE IN BRAND COLUMN
   ========================================================= */

.tp-footer-alpha {
    margin-top: 18px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    max-width: 520px;
}

.tp-footer-alpha span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.84rem;
    line-height: 1.45;
    font-weight: 750;
}

.tp-footer-alpha a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 184, 0, 0.12);
    border: 1px solid rgba(255, 184, 0, 0.34);
    color: var(--mustard, #ffb800) !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    line-height: 1;
    font-weight: 900;
    transition: 0.18s ease;
}

.tp-footer-alpha a:hover {
    background: var(--mustard, #ffb800);
    color: #202819 !important;
    transform: translateY(-1px);
}

.tp-footer-alpha i {
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .tp-footer-alpha {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}