/* Glass top navigation — dark gradient theme */

.tm-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

/* Solidifies into glass once the page is scrolled */
.tm-topbar.is-scrolled {
    background: rgba(12, 12, 10, 0.72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.tm-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.tm-topbar-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex-shrink: 0;
}

.tm-topbar-logo img {
    height: 30px;
    width: auto;
}

/* Center nav links */
.tm-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm-nav-links a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(244, 248, 251, 0.74);
    transition: color 0.2s ease, background-color 0.2s ease;
}

.tm-nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

.tm-topbar-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.tm-topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(244, 248, 251, 0.82);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.tm-topbar-phone:hover {
    color: #fff;
}

.tm-topbar-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.tm-nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive: progressively hide secondary items */
@media (max-width: 1024px) {
    .tm-topbar-phone {
        display: none;
    }
}

@media (max-width: 860px) {
    .tm-nav-links {
        display: none;
    }
}

@media (max-width: 520px) {
    .tm-topbar-inner {
        gap: 12px;
    }
    .tm-nav-cta {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}
