/* ===== TRANSPORTER MEGA MENU ===== */
.tr-mega-wrap { position: relative; display: inline-flex; align-items: center; }

.tr-menu-btn {
    display: inline-flex; align-items: center; gap: 8px;
    width: 120px; height: 45px; justify-content: center;
    border-radius: 28px; border: none !important;
    background: var(--tr-accent) !important; color: #fff !important;
    cursor: pointer; font-size: 16px; font-weight: 700;
    letter-spacing: 0.06em; white-space: nowrap;
    transition: background-color 0.3s ease;
    font-family: 'Bebas', sans-serif; padding: 0 14px;
    z-index: 10001; position: relative;
}
.tr-btn-label { padding-top: 3px; }
.tr-menu-btn:not(.is-open):hover { background: var(--tr-accent-hover) !important; color: #fff !important; }
.tr-menu-btn.is-open { background: #fff !important; color: #111 !important; }
.tr-menu-btn.is-open:hover { background: #e0e0e0 !important; color: #111 !important; }

/* Focus-visible for keyboard users */
.tr-menu-btn:focus-visible {
    outline: 2px solid var(--tr-accent);
    outline-offset: 3px;
}

.tr-menu-dots { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5px; width: 14px; height: 14px; place-items: center; }
.tr-menu-dots span { width: 3px; height: 3px; border-radius: 50%; background: #fff !important; display: block; transition: background 0.3s ease; }
.tr-menu-btn.is-open .tr-menu-dots span { background: #111 !important; }

.tr-menu-close-x { width: 16px; height: 16px; position: relative; display: none; }
.tr-menu-close-x span {
    position: absolute; width: 16px; height: 2px; background: #111 !important;
    border-radius: 2px; top: 50%; left: 0;
}
.tr-menu-close-x span:first-child { transform: translateY(-50%) rotate(45deg); }
.tr-menu-close-x span:last-child  { transform: translateY(-50%) rotate(-45deg); }
.tr-menu-btn.is-open .tr-menu-dots  { display: none; }
.tr-menu-btn.is-open .tr-menu-close-x { display: block; }

.tr-mega-overlay {
    position: fixed; top: var(--tr-header-h, 0px);
    left: 0; right: 0; bottom: 0; z-index: 9998;
    background: rgba(0,0,0,0.55);
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1);
    display: none;
}
.tr-mega-overlay.is-visible { opacity: 1; pointer-events: auto; }

.tr-mega-panel {
    position: fixed; top: var(--tr-header-h, 0px);
    left: 0; right: 0; bottom: 0;
    z-index: 9999; background: #000; display: none;
    opacity: 0; pointer-events: none;
    transition: opacity 0.15s ease; overflow: hidden;
}
.tr-mega-panel.is-open { display: flex; opacity: 1; pointer-events: auto; }

.tr-mega-left {
    flex: 0 0 350px; height: 100%; display: flex;
    flex-direction: column; justify-content: space-between;
    padding: 40px 0 40px 48px;
    border-right: 1px solid rgba(255,255,255,0.08);
    transform: translateY(50px); opacity: 0;
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
}
.tr-mega-panel.is-animating .tr-mega-left { transform: translateY(0); opacity: 1; }

.tr-mega-nav a {
    display: block; padding: 10px 0; font-size: 20px; font-weight: 700;
    font-family: 'Bebas', sans-serif;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.6); text-decoration: none;
    transition: color 0.3s ease;
}
.tr-mega-nav a:hover { color: #fff; }
.tr-mega-nav a:focus-visible { outline: 1px solid var(--tr-accent); outline-offset: 2px; }
.tr-mega-nav a.tr-nav-active { color: var(--tr-accent); }

.tr-mega-contact-block {
    padding-right: 40px; opacity: 0; transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1) 0.15s;
}
.tr-mega-panel.is-animating .tr-mega-contact-block { opacity: 1; transform: translateY(0); }
.tr-mega-contact-block .tr-contact-divider { width: 40px; height: 1px; background: rgba(255,255,255,0.12); margin-bottom: 20px; }
.tr-mega-contact-block .tr-contact-label { font-family: 'FiraGo', sans-serif; font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.tr-mega-contact-block a { display: block; color: #fff; text-decoration: none; font-family: 'FiraGo', sans-serif; font-size: 14px; font-weight: 500; margin-bottom: 14px; padding: 0; text-transform: none; letter-spacing: 0; }
.tr-mega-contact-block a:hover { color: #fff; }
.tr-mega-social-icons { display: flex; gap: 12px; margin-top: 18px; }
.tr-mega-social-icons a {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    padding: 0; margin: 0; transition: border-color 0.2s ease;
}
.tr-mega-social-icons a:hover { border-color: rgba(255,255,255,0.4); }
.tr-mega-social-icons a:focus-visible { outline: 1px solid var(--tr-accent); outline-offset: 2px; }
.tr-mega-social-icons svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.6); }

.tr-mega-right {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding: 40px 48px 48px;
    transform: translateY(-50px); opacity: 0;
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1) 0.06s;
}
.tr-mega-panel.is-animating .tr-mega-right { transform: translateY(0); opacity: 1; }

.tr-mega-right::-webkit-scrollbar { width: 5px; }
.tr-mega-right::-webkit-scrollbar-track { background: transparent; }
.tr-mega-right::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.tr-mega-right::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

.tr-cat-section { margin-bottom: 40px; }
.tr-cat-section:last-child { margin-bottom: 0; }

.tr-cat-title {
    font-family: 'Bebas', sans-serif;
    font-size: 28px; font-weight: 400;
    letter-spacing: 0.04em; margin-bottom: 16px; color: #fff;
    opacity: 0; transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}
.tr-mega-panel.is-animating .tr-cat-title { opacity: 1; transform: translateY(0); }

.tr-cat-section:nth-child(1) .tr-cat-title { transition-delay: 0.12s; }
.tr-cat-section:nth-child(2) .tr-cat-title { transition-delay: 0.22s; }
.tr-cat-section:nth-child(3) .tr-cat-title { transition-delay: 0.32s; }

.tr-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.tr-card {
    display: flex; align-items: center; justify-content: space-between;
    height: 120px; background: #1a1a1a; border-radius: 8px;
    padding: 0 0 0 24px; overflow: hidden; cursor: pointer;
    border: 1px solid transparent; text-decoration: none;
    opacity: 0; transform: translateY(-18px);
    transition: border-color 0.2s ease-in-out 0s,
                opacity 0.55s cubic-bezier(0.16,1,0.3,1),
                transform 0.55s cubic-bezier(0.16,1,0.3,1);
}
.tr-card:hover,
.tr-card:focus-visible { border-color: var(--tr-accent); outline: none; }
.tr-mega-panel.is-animating .tr-card { opacity: 1; transform: translateY(0); }

.tr-card-text { display: flex; flex-direction: column; justify-content: center; width: 180px; }
.tr-card-name {
    color: #fff; font-family: 'Bebas', sans-serif;
    font-size: 20px; margin: 0 0 4px 0; font-weight: normal; line-height: 1.2;
}
.tr-card-count { color: var(--tr-accent); font-family: 'FiraGo', sans-serif; font-size: 14px; margin: 0; font-weight: normal; }

.tr-card-img { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tr-card-img img { width: 100%; height: 100%; object-fit: contain; }

.tr-mega-panel.is-animating .tr-card {
    transition: border-color 0.2s ease-in-out 0s,
                opacity 0.55s cubic-bezier(0.16,1,0.3,1) var(--tr-d, 0s),
                transform 0.55s cubic-bezier(0.16,1,0.3,1) var(--tr-d, 0s);
}

html.tr-menu-locked, body.tr-menu-locked,
.tr-menu-locked .website-wrapper, .tr-menu-locked .page,
.tr-menu-locked #wrapper, .tr-menu-locked .main-page-wrapper,
.tr-menu-locked main { overflow: hidden !important; height: 100% !important; }

.tr-mega-panel { overflow: hidden; }
.tr-mega-left { overflow: hidden; }

@media (max-width: 1024px) {
    .tr-mega-left { flex: 0 0 200px; padding-left: 32px; }
    .tr-mega-right { padding: 32px; }
    .tr-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .tr-mega-panel.is-open { flex-direction: column; }
    .tr-mega-left {
        flex: none; height: auto; border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 24px 24px 20px;
    }
    .tr-mega-contact-block { display: none; }
    .tr-mega-right { padding: 24px; }
}
