#site-header,
#site-footer {
    display: none !important;
}

.uotomasyon-site-logo img,
.uotomasyon-site-logo svg {
    width: 150px !important;
    height: auto !important;
    max-width: 100%;
    display: block;
}

#uotomasyon-custom-header {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    transition: all 0.3s ease;
}

#uotomasyon-custom-header.is-stuck .e-con-inner {
    background: #F5F4F4;
    border-radius: 0 35px 0 35px;
    padding-bottom: 0px;
}

#uotomasyon-custom-header.is-stuck #ustekilit>.e-con-inner,
#uotomasyon-custom-header.is-stuck #ustekilit>.elementor-container {
    background-color: #fff !important;
    transition: all 0.3s ease;
}

#uotomasyon-custom-footer {
    background: transparent;
}

.uotomasyon-menu-container {
    display: flex;
    align-items: center;
}

.uotomasyon-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.uotomasyon-menu li a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
}

/* Alt menüleri gizle ve düzenle */
.uotomasyon-menu li {
    position: relative;
    list-style: none !important;
}

.uotomasyon-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    list-style: none !important;
    padding: 10px 0;
    margin: 0;
    z-index: 99999;
}

/* Hover anında alt menüyü göster */
.uotomasyon-menu li:hover > .sub-menu {
    display: block;
}

.uotomasyon-menu .sub-menu li a {
    display: block;
    padding: 8px 20px;
    color: #333;
    font-size: 14px;
}

/* Hover ve Aktif Link Animasyonlu Alt Çizgi */
.uotomasyon-menu > li > a {
    position: relative;
    padding-bottom: 5px; /* Çizgi ile yazı arasına 5px boşluk */
    transition: color 0.3s;
}

.uotomasyon-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--e-global-color-primary, #0340a4);
    transition: width 0.3s ease;
}

.uotomasyon-menu > li:hover > a,
.uotomasyon-menu > li.current-menu-item > a,
.uotomasyon-menu > li.current-menu-ancestor > a {
    color: #0340a4 !important;
}

.uotomasyon-menu > li:hover > a::after,
.uotomasyon-menu > li.current-menu-item > a::after,
.uotomasyon-menu > li.current-menu-ancestor > a::after {
    width: 100%;
}

.uotomasyon-menu .sub-menu li:hover > a {
    color: #0340a4 !important;
    background-color: rgba(3, 64, 164, 0.05);
}

.uotomasyon-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.uotomasyon-hamburger span {
    width: 100%;
    height: 2px;
    background-color: #000;
    transition: all 0.3s;
}

#uotomasyon-custom-header button:focus,
#uotomasyon-custom-header button:hover {
    background-color: #fff !important;
}

@media (max-width: 1024px) {
    .uotomasyon-hamburger {
        display: flex;
    }

    .uotomasyon-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #fff;
        padding: 80px 40px;
        transition: 0.3s cubic-bezier(0.7, 0, 0.3, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 10000;
    }

    .uotomasyon-menu {
        flex-direction: column;
        gap: 15px;
    }

    .is-active .uotomasyon-menu-wrapper {
        right: 0;
    }

    .is-active .uotomasyon-hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .is-active .uotomasyon-hamburger span:nth-child(2) {
        opacity: 0;
    }

    .is-active .uotomasyon-hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}