/* Otomatik çıkan ok simgesini gizle */
.nav-link.dropdown-toggle::after {
    display: none !important;
}

#mainmenu li:hover>.dropdown-menu {
    display: block;
}

a.whatsapp-button-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 70px;
    right: 10px;
    background-color: #25D366;
    /* WhatsApp yeşili */
    color: #fff;
    border-radius: 50%;
    z-index: 9999999;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    animation: shake 3s infinite;
}

a.whatsapp-button-float:focus {
    outline: none;
    text-decoration: none;
}

.whatsapp-button-float span {
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #fff;
    font-weight: 600;
    margin-left: 10px;
    white-space: nowrap;
}

.whatsapp-button-float:hover {
    width: auto;
    padding-right: 20px;
    border-radius: 30px;
}

.whatsapp-button-float:hover span {
    max-width: 200px;
    visibility: visible;
    opacity: 1;
}

.whatsapp-button-float svg {
    width: 32px;
    height: 32px;
    margin-top: 6px;
}

/* Titreşim animasyonu */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-15deg);
    }

    60% {
        transform: rotate(10deg);
    }

    80% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

a.dg2-phone-button-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 140px;
    right: 10px;
    background-color: #e53935;
    /* Kırmızı */
    color: #fff;
    border-radius: 50%;
    z-index: 9999999;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    animation: shake 3s infinite;
}

a.dg2-phone-button-float:focus {
    outline: none;
    text-decoration: none;
}

.dg2-phone-button-float span {
    max-width: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #fff;
    font-weight: 600;
    margin-left: 10px;
    white-space: nowrap;
}

.dg2-phone-button-float:hover {
    width: auto;
    padding-right: 20px;
    border-radius: 30px;
}

.dg2-phone-button-float:hover span {
    max-width: 200px;
    visibility: visible;
    opacity: 1;
}

.dg2-phone-button-float svg {
    width: 32px;
    height: 32px;
    margin-top: 6px;
}

/* Titreşim animasyonu */
@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-15deg);
    }

    60% {
        transform: rotate(10deg);
    }

    80% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Mega Menü Genel - Masaüstü için */
@media(min-width: 769px) {
    .mega-menu {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px 15px !important;

        position: fixed !important;
        /* Sayfa geneline göre */
        top: 90px !important;
        /* Navbar’ın biraz altı */
        left: 50% !important;
        /* Sayfanın ortası */
        transform: translateX(-50%) !important;
        /* Tam ortala */

        width: 1100px !important;
        max-height: 70vh !important;
        overflow-y: auto !important;

        background: #fff !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
        padding: 10px 15px !important;
        border-radius: 8px !important;
        z-index: 9999 !important;
        transition: all 0.3s ease-in-out !important;
    }

    .mega-menu .mega-column {
        display: flex;
        flex-direction: column;
    }

    .mega-menu .mega-column h4 {
        color: #0d2a56;
        margin: 0 0 4px 0;
        font-size: 18px;
        padding-bottom: 4px;
        border-bottom: 2px solid #b0b8c9;
        font-weight: 600;
    }

    .mega-menu .mega-column a {
        display: block;
        padding: 10px 12px;
        margin: 0;
        border-radius: 4px;
        color: #444;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.25s ease;
    }

    .mega-menu .mega-column a:hover {
        color: #fff;
        background: linear-gradient(135deg, #4A7CD2, #315a9c);
        box-shadow: 0 2px 6px rgba(74, 124, 210, 0.3);
        transform: translateX(3px);
    }

    .dropdown-toggle-icon {
        position: absolute;
        /* kapsayıcıya göre konumlandırma */
        right: 0;
        /* sağ kenara yapışsın */
        transform: translateY(-50%);
        /* tam ortalamak için */
        cursor: pointer;
        /* tıklanabilir */
        font-size: 0;
        /* görünmez */
        color: transparent;
        /* görünmez */
    }

    /* Hover animasyonu */
    .mega-parent:hover .mega-menu {
        display: grid;
        animation: fadeInDown 0.25s ease-in-out;
    }
}


/* Mobil Menü */
@media(max-width: 768px) {
    .mega-menu {
        display: none !important;
        position: static;
        width: 100%;
        height: auto !important;
        flex-direction: column !important;
        box-shadow: none !important;
        padding: 0px 0px;
        border-radius: 0;
        background: transparent;
        /* SCROLL EKLEME */
        max-height: 70vh;
        /* ekranın %70’i kadar */
        overflow-y: auto;
        /* dikey kaydırma */
    }

    .mega-menu {
        /* Scrollbar gizle */
        -ms-overflow-style: none;
        /* IE ve Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .mega-menu::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .mega-menu .mega-column h4 {
        color: #fff !important;
        /* başlık beyaz */
        border-bottom: 1px solid rgba(255, 255, 255, .35) !important;
        /* çizgi de açılır */
    }

    .mega-menu.open {
        display: flex !important;
    }

    .mega-menu h4 {
        display: block !important;
        margin: 0px 0 8px;
        font-size: 15px !important;
        font-weight: bold;
        color: #0d2a56;
        border-bottom: 1px solid #ccc;
        padding-bottom: 4px;
    }

    .mega-menu .mega-column a {
        display: block !important;
        padding: 0 !important;
        /* burada !important ekledik */
        margin: 0 !important;
        /* varsa ekstra marginleri de sıfırla */
    }

    .mega-column {
        width: 100%;
        padding: 0px 0;
        background: transparent;
        margin-bottom: 0px;
        border-radius: 6px;
    }

    .dropdown-toggle-icon {
        cursor: pointer;
        margin-left: 6px;
        font-size: 14px;
        color: transparent;
        /* görünmesin */
        top: 0px;
        /* aşağı kaydırmak için burayı değiştir */
    }

}

/* Animasyon */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* arkada başka menu açılıyordu onu kapatık */
ul.dropdown-menu {
    all: unset;
    display: block;
}

.social-icons {
    display: flex;
    gap: 12px;


}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 14px;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    background-color: transparent;
    /* Hover öncesi arka plan temiz */
}

.social-icon i {
    background: transparent !important;
    /* İkonun içi kesin şeffaf */
    border-radius: 50%;
    display: inline-block;
}

/* Hover, focus, active durumlarında beyaz arka plan/outline/box-shadow kaldırıldı */
.social-icon:hover,
.social-icon:focus,
.social-icon:active {
    background-color: unset !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
    filter: brightness(1.1);
    /* Hafif parlama efekti */
    transform: scale(1.1);
}

/* İkonların renkleri ve arka planları */

/* Facebook için mavi gradient */
.social-icon.facebook {
    background: linear-gradient(45deg, #1877f2, #3b5998);
}

.social-icon.facebook:hover,
.social-icon.facebook:focus,
.social-icon.facebook:active {
    background: linear-gradient(45deg, #1a83ff, #4b6cb7);
}

/* Instagram zaten radial gradient */
.social-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}



.social-icon.whatsapp:hover,
.social-icon.whatsapp:focus,
.social-icon.whatsapp:active {
    background: linear-gradient(45deg, #32e77c, #17b492);
}

.social-icon.youtube {
    background-color: #cc0000;
    /* Açık kırmızı */
    color: white;
}

.social-icon.youtube:hover,
.social-icon.youtube:focus,
.social-icon.youtube:active {
    background-color: #cc0000 !important;
    /* Koyu kırmızı */
    filter: none !important;
    transform: scale(1.1);
}
header.smaller.scroll-light .social-icons i {
    color: #ffffff;
}
.social-icons i:hover {
    background: #fff;
    border-color: #eceff3;
    color: #d6d6d6;
}
 body {
    height: auto !important;
    overflow-x: hidden; /* taşma varsa gizler */
}