/* TECHNO-CHROME.CSS — header (topbar+nav+meniu mobil), footer si scroll-top
   extrase din techno-home.css pentru paginile interioare. Clase `dt-` — fara coliziuni. */
:root {
    --dt-primary: #0C5ADB;
    --dt-primary-hover: #1266F1;
    --dt-heading: #232323;
    --dt-body: #686868;
    --dt-bar: #aec6ef;
    --dt-container: 1320px;
}

.dt-container {
    max-width: var(--dt-container);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.dt-container-wide {
    max-width: 100%;
    padding: 0;
}

.dt-grid { display: grid; gap: 20px; }
.dt-g4 { grid-template-columns: repeat(4, 1fr); }
.dtbtn {
    display: inline-block;
    background: var(--dt-primary);
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
    padding: 12px 28px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.dtbtn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dt-primary-hover);
    transform: scale(0);
    transform-origin: center;
    transition: transform .5s ease;
    border-radius: 4px;
    z-index: -1;
}

.dtbtn:hover { color: #fff; }
.dtbtn:hover::before { transform: scale(1); }


/*----------------------------------------
  4. TOPBAR
----------------------------------------*/
.dt-topbar {
    background: var(--dt-primary);
    padding: 9px 0;
    color: #fff;
    position: relative;
    z-index: 60;
}

.dt-topbar .dt-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dt-topbar p {
    margin: 0;
    font-size: 14px;
    line-height: 26px;
    color: #fff;
}

.dt-topbar p i {
    margin-right: 9px;
    font-size: 13px;
}

.dt-topbar-social {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dt-topbar-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    color: #1773EA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.dt-topbar-social a:hover { background: var(--dt-heading); color: #fff; }

/*----------------------------------------
  5. HEADER / NAV
----------------------------------------*/
.dt-header {
    background: #fff;
    position: relative;
    z-index: 55;
}

.dt-header .dt-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    gap: 20px;
}

.dt-logo img { height: 34px; width: auto; display: block; }

.dt-menu > ul { display: flex; align-items: center; }
.dt-menu > ul > li { position: relative; }

.dt-menu > ul > li > a {
    display: block;
    padding: 0 10px 0 28px;
    font-size: 16px;
    font-weight: 500;
    line-height: 100px;
    color: #222;
}

.dt-menu > ul > li > a i {
    font-size: 12px;
    margin-left: 6px;
    transition: transform .3s;
}

.dt-menu > ul > li:hover > a { color: var(--dt-primary); }
.dt-menu > ul > li:hover > a i { transform: rotate(180deg); }

.dt-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 22px;
    width: 274px;
    background: #fff;
    border-top: 2px solid var(--dt-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    z-index: 30;
}

.dt-menu > ul > li:hover > .sub-menu,
.dt-menu > ul > li.dt-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dt-menu .sub-menu li + li { border-top: 1px solid #f1f2f6; }

.dt-menu .sub-menu a {
    display: block;
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dt-heading);
}

.dt-menu .sub-menu a:hover { background: var(--dt-primary); color: #fff; }

.dt-header-btns { display: flex; align-items: center; gap: 14px; }

.dt-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 6px;
    background: var(--dt-primary);
    color: #fff;
    font-size: 18px;
    align-items: center;
    justify-content: center;
}

/* sticky */
.dt-header.dt-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 5px -2px rgba(0, 0, 0, .1);
    animation: dtSlideDown .5s ease forwards;
}

@keyframes dtSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/*----------------------------------------
  6. MENIU MOBIL
----------------------------------------*/
.dt-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
}

.dt-mobile-menu.dt-active { visibility: visible; opacity: 1; }

.dt-mobile-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .6);
}

.dt-mobile-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #fff;
    padding: 24px 22px 40px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .4s ease;
}

.dt-mobile-menu.dt-active .dt-mobile-panel { transform: translateX(0); }

.dt-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.dt-mobile-head img { height: 30px; width: auto; }

.dt-mobile-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 6px;
    background: #f1f4fb;
    color: var(--dt-heading);
    font-size: 16px;
}

.dt-mobile-panel nav li { border-bottom: 1px solid #eef0f6; }

.dt-mobile-panel nav > ul > li > a,
.dt-mobile-panel nav .sub-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--dt-heading);
}

.dt-mobile-panel nav .sub-menu {
    display: none;
    padding-left: 14px;
    border-top: 1px solid #eef0f6;
}

.dt-mobile-panel nav li.dt-open > .sub-menu { display: block; }

.dt-mobile-panel nav .sub-menu a { font-size: 15px; font-weight: 500; }
.dt-mobile-panel nav .sub-menu li:last-child { border-bottom: 0; }

.dt-mobile-arrow {
    position: absolute;
    right: 0;
    top: 6px;
    width: 32px;
    height: 32px;
    border: 1px solid #e6e9f2;
    border-radius: 5px;
    background: #fff;
    color: var(--dt-heading);
    font-size: 13px;
    line-height: 1;
}

.dt-mobile-panel nav > ul > li { position: relative; }
.dt-mobile-panel nav > ul > li.dt-open > .dt-mobile-arrow { background: var(--dt-primary); color: #fff; border-color: var(--dt-primary); }

.dt-mobile-cta { margin-top: 28px; display: block; text-align: center; }

/*----------------------------------------
  19. FOOTER
----------------------------------------*/
.dt-footer {
    padding: 95px 0 0;
    background: #0A0E1B url("../techno/img/footer-threee-1.jpg") center center / cover no-repeat;
    color: #fff;
}

.dt-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .8fr 1.35fr 1.1fr;
    gap: 30px;
    padding-bottom: 60px;
}

.dt-footer-logo { display: inline-block; margin-bottom: 22px; }
.dt-footer-logo img { height: 32px; width: auto; }

.dt-footer p { color: #fff; font-size: 16px; line-height: 26px; }

.dt-footer h4 {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 26px;
}

.dt-footer-social { display: flex; gap: 10px; margin-top: 20px; }

.dt-footer-social a {
    width: 37px;
    height: 37px;
    border-radius: 10%;
    background: #187DFF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.dt-footer-social a:hover { background: #fff; color: var(--dt-primary); }

.dt-footer-links li + li { margin-top: 12px; }

.dt-footer-links a {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
}

.dt-footer-links a i { font-size: 11px; color: #9EB3EF; }
.dt-footer-links a:hover { color: #9EB3EF; }

.dt-footer-posts li { display: flex; gap: 16px; }
.dt-footer-posts li + li { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); }

.dt-footer-posts img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    flex: none;
}

.dt-footer-posts h5 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 6px;
}

.dt-footer-posts h5 a:hover { color: #9EB3EF; }
.dt-footer-posts span { font-size: 14px; color: #9EB3EF; }

.dt-footer-info li { display: flex; gap: 16px; }
.dt-footer-info li + li { margin-top: 20px; }

.dt-footer-info .dt-info-icon {
    width: 34px;
    flex: none;
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
}

.dt-footer-info h5 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px;
}

.dt-footer-info p { font-size: 15px; line-height: 22px; color: #9EB3EF; margin: 0; }
.dt-footer-info a:hover { color: #fff; }

.dt-footer-bottom .dt-container {
    border-top: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 22px;
    padding-bottom: 22px;
}

.dt-footer-bottom p { margin: 0; font-size: 15px; color: #fff; }
.dt-footer-bottom ul { display: flex; gap: 26px; }
.dt-footer-bottom ul a { font-size: 15px; color: #fff; }
.dt-footer-bottom ul a:hover { color: #9EB3EF; }

/*----------------------------------------
  20. SCROLL TO TOP
----------------------------------------*/
.dt-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--dt-primary);
    color: #fff;
    font-size: 16px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s, background .3s;
}

.dt-scroll-top.dt-show { opacity: 1; visibility: visible; }
.dt-scroll-top:hover { background: var(--dt-heading); }


@media (max-width: 1199px) {
    .dt-menu { display: none; }
    .dt-menu-toggle { display: flex; }
    .dt-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
}

@media (max-width: 991px) {
    .dt-topbar .dt-container { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 767px) {
    .dt-footer-grid { grid-template-columns: 1fr; }
    .dt-header-btns .dtbtn { display: none; }
    .dt-header .dt-container { height: 76px; }
    .dt-logo img { height: 28px; }
    .dt-footer { padding-top: 60px; }
    .dt-footer-bottom .dt-container { flex-direction: column; text-align: center; }
}

/* reset de liste pentru componentele dt- (paginile interioare nu au reset-ul global din techno-home.css) */
.dt-topbar ul, .dt-menu, .dt-menu ul, .dt-mobile-nav, .dt-mobile-nav ul, .dt-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dt-topbar a, .dt-menu a, .dt-mobile-panel a, .dt-footer a { text-decoration: none; }
