/* =============================================================================
   FEYAS NEW — Bileşen Stilleri
   Meka-Luts alt menü/mega-menü çalışma prensibi feyasnew'e uyarlanmıştır.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   HEADER / TEK MENÜ YAPISI (Meka-Luts ana menü mantığı)
   -------------------------------------------------------------------------- */
#ana-menu-sticky > .container {
    max-width: none;
    width: 100%;
    padding-left: var(--feyas-edge);
    padding-right: var(--feyas-edge);
    overflow-x: clip;
}
#ana-menu-sticky > .container > .anamenuyapi {
    padding-left: 0;
    padding-right: 0;
}
/* Header satırının Bootstrap gutter taşmasını ve sütun padding'ini sıfırla;
   böylece TR/EN sağ sütununun sağında ekstra boşluk kalmaz. */
#ana-menu-sticky .anamenuyapi > .row {
    --bs-gutter-x: 0;
    margin-left: 0;
    margin-right: 0;
}
#ana-menu-sticky .anamenuyapi > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}
#ana-menu-sticky,
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1052;
    background: var(--feyas-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header.is-stuck {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.anamenuyapi {
    background-color: var(--feyas-black);
    border-radius: 0;
    min-height: var(--feyas-header-h);
    padding: 20px 0;
    display: flex;
    align-items: center;
}
@media (min-width: 1200px) {
    .anamenuyapi {
        padding: 20px 25.008px;
    }
}
.anamenuyapi > .row {
    width: 100%;
}
.padreset.navbar {
    padding-top: 0;
    padding-bottom: 0;
}
.site-logo {
    width: 160px;
    height: 45px;
    max-width: 160px;
    max-height: 45px;
    object-fit: contain;
}

/* Tek menü linkleri */
.bigmenu.nav-link,
.site-header .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15.2px;
    font-weight: var(--feyas-fw-semibold);
    letter-spacing: 0.3px;
    padding-left: 15.008px !important;
    padding-right: 15.008px !important;
    position: relative;
    text-transform: uppercase;
}
.bigmenu.nav-link:hover,
.bigmenu.nav-link:focus-visible,
.nav-item.show > .bigmenu.nav-link {
    color: var(--feyas-primary);
}
.bigmenu.nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.navbar-nav .nav-item:first-child .bigmenu.nav-link::before {
    border-left: none !important;
}
.site-header .dropdown-toggle::after {
    display: inline-block;
    margin-left: 4.8px;
    vertical-align: 0.08em;
    border: 0;
    font-family: "bootstrap-icons";
    font-weight: 400;
    content: "\f282";
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease, color 0.25s ease;
}
.site-header .nav-item.dropdown:hover .dropdown-toggle::after,
.site-header .nav-item.show .dropdown-toggle::after {
    color: var(--feyas-primary);
    transform: rotate(180deg);
}
.site-header .dropdown-toggle:focus:not(:focus-visible) {
    color: rgba(255, 255, 255, 0.92);
    box-shadow: none;
}
.site-header .nav-item.show > .anamenudropdown:focus:not(:focus-visible),
.site-header .anamenudropdown.show:focus:not(:focus-visible) {
    color: var(--feyas-primary);
}
.mega-triangle-indicator {
    display: none;
}
.site-header .anamenudropdown,
.site-header .anamenudropdown:hover,
.site-header .anamenudropdown:focus,
.site-header .anamenudropdown:focus-visible,
.site-header .anamenudropdown:active,
.site-header .nav-item.show > .anamenudropdown {
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: none !important;
}
.font-size-12 { font-size: 12px; }
.font-size-28 { font-size: 28px; }

/* Dil değiştirici */
.lang-switch {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    overflow: hidden;
}
.lang-switch a {
    padding: 4.48px 11.52px;
    font-size: 13.6px;
    font-weight: var(--feyas-fw-semibold);
    color: rgba(255, 255, 255, 0.75);
    background: transparent;
}
.lang-switch a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.lang-switch .lang-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* -----------------------------------------------------------------------------
   OFFCANVAS — aynı menü mobilde sola kayan menü olur
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .offcanvas-collapse--left {
        --mobile-menu-bg: #101010;
        --mobile-menu-card-bg: #181818;
        --mobile-menu-card-border: rgba(255, 255, 255, .12);
        --mobile-menu-text: rgba(255, 255, 255, .88);
        --mobile-menu-muted: rgba(255, 255, 255, .56);
        --mobile-menu-panel-bg: #111111;
        --mobile-menu-panel-border: rgba(255, 255, 255, .12);
        --mobile-menu-item-border: rgba(255, 255, 255, .08);
        --mobile-menu-icon-border: rgba(255, 255, 255, .15);
        --mobile-menu-shadow: 0 10px 22px rgba(0, 0, 0, .18);
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
        padding: 20px 12px 16px;
        overflow-y: auto;
        visibility: hidden;
        background: var(--mobile-menu-bg);
        z-index: 1049 !important;
        left: auto !important;
        right: 100% !important;
        transform: translateX(0) !important;
        transition: transform 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }
    .offcanvas-collapse--left.open {
        visibility: visible;
        transform: translateX(100%) !important;
    }
    .offcanvas-backdrop {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 1040 !important;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .offcanvas-backdrop.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .offcanvas-collapse--left > .pb-5 {
        padding-bottom: 34px !important;
    }
    .offcanvas-collapse--left > .pb-5 .row {
        align-items: flex-start !important;
    }
    .offcanvas-collapse--left > .pb-5 img {
        max-width: 152px;
        height: auto;
    }
    .offcanvas-collapse--left #closeNavLeft {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        background: #151515 !important;
        color: #ffffff !important;
        text-decoration: none;
    }
    .lutstoptextmenu {
        color: var(--mobile-menu-muted);
        font-size: 12px;
        margin-top: 5.6px;
    }
    .offcanvas-collapse--left .bigmenu.navbar-nav {
        display: grid;
        gap: 18px;
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }
    .offcanvas-collapse--left .bigmenu.navbar-nav > .nav-item {
        width: 100%;
    }
    .offcanvas-collapse--left .bigmenu.nav-link,
    .offcanvas-collapse--left .site-header .nav-link,
    .offcanvas-collapse--left .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 76px;
        padding: 22px 18px !important;
        border: 1px solid var(--mobile-menu-card-border) !important;
        background: var(--mobile-menu-card-bg) !important;
        color: var(--mobile-menu-text) !important;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: .01em;
        line-height: 1.35;
        text-transform: none;
        box-shadow: var(--mobile-menu-shadow);
    }
    .offcanvas-collapse--left .bigmenu.nav-link:hover,
    .offcanvas-collapse--left .bigmenu.nav-link:focus-visible {
        background: var(--mobile-menu-card-bg) !important;
        color: var(--mobile-menu-text) !important;
    }
    .offcanvas-collapse--left .nav-item.show > .bigmenu.nav-link,
    .offcanvas-collapse--left .bigmenu.nav-link.show {
        background: var(--mobile-menu-card-bg) !important;
        color: var(--feyas-primary) !important;
    }
    .bigmenu.nav-link::before,
    .mega-triangle-indicator {
        display: none !important;
    }
    .offcanvas-collapse--left .dropdown-toggle::after {
        color: var(--mobile-menu-text) !important;
        float: none;
        margin-top: 0;
        margin-left: 10px;
        font-size: 12px;
        transition: transform .2s ease, color .2s ease;
    }
    .offcanvas-collapse--left .dropdown-toggle.show::after,
    .offcanvas-collapse--left .nav-item.show > .dropdown-toggle::after {
        color: var(--feyas-primary) !important;
        transform: rotate(180deg);
    }
    .offcanvas-collapse--left .navbar-nav .dropdown-menu {
        position: static !important;
        width: 100% !important;
        border: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        transform: none !important;
        opacity: 1;
        height: 0;
        overflow: hidden;
        transition: height .34s ease, opacity .24s ease;
    }
    .offcanvas-collapse--left .navbar-nav .dropdown-menu.show {
        overflow: hidden;
    }
    .offcanvas-collapse--left .dropdown-menu-yapi {
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .26s ease, transform .26s ease;
    }
    .offcanvas-collapse--left .navbar-nav .dropdown-menu.show .dropdown-menu-yapi {
        opacity: 1;
        transform: translateY(0);
    }
    .offcanvas-collapse--left .dropdown-menu-yapi {
        background: var(--mobile-menu-panel-bg) !important;
        border: 1px solid var(--mobile-menu-panel-border);
        border-radius: 0;
        padding: 14px !important;
        margin-top: 8px;
    }
    .offcanvas-collapse--left .megamenuheader,
    .offcanvas-collapse--left .megamenu-left-rail,
    .offcanvas-collapse--left .megamenu-bottom-bar {
        display: none !important;
    }
    .offcanvas-collapse--left .megamenu-content-with-rail,
    .offcanvas-collapse--left .megamenu-content-main {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 0;
    }
    .offcanvas-collapse--left .megamenu-hosting-grid,
    .offcanvas-collapse--left .dropdown-menu-yapi .row {
        display: block;
        margin: 0;
    }
    .offcanvas-collapse--left .megamenu-hosting-grid > [class*="col-"],
    .offcanvas-collapse--left .dropdown-menu-yapi .row > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    .offcanvas-collapse--left .megamenuitembg,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitembg {
        min-height: 56px;
        height: auto;
        margin: 0;
        padding: 12px 0;
        overflow: hidden;
        background: var(--mobile-menu-panel-bg) !important;
        border-bottom: 1px solid var(--mobile-menu-item-border);
        align-items: flex-start;
    }
    .offcanvas-collapse--left .megamenuitembg:last-child,
    .offcanvas-collapse--left .megamenu-hosting-grid > [class*="col-"]:last-child .megamenuitembg {
        border-bottom: 0;
    }
    .offcanvas-collapse--left .megamenuitembg > a {
        align-items: flex-start !important;
    }
    .offcanvas-collapse--left .megamenuitembg .min-w-0,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitembg .min-w-0 {
        width: 100%;
        padding-left: 48px;
    }
    .offcanvas-collapse--left .megamenuitemtitle,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitemtitle {
        height: auto;
        min-height: 18px;
        margin: 0 0 3px;
        color: var(--mobile-menu-text);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
    }
    .offcanvas-collapse--left .megamenuitemtext,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitemtext {
        margin-left: 0;
        color: var(--mobile-menu-text) !important;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    .offcanvas-collapse--left .megamenuitemdesc,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitemdesc {
        color: var(--mobile-menu-muted) !important;
    }
    .offcanvas-collapse--left .megamenuitembg:hover,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitembg:hover {
        background: var(--mobile-menu-panel-bg) !important;
    }
    .offcanvas-collapse--left .megamenuitembg:hover .megamenuitemtitle,
    .offcanvas-collapse--left .megamenuitembg:hover .megamenuitemtext,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitembg:hover .megamenuitemtitle,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitembg:hover .megamenuitemtext {
        color: var(--mobile-menu-text) !important;
    }
    .offcanvas-collapse--left .megamenuitemicon,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitemicon {
        position: absolute;
        top: 12px;
        left: 0;
        width: 32px;
        height: 32px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--mobile-menu-icon-border);
        background: var(--mobile-menu-card-bg) !important;
    }
    .offcanvas-collapse--left .megamenuitemicon i,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitemicon i {
        color: var(--mobile-menu-text);
        font-size: 17px;
        transform: none;
    }
    .offcanvas-collapse--left .megamenuitemiconbg,
    .offcanvas-collapse--left .megamenu-hosting-grid .megamenuitemiconbg {
        display: none;
    }
    html[data-theme="light"] .offcanvas-collapse--left {
        --mobile-menu-bg: #f1f1f1;
        --mobile-menu-card-bg: #ffffff;
        --mobile-menu-card-border: rgba(0, 0, 0, .11);
        --mobile-menu-text: #242424;
        --mobile-menu-muted: rgba(0, 0, 0, .54);
        --mobile-menu-panel-bg: #ffffff;
        --mobile-menu-panel-border: rgba(0, 0, 0, .11);
        --mobile-menu-item-border: rgba(0, 0, 0, .08);
        --mobile-menu-icon-border: #e0e2e6;
        --mobile-menu-shadow: 0 10px 22px rgba(0, 0, 0, .035);
    }
    html[data-theme="light"] .offcanvas-collapse--left #closeNavLeft {
        background: #151515 !important;
        color: #ffffff !important;
    }
    .menuresimbg,
    .menuresimbgempty {
        display: none;
    }
}

@media (min-width: 1200px) {
    .offcanvas-collapse--left {
        position: static;
        visibility: visible;
        background: none;
        transform: none !important;
        width: auto;
        padding: 0;
        overflow: visible;
    }
    .navbar-expand-xl .navbar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .nav-item.dropdown {
        position: static !important;
    }
    .nav-item.dropdown > .anamenudropdown {
        position: relative;
    }
    .nav-item.dropdown > .anamenudropdown .mega-triangle-indicator {
        position: absolute;
        left: 50%;
        bottom: -36px;
        z-index: 1054;
        display: block;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid #ffffff;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(6px);
        transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
        pointer-events: none;
    }
    .nav-item.dropdown:hover > .anamenudropdown .mega-triangle-indicator,
    .nav-item.dropdown.show > .anamenudropdown .mega-triangle-indicator {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    .nav-item.dropdown > .dropdown-menu {
        position: fixed !important;
        left: 50vw !important;
        right: auto !important;
        top: var(--feyas-header-h, 90px) !important;
        transform: translateX(-50%) translateY(10px) !important;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .nav-item.dropdown:hover > .dropdown-menu,
    .nav-item.dropdown.show > .dropdown-menu,
    .nav-item.dropdown > .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* Desktop mega menü backdrop'u: header ve mega menü bunun üstünde kalır. */
.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}
body:not(.mega-menu-open) .menu-backdrop.show {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
body.mega-menu-open .menu-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* -----------------------------------------------------------------------------
   MEGA MENÜ — Meka-Luts sınıf/çalışma prensibi
   -------------------------------------------------------------------------- */
.dropdown-menu[data-bs-popper] {
    top: unset !important;
    margin-top: unset !important;
}
.mekamegamenu.dropdown-menu {
    border: 0 solid #fff !important;
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease !important;
}
@media (min-width: 1200px) {
    .mekamegamenu.dropdown-menu {
        width: 775px !important;
        padding: 40px 15px 15px 15px !important;
        background-color: rgba(255, 255, 255, 0);
        border-radius: 0;
        z-index: 1053;
    }
    /* Mega menü: genel dropdown kuralları ve Popper inline pozisyonu menüyü
       linke göre sola çekiyordu. JS ile hero slider'in merkezi hesaplanıp
       tüm mega menüler aynı görsel aksa sabitlenir. */
    #ana-menu-sticky .nav-item.dropdown > .mekamegamenu.dropdown-menu,
    #ana-menu-sticky .nav-item.dropdown:hover > .mekamegamenu.dropdown-menu,
    #ana-menu-sticky .nav-item.dropdown.show > .mekamegamenu.dropdown-menu,
    #ana-menu-sticky .nav-item.dropdown > .mekamegamenu.dropdown-menu.show {
        position: fixed !important;
        inset: auto !important;
        top: calc(var(--feyas-megamenu-top, var(--feyas-header-h, 90px)) - 30px) !important;
        left: calc(var(--feyas-megamenu-center-x, 50vw) - 1px) !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        transform: translateX(-50%) !important;
    }
}
.dropdown-menu-yapi,
#navbarsExampleLeft > ul > li:nth-child(2) > div > div {
    --megamenu-panel-padding: 15px;
    background-color: #ffffff;
    padding: var(--megamenu-panel-padding) !important;
    border-radius: 0;
    box-shadow: none;
}
.megamenu-content-with-rail {
    display: flex;
    align-items: stretch;
    width: 100%;
    column-gap: 30px;
}
.megamenu-left-rail {
    flex: 0 0 210px;
    width: 210px;
    min-width: 210px;
    max-width: 210px;
    min-height: 210px;
    margin-bottom: 15px;
    background-color: #000;
    background-image: url("../images/feyas-menubg.jpg");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto 100%;
    position: relative;
    overflow: hidden;
}
.megamenu-left-rail::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top left, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
    pointer-events: none;
}
.megamenu-left-rail-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    height: 100px;
    width: auto;
    max-width: 150px;
    transform: translate(-50%, -50%);
    object-fit: contain;
    opacity: 0.2;
}
.megamenu-content-main {
    flex: 1 1 auto;
    min-width: 0;
}

.megamenu-bottom-bar {
    --megamenu-bottom-offset: var(--megamenu-panel-padding, 15px);
    background: #000;
    color: #fff;
    min-height: 50px;
    margin: 0 calc(var(--megamenu-bottom-offset) * -1) calc(var(--megamenu-bottom-offset) * -1);
    padding: 0 0 0 var(--megamenu-bottom-offset);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    font-size: 14.4px;
    font-weight: 500;
    letter-spacing: 0.1px;
}
.megamenu-bottom-bar span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}
.megamenu-bottom-bar span::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: currentColor;
}
.megamenu-bottom-amblem {
    display: block;
    width: auto;
    height: 45px;
    flex: 0 0 auto;
    object-fit: contain;
    object-position: right center;
    margin-left: auto;
    margin-right: 0;
}

.menuresimbg {
    background: linear-gradient(147deg, #ffffff 0%, #000000 100%);
    border-radius: 0;
    position: relative;
    height: 100%;
    margin-right: 15.008px;
    min-height: 100%;
}
.menuresimbgempty {
    background-color: var(--feyas-primary);
    border-radius: 0;
    position: relative;
    height: 100%;
    margin-right: 15.008px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}
.menuresimbgemptylogo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}
.lutstextmenu {
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
}
.menuresimyapisi {
    opacity: 0.5;
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
}
.menuresimbuton {
    position: absolute;
    bottom: 15.008px;
    right: 15.008px;
}
.menuresimbutonstyle {
    background-color: var(--feyas-primary);
    padding: 0 15.008px;
    height: 35.008px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
    color: #fff !important;
    font-size: 12px;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}
.menuresimbutonstyle:hover {
    opacity: 0.9;
    padding: 0 5px 0 15.008px;
}
.megamenuheader {
    padding: 0 0 15.008px 0;
    border-bottom: 1px dashed #d9d9d9;
    margin-bottom: 15.008px;
}
.megamenutitle {
    display: none;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.2px;
    color: #151515;
}
@media (min-width: 1200px) {
    .megamenutitle { display: block; }
}
.megamenudesc {
    margin-left: 0;
    font-size: 14px;
    font-weight: 300;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.megamenuitembg {
    background-color: #fff;
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 12px;
    transition: all 0.2s ease-in-out;
}
@media (min-width: 1200px) {
    .megamenuitembg { height: 110px; }
}
.megamenuitembg .min-w-0 { min-width: 0; }
.megamenuitembg:hover {
    background-color: #f9f9f9;
    border-radius: 0;
}
.megamenuitemtitle {
    font-size: 15.008px;
    font-weight: 500;
    color: #151515;
    display: flex;
    align-items: center;
    position: relative;
    height: 35px;
}
@media (min-width: 1200px) {
    .megamenuitemtitle { height: 40px; }
}
.megamenuitemicon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}
.megamenuitemicon i {
    font-size: 23.2px;
    color: #000;
    transform: scale(1);
    transition: transform 0.1s ease;
}
.megamenuitembg:hover .megamenuitemicon i {
    transform: scale(1.12);
}
.megamenuitemiconbg {
    background-color: #afafaf;
    border-radius: 0;
    height: 25.008px;
    width: 25.008px;
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 10px;
}
.megamenuitemtext {
    margin-left: 45px;
    line-height: 1.2;
    color: #151515;
}
.megamenuitemdesc {
    font-size: 13.008px;
    font-weight: 400;
    color: #959595;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Üçüncü mega menüdeki hosting listesi, referans görseldeki kompakt kart düzeni. */
@media (min-width: 1200px) {
    .mekamegamenu.dropdown-menu.megamenu-hosting-menu {
        width: min(1035px, calc(100vw - 28px)) !important;
    }
}
.megamenu-hosting-grid {
    row-gap: 10px;
}
.megamenu-hosting-grid > [class*="col-"] {
    min-width: 0;
}
.megamenu-hosting-grid .megamenuitembg {
    height: auto;
    min-height: 50px;
    margin-bottom: 15.008px;
    padding: 6px 14px 6px 8px;
    overflow: visible;
    background: transparent;
    align-items: flex-start;
}
.megamenu-hosting-grid .megamenuitembg:hover {
    background: #f9f9f9;
}
.megamenu-hosting-grid .megamenuitembg > a {
    align-items: flex-start !important;
    color: inherit;
}
.megamenu-hosting-grid .megamenuitembg .min-w-0 {
    width: 100%;
    padding-left: 48px;
    position: relative;
}
.megamenu-hosting-grid .megamenuitemtitle {
    height: auto;
    min-height: 18px;
    display: block;
    position: static;
    margin: 0 0 2px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #50525b;
}
.megamenu-hosting-grid .megamenuitemicon {
    width: 36px;
    height: 36px;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4e6eb;
    border-radius: 5px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.megamenu-hosting-grid .megamenuitemicon i {
    font-size: 18px;
    line-height: 1;
    color: #18191d;
    transition: color 0.18s ease, transform 0.18s ease;
}
.megamenu-hosting-grid .megamenuitemiconbg {
    display: none;
}
.megamenu-hosting-grid .megamenuitemtext {
    margin-left: 0;
    color: inherit;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
.megamenu-hosting-grid .megamenuitemdesc {
    max-width: 335px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.32;
    color: #70727a;
    letter-spacing: -0.02em;
    -webkit-line-clamp: 2;
}
.megamenu-hosting-grid .megamenuitembg:hover .megamenuitemtitle,
.megamenu-hosting-grid .megamenuitembg:hover .megamenuitemtext {
    color: #24252b;
}
.megamenu-hosting-grid .megamenuitembg:hover .megamenuitemicon {
    border-color: #000;
    background: #000;
    box-shadow: none;
    transform: translateY(-1px);
}
.megamenu-hosting-grid .megamenuitembg:hover .megamenuitemicon i {
    color: #fff;
    transform: scale(1.04);
}

@media (min-width: 1200px) {
    .megamenu-hosting-grid .megamenuitembg {
        height: auto;
    }
}
@media (max-width: 1199.98px) {
    .megamenu-hosting-grid {
        row-gap: 8px;
    }
    .megamenu-hosting-grid > .col-lg-6 {
        width: 100%;
        flex: 0 0 auto;
    }
    .megamenu-hosting-grid .megamenuitembg {
        min-height: 48px;
        padding: 7px 8px;
    }
    .megamenu-hosting-grid .megamenuitembg .min-w-0 {
        padding-left: 46px;
    }
    .megamenu-hosting-grid .megamenuitemicon {
        width: 34px;
        height: 34px;
    }
    .megamenu-hosting-grid .megamenuitemdesc {
        max-width: none;
    }
}

/* -----------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    --footer-outer-pad: clamp(12px, 2.2vw, 28px);
    position: relative;
    overflow: visible;
    background: #000;
    color: rgba(255, 255, 255, 0.76);
    margin-top: 200px;
    padding: 200px var(--footer-outer-pad) 0;
}
.site-footer a {
    color: rgba(255, 255, 255, 0.76);
}
.site-footer a:hover {
    color: var(--feyas-primary);
}
.footer-stage {
    position: relative;
    z-index: 2;
    width: 80%;
    min-height: 620px;
    margin: -400px auto 0;
    overflow: hidden;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.footer-stage-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgb(0 0 0 / 92%) 0%, rgb(0 0 0 / 78%) 36%, rgb(0 0 0 / 88%) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.34) 54%, rgba(0, 0, 0, 0.78) 100%);
}
.footer-watermark {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 2;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    font-size: clamp(64px, 10vw, 180px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    text-stroke: 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}
.footer-stage-container {
    position: relative;
    z-index: 3;
    min-height: 620px;
}
.footer-inner {
    width: 100%;
    min-height: 620px;
    padding: 58px 0 28px;
    display: flex;
    flex-direction: column;
}
.footer-heading {
    display: block;
    margin-bottom: clamp(42px, 6vw, 82px);
    text-align: center;
}
.footer-heading-line {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--feyas-primary-rgb), 0.88), transparent);
}
.footer-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}
.footer-heading p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.35fr);
    gap: clamp(38px, 6vw, 92px);
    align-items: start;
}
.footer-company-card {
    position: relative;
    padding-right: clamp(18px, 3vw, 42px);
}
.footer-company-card::after {
    content: "";
    position: absolute;
    top: 58px;
    right: 0;
    width: 42px;
    height: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-right: 1px solid rgba(255, 255, 255, 0.24);
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
}
.footer-logo img {
    width: 300px;
    height: auto;
}
.footer-logo span {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.footer-company-desc {
    max-width: 430px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    line-height: 1.75;
}
.footer-quick-links,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
    margin-bottom: 30px;
}
.footer-quick-links li,
.footer-links li {
    position: relative;
    padding-left: 16px;
}
.footer-quick-links li::before,
.footer-links li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 5px;
    height: 5px;
    background: #ffffff;
}
.footer-quick-links a,
.footer-links a {
    font-size: 14px;
    line-height: 1.45;
}
.footer-contact-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 24px;
}
.footer-contact-strip a,
.footer-address {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}
.footer-address {
    margin-bottom: 26px;
    align-items: flex-start;
}
.footer-contact-strip i,
.footer-address i {
    color: var(--feyas-primary);
    flex: 0 0 auto;
}
.footer-theme-switch {
    display: inline-flex;
    align-items: stretch;
    margin-top: 4px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    overflow: hidden;
}
.footer-theme-option {
    width: 42px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.20);
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font: inherit;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--feyas-transition), color var(--feyas-transition);
}
.footer-theme-option:last-child {
    border-right: 0;
}
.footer-theme-option:hover,
.footer-theme-option:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
}
.footer-theme-option.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}
.footer-menu-stack {
    display: grid;
    gap: 34px;
    padding-top: 86px;
}
.footer-menu-box {
    position: relative;
    padding: 28px 30px 30px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(2px);
}
.footer-menu-box h3 {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: -10px 0 18px;
    padding: 0 24px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: none;
}
.footer-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 24px;
}
.footer-bottom {
    width: auto;
    min-height: 90px;
    margin-left: calc(var(--footer-outer-pad) * -1);
    margin-right: calc(var(--footer-outer-pad) * -1);
    padding: 0 var(--feyas-edge);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 18px;
    background: #000;
    color: rgba(255, 255, 255, 0.54);
    font-size: 13px;
}
.footer-copyright {
    min-width: 0;
    max-width: 70%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.footer-copyright span {
    display: block;
}
.footer-credit {
    flex: 0 0 auto;
    max-width: 30%;
    color: #fff !important;
    font-family: 'Poppins', var(--feyas-font-sans);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
}
.footer-side,
.footer-scroll-up {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
}
.footer-side-left {
    left: var(--feyas-edge);
    gap: 20px;
}
.footer-side-link {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}
.footer-side-separator {
    width: 5px;
    height: 5px;
    background: var(--feyas-primary);
}
.footer-side-amblem {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.footer-scroll-up {
    right: var(--feyas-edge);
    gap: 16px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}
.footer-scroll-text {
    writing-mode: vertical-rl;
    font-size: 11.52px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: capitalize;
}
.footer-scroll-up i {
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    animation: feyas-footer-scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes feyas-footer-scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%      { transform: translateY(-6px); opacity: 1; }
}
@media (max-width: 1199.98px) {
    .footer-stage {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-menu-stack {
        padding-top: 0;
    }
}
@media (max-width: 991.98px) {
    .site-footer {
        padding-left: 0;
        padding-right: 0;
    }
    .footer-bottom {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: var(--feyas-edge);
        padding-right: var(--feyas-edge);
    }
    .footer-side,
    .footer-scroll-up,
    .footer-watermark {
        display: none;
    }
    .footer-stage-container,
    .footer-inner {
        min-height: 0;
    }
    .footer-inner {
        padding: 48px 0 24px;
    }
    .footer-heading {
        padding: 30px 0;
        text-align: left;
    }
    .footer-company-card {
        padding-right: 0;
    }
    .footer-company-card::after {
        display: none;
    }
    .footer-contact-strip {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575.98px) {
    .footer-stage {
        min-height: 0;
    }
    .footer-quick-links,
    .footer-links-inline {
        display: flex;
        flex-wrap: wrap;
        gap: 13px 22px;
    }
    .footer-menu-box {
        padding: 24px 20px;
    }
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
}

/* -----------------------------------------------------------------------------
   LIGHT THEME — dark tasarımın beyaz versiyonu
   -------------------------------------------------------------------------- */
html[data-theme="light"] body {
    background: #f7f7f5;
    color: #171717;
}
html[data-theme="light"] #ana-menu-sticky,
html[data-theme="light"] .site-header,
html[data-theme="light"] .anamenuyapi {
    background: #f1f1f1;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .site-header.is-stuck {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .bigmenu.nav-link,
html[data-theme="light"] .site-header .nav-link,
html[data-theme="light"] .site-header .dropdown-toggle:focus:not(:focus-visible) {
    color: rgba(0, 0, 0, 0.88);
}
html[data-theme="light"] .bigmenu.nav-link:hover,
html[data-theme="light"] .bigmenu.nav-link:focus-visible,
html[data-theme="light"] .nav-item.show > .bigmenu.nav-link {
    color: var(--feyas-primary);
}
html[data-theme="light"] .bigmenu.nav-link::before {
    border-left-color: rgba(0, 0, 0, 0.16);
}
html[data-theme="light"] .site-header .dropdown-toggle::after {
    color: rgba(0, 0, 0, 0.52);
}
html[data-theme="light"] .lang-switch {
    border-color: rgba(0, 0, 0, 0.24);
}
html[data-theme="light"] .lang-switch a {
    color: rgba(0, 0, 0, 0.72);
}
html[data-theme="light"] .lang-switch a:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.06);
}
html[data-theme="light"] .lang-switch .lang-active {
    background: #000;
    color: #fff;
}
html[data-theme="light"] .navbar-toggler i {
    color: #000 !important;
}
html[data-theme="light"] .menu-backdrop {
    background: rgba(255, 255, 255, 0.72);
}
html[data-theme="light"] #navbarsExampleLeft > ul > li:nth-child(2) > div > div {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}
html[data-theme="light"] .site-footer {
    background: #f1f1f1;
    color: rgba(0, 0, 0, 0.72);
}
html[data-theme="light"] .site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -200px;
    z-index: 0;
    height: 200px;
    background: #fff;
    pointer-events: none;
}
html[data-theme="light"] .site-footer a {
    color: rgba(0, 0, 0, 0.72);
}
html[data-theme="light"] .footer-stage {
    isolation: isolate;
    overflow: visible;
    background-color: #f1f1f1;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06), 0 -20px 80px rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .footer-stage::before {
    content: "";
    position: absolute;
    inset: -90px -80px -70px;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.05) 38%, transparent 72%);
    pointer-events: none;
}
html[data-theme="light"] .footer-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, #f1f1f1 0%, rgba(241, 241, 241, 0.92) 4%, rgba(241, 241, 241, 0) 14%, rgba(241, 241, 241, 0) 86%, rgba(241, 241, 241, 0.92) 96%, #f1f1f1 100%);
    pointer-events: none;
}
html[data-theme="light"] .footer-stage-overlay {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 42%, rgba(255, 255, 255, 0.94) 100%),
        linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.62) 54%, rgba(255, 255, 255, 0.88) 100%);
}
html[data-theme="light"] .footer-watermark {
    -webkit-text-stroke-color: rgba(0, 0, 0, 0.08);
    text-stroke-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .footer-heading p,
html[data-theme="light"] .footer-company-desc {
    color: rgba(0, 0, 0, 0.62);
}
html[data-theme="light"] .footer-company-card::after {
    border-color: rgba(0, 0, 0, 0.18);
}
html[data-theme="light"] .footer-logo span,
html[data-theme="light"] .footer-links a,
html[data-theme="light"] .footer-quick-links a {
    color: rgba(0, 0, 0, 0.78);
}
html[data-theme="light"] .footer-quick-links li::before,
html[data-theme="light"] .footer-links li::before {
    background: #000;
}
html[data-theme="light"] .footer-contact-strip a,
html[data-theme="light"] .footer-address {
    background: rgba(0, 0, 0, 0.055);
    color: rgba(0, 0, 0, 0.78);
}
html[data-theme="light"] .footer-theme-switch {
    border-color: rgba(0, 0, 0, 0.24);
}
html[data-theme="light"] .footer-theme-option {
    border-right-color: rgba(0, 0, 0, 0.14);
    color: rgba(0, 0, 0, 0.72);
}
html[data-theme="light"] .footer-theme-option:hover,
html[data-theme="light"] .footer-theme-option:focus-visible {
    background: rgba(0, 0, 0, 0.06);
    color: #000;
}
html[data-theme="light"] .footer-theme-option.is-active {
    background: #000;
    color: #fff;
}
html[data-theme="light"] .footer-menu-box {
    border-color: rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.62);
}
html[data-theme="light"] .footer-menu-box h3 {
    background: #000;
    color: #fff;
}
html[data-theme="light"] .footer-bottom {
    background: #f1f1f1;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .footer-copyright {
    color: rgba(0, 0, 0, 0.64);
}
html[data-theme="light"] .footer-credit {
    color: #000 !important;
}
html[data-theme="light"] .footer-side,
html[data-theme="light"] .footer-scroll-up,
html[data-theme="light"] .footer-side-link {
    color: rgba(0, 0, 0, 0.64);
}
html[data-theme="light"] .footer-scroll-up i {
    color: rgba(0, 0, 0, 0.68);
}
