/*
 * Theme Name: Digitran Theme
 * Description: Custom Wordpress theme for Digitran with Timber framework
 * Author: bcstech.hu
*/

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    background-color: #F2F1ED;
    background-image: url('/wp-content/uploads/2025/11/12789075_5068709.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

strong {
    font-weight: 700;
}

p, span, ul, h1, h2, h3, h4, h5, h6 {
    color: #040F16;
}

p, span, ul, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}
p, span, ul {
    font-weight: 400;
}

h1, h2 {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 800;
}

a, a:hover {
    text-decoration: none;
}

div, section {
    scroll-margin-top: calc(115px - 2rem);
}

@media (max-width: 575px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .container.content-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .article-head, .article-body {
        border-radius: 0 !important;
    }
}

.modal-dialog p, .modal-dialog span, .modal-dialog a, .modal-dialog h1, .modal-dialog h2, .modal-dialog h3, .modal-dialog h4, .modal-dialog h5, .modal-dialog h6{
    color:#040F16 !important;
}

.c-bn, .c-bn:hover, .digitran-button, .digitran-button:hover {
    text-align: center;
    transition: all .2s !important;
    background-color: #1A84C6 !important;
}

.c-bn, .btn.digitran-button {
    padding: .875rem 1.5rem;
}

.c-bn, .digitran-button:hover {
    padding-right: 3rem;
}

.c-bn.c_link {
    background-color: #F2F1ED !important;
}

.digitran-button::after {
    content: '\f138';
    font-family: 'bootstrap-icons';
    opacity: 0;
    position: absolute;
    transition: all .2s;
    margin-left: -2rem;
    text-transform: none;
    font-variant: none;
    font-style: normal;
    font-weight: 400;
    text-shadow: none;
}

.digitran-button:hover::after {
    opacity: 1;
    margin-left: 0.5rem;
}

.header {
    margin: 1rem 0 1rem 0;
}

.hdr-logo{
    display: inline-block;
    position: relative;
}

.navbar-toggler {
    background-color: #fff;
    right: 1rem;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    border: none;
    border-radius: 4px;
    padding: 0;
}

.navbar-toggler-icon {
    width: 2rem;
    height: 2rem;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23040F16' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

#nav-main {
    border-radius: 8px;
    background-color: #fff;
    z-index: 999;
}

.header {
    top: 18px;
    position: sticky;
    z-index: 999;
    margin-bottom: -115px;
}

.navbar-nav {
    width: 100%;
}

#main-menu, .offcanvas-body, .navbar-nav {
    transition: none;
    display: flex !important; /* ha még nincs flex */
}

#nav-main a.nav-link {
    text-decoration: none;
    position: relative;
    font-size: 1.25rem;
}

@media (resolution < 1.2dppx) {
    #nav-main a.nav-link {
        font-size: 1rem;
    }
}

#nav-main li:not(.weglot-parent-menu-item) a.nav-link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #fff;
    bottom: -2px;
    left: 0;
    transition: width 0.4s;
}

#nav-main .menu-item {
    display: flex;
}

.dropdown-menu {
    min-width: 5rem;
}

@media (min-width: 1200px) {
    #nav-main .menu-item:hover {
        color: #fff;
        transition: all .2s;
        background-color: #1A84C6;
    }

    #nav-main .menu-item:hover a.nav-link{
        transition: all .2s;
        color: #fff;
    }

    ul.navbar-nav > li.weglot-parent-menu-item {
        margin-left: auto !important;
    }
}

@media (max-width: 1199px) {
    .dropdown-menu, .dropdown-menu.show {
        border: 0;
    }

    .dropdown-menu > li.menu-item {
        padding: 0;
    }

    .weglot-parent-menu-item .dropdown-menu {
        display: block;
        padding: 0;
    }

    .weglot-parent-menu-item .dropdown-toggle {
        display: none;
    }
}

#nav-main a.nav-link:hover::before {
    width: 100%;
}

@media (min-width: 1200px) {
    #nav-main .menu-item-has-children:hover > .dropdown-menu, .dropdown-menu.show {
        margin-top: .125rem;
        top: 100%;
        left: 0;
        display: block;
    }

    .dropdown-menu .menu-item:hover .dropdown-item {
        transition: all .2s;
        color: #fff;
    }

    .navbar-nav > .weglot-parent-menu-item {
        margin-left: auto !important; /* jobbra tolja */
    }
}

#nav-main .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600 !important;
    font-style: normal;
    font-size: 1rem;
    color: #040F16;
    padding: 0 !important;
}

#nav-main ul:not(.dropdown-menu) >.menu-item {
    border-radius: 4px;
    transition: background-color .2s;
    padding: .375rem 1rem;
}

@media (max-width: 1199px) {
    #nav-main .menu-item {
        transition: all .2s;
    }

    #main-menu, .offcanvas-body, .navbar-nav {
        transition: all .2s;
        display: flex; /* ha még nincs flex */
    }

    #nav-main {
        padding: .5rem;
    }
}

@media (max-width: 1400px) {
    #nav-main .nav-link {
        font-size: .875rem;
    }

    #nav-main ul:not(.dropdown-menu) >.menu-item { 
        padding: .375rem .625rem;
    }
}

.weglot-switcher {
    margin-left: auto !important;
}

.weglot-parent-menu {
    margin-left: auto !important;
}

.menu-item-has-children:not(.weglot-parent-menu-item) {
    display: flex;
    flex-wrap: wrap;
}

.menu-item-has-children:not(.weglot-parent-menu-item) > .nav-link,
.menu-item-has-children:not(.weglot-parent-menu-item) > .dropdown-toggle {
    order: 1;
}

.menu-item-has-children:not(.weglot-parent-menu-item) > .dropdown-menu {
    order: 2;
}

.menu-item-has-children:not(.weglot-parent-menu-item) > .nav-link {
    flex: 1;
}

.menu-item-has-children:not(.weglot-parent-menu-item) > .dropdown-toggle {
    margin-left: 8px;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    font-size: 1.125rem;
    margin-bottom:-.125rem;
    cursor: pointer;
}

.dropdown-item:hover, .dropdown-item:visited, .dropdown-item:active, .dropdown-item:disabled {
    transition: all .2s !important;
    background: transparent !important;
}

.dropdown-item:active {
    background-color: transparent !important;
    color: #040F16;
}

#content, #content-front-page {
    padding-top: calc(115px + 1rem);
}

#content {
    filter: drop-shadow(0px 6px 8px #373737);
}

.article-head {
    position: relative;
    border-radius: 8px 8px 0 0;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    padding: 2rem 2rem calc(60px - 2rem) 2rem;
}

.article-h1 {
    font-size: 1.75rem;
}

.article-head::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0.15  ) 100%);
}

.article-head-content {
    position: relative;
    z-index: 2;
}

.article-body {
    border-radius: 0 0 8px 8px;
    background-color: #fff;
    padding-bottom: 1.5rem;
}

.wp-block-columns {
    padding: 0 2rem;
}

#footer {
    /*ide jön a background, nagyon csecse lesz*/
    background: #0B1E2E;
    background: linear-gradient(135deg, rgba(11, 30, 46, 1) 0%, rgba(26, 132, 198, 1) 100%);
    background-image: url('/wp-content/uploads/2025/11/plexus-footer.svg'), linear-gradient(135deg, rgba(11, 30, 46, 1) 0%, rgba(26, 132, 198, 1) 100%);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 45%, 100%;
    padding: 30px 0 0 0;
}

#footer p, #footer a, #footer span, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
    color: #fff;
    line-height: 1.75;
}

#footer h3 {
    font-size: 1.375rem;
}

#contact-us {
    position: relative;
}

#contact-us span {
    display: block;
}

.footer-content {
    padding-bottom: 20px;
}

.footer-menu {
    color: #fff;
    background-color: #040F16;
    padding: 2rem;
}

.footer-menu span {
    display: inline-block;
}

.footer-menu ul {
    display: inline;
    list-style-type: none;
    padding-left: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
}

.footer-menu ul li {
    display: inline-block;
    padding-right: 24px;
}

@media (max-width:1199px) {
    .footer-menu ul li{
        display: block;
    }
}

@media (max-width: 767px) {
    .footer-menu .text-end {
        text-align: left !important;
    }
}

/*@media screen and (min-width: 1480px) {
    #contact-us::before {
        content: url('/wp-content/uploads/2025/11/digitran_logo_white.svg');
        position: absolute;
        top: calc(50% - 70px);
        left: calc((1200px - 100vw) / 2 - 6px);
        width: 280px;
        background-size: cover;
        background-repeat: no-repeat;
        transform: rotate(-90deg);
        display: block;
        opacity: .6;
    }
}*/

.video-layer-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh + 100px);
    overflow: hidden;
    background-image: url('/wp-content/uploads/2025/11/df30c24cb353afb6953834af399e8005 copy.webp');
    background-size: cover;
    background-position: 30% 50%;
}

.layer-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(180deg) scaleX(-1);
    z-index: 2;
    pointer-events: none;
    /* Fekete részek átlátszóvá tétele mix-blend-mode segítségével */
    mix-blend-mode: soft-light;
    opacity: .5;
}

.overlay-content {
    padding: 2rem 0 5rem 0;
}

.overlay-content, .overlay-content h1, .overlay-content h2, .overlay-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
    position: relative;
    z-index: 3;
    color: #fff !important;
    line-height: 1.5;
}

.overlay-content p {
    font-weight: 400;
    font-size: 1.25rem
}

.overlay-content h1 {
    font-size: 2rem;
}

.overlay-content h2 {
    font-size: 1.25rem;
}

@media (max-width:768px) {
    /*p {
        font-size: 1.25rem;
    }

    .overlay-content h1 {
        font-size: 1.675rem;
    }

    .overlay-content h2 {
        font-size: 1.375rem;
    }*/
}

.overlay-content em {
    color:#1A84C6;
    font-style: normal;
}

.overlay-content h1 em {
    color:#fff;
    font-style: normal;
    background-color: #1A84C6;
}

.overlay-content p em {
    color: #fff;
    font-weight: 700;
}

#partners {
    background-color: #fff;

}

.owl-carousel .owl-stage {
    display: flex;
    align-items: center;
}

.partners-carousel .item img {
    transition: all .2s;
    width: 100%;
    display: block;
    border-radius: 8px;
    filter: grayscale(100%);
    padding: 2rem;
}

.partners-carousel .item:hover img {
    filter: none;
}

.procurement-item {
    margin-bottom: 1.25rem;
}

.color-blue {
    color:#1A84C6;
}

.procurement-item {
    background-color: #fff;
    border: solid 1px #1A84C6;
    border-radius: 8px;
}

.procurement-item h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.service-banner {
    aspect-ratio: 16/10;
}

.service-item {
    border: solid 1px #1A84C6;
    background-color: #fff;
}

.service-item h2 {
    font-size: 1.25rem;
}

.service-banner img {
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.main-slogen {
    line-height: 150%;
}

.lh-150 {
    line-height: 1.5;
}

.bigger-text {
    font-size: 1.25rem;
}

h2.bigger, h3.bigger, h4.bigger, h5.bigger {
    font-size: 1.25rem;
}

.ul-em li em {
    margin-bottom: .375rem;
}

.section-header-left-green, .section-header-right {
    background-color: #00ad43;
    width: 45%;
    padding: 1rem 2rem 1rem 0;
    border-radius: 0 8px 8px 0;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    height: 90px;
    justify-content: end;
    
}

.section-header-right {
    margin-left: 55%;
    border-radius: 8px 0 0 8px;
    padding: 1rem 0 1rem 2rem;
    justify-content: start;
}

@media (max-width: 991px) {
    .section-header-left-green, .section-header-right {
        width: 60%;
    }

    .section-header-right {
        margin-left: 40%;
    }
}

@media (max-width: 575px) {
    .section-header-left-green, .section-header-right {
        width: 80%;
    }

    .section-header-right {
        margin-left: 20%;
    }
}

.section-description {
    padding-top: calc(3rem + 45px);
    margin-top: -45px;
}

#kozbeszerzes .section-description {
    background-image: url('/wp-content/uploads/2025/11/2149362547.jpg');
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    position: relative; /* fontos! */
    margin-bottom: -3rem;
    z-index: 1;
}

.white-color {
    color: #fff !important;
}

#kozbeszerzes .section-description::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(128,128,128,0.8); /* szürke overlay, 50% átlátszó */
    z-index: 2;
}

/* hogy a belső tartalom ne kerüljön az overlay mögé */
#kozbeszerzes .section-description > * {
    position: relative;
    z-index: 3;
}

#kozbeszerzes .z-index-front {
    position: relative;
    z-index: 5 !important;  /* biztosan az overlay fölött lesz */
}


@media (max-width: 991px) {
    #kozbeszerzes .section-description {
        background-size: cover;
    }
}

#megoldasaink .section-description {
    background-color: #f3f2ee;
    background-size: cover;
    display: flex;
}

.section-header{
    margin-top: -45px;
}
