﻿/* ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
   SIM WebEDI 2025 - MODERNIZED MASTER CSS
   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ */

/* 1. GENEL GÖVDE VE BİLGİ KARTLARI */
body {
    margin: 0;
    padding-top: 10px;
    background: #ffffff;
    font-family: "Segoe UI", Arial, sans-serif;
}

.info-card {
    max-width: 500px;
    margin: 10px auto;
    padding: 20px;
    background: #fbfbfb;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-align: center;
    line-height: 1.6;
    color: #333;
}

    .info-card .highlight {
        display: block;
        font-size: 16px;
        font-weight: 600;
        color: #ff0000;
        margin: 10px 0;
    }

    .info-card .info-footer {
        font-size: 14px;
        color: #555;
        margin-bottom: 15px;
    }

.info-btn {
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #990909;
    color: #fff;
    transition: all 0.3s ease;
}

    .info-btn:hover {
        background: #b50b1d;
        box-shadow: 0 5px 15px rgba(153,0,9,0.3);
    }

/* 2. SCRIPT İÇİN GEREKLİ TEMEL YAPI (BOZULMAMALI) */
#divCont {
    position: absolute;
    z-index: 1001;
    width: 165px;
    visibility: hidden;
    height: 100%;
}

.clTop {
    position: absolute;
    z-index: 1002;
    width: 160px;
    line-height: 35px;
    height: 35px;
    background-color: #fbfbfb;
    border-radius: 8px;
    margin-left: 2px;
    transition: background-color 0.4s, transform 0.2s;
}

.clSub {
    position: absolute;
    z-index: 1003;
    left: 0px;
    top: 35px;
    width: 165px;
    line-height: 15px;
    border-radius: 4px;
}

/* 3. MENÜ LİNKLERİ VE ETKİLEŞİM */
#divCont .clTop a {
    width: 160px;
    color: #000000;
    font-weight: bold;
    font-size: 12px;
    float: left;
    height: 35px;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 5px;
    cursor: pointer;
    border-radius: 8px;
    padding-left: 5px;
}

    #divCont .clTop a:hover {
        color: #fff;
        background-color: #393939;
        border-radius: 8px;
    }

#divCont .clTop .clSub a {
    width: 160px;
    padding-left: 1px;
    color: #3d3d3d;
    font-size: 12px;
    font-weight: normal;
    float: left;
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

    #divCont .clTop .clSub a:hover {
        background-color: #990909;
        color: #FFF;
        border-radius: 4px;
        padding-left: 8px;
    }

#divCont .clTop .clSub .kirmizi {
    color: #990909;
}

    #divCont .clTop .clSub .kirmizi:hover {
        color: #ffffff;
    }

@media (max-width: 50px) {
    .clTop {
        width: 38px;
        line-height: 36px;
        height: 36px;
        border-radius: 9px;
        margin-left: 0px;
    }

    .clSub {
        position: absolute;
        width: 38px;
        height: 18px;
        margin-left: 0px;
    }

    #divCont .clTop a, a:hover {
        padding-left: 5px;
        font-size: 0px;
        width: 38px;
        height: 36px;
        border: 1px solid #bdbdbd;
    }

        #divCont .clTop a:hover {
            border: 1px solid #393939;
        }

    #divCont .clTop .clSub a {
        padding-left: 8px;
        border-radius: 9px;
        font-size: 0px;
        width: 38px;
        border: none;
    }

        #divCont .clTop .clSub a:hover {
            padding-left: 8px;
            width: 38px;
        }
}

/* 4. ÜST BAR VE PANEL YAPISI */
.topbar {
    width: 100%;
    height: 58px;
    background: #990909;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2001;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hamburger {
    width: 18px;
    height: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .hamburger span {
        height: 2px;
        background: #fff;
        border-radius: 4px;
        transition: 0.3s;
    }

    .hamburger:hover span {
        background: #000000; /* Kırmızı üzerinde Siyah çok keskin durur */
        box-shadow: 0 0 5px rgba(0,0,0,0.2); /* Siyaha geçerken hafif bir derinlik */
    }

    /* Opsiyonel: Üzerine gelince ikonun hafifçe büyümesi (Premium hissi) */
    .hamburger:hover {
        transform: scale(1.1);
    }

.menu-panel {
    width: 200px;
    background: #fbfbfb;
    position: fixed;
    top: 60px;
    left: 1px;
    bottom: 0;
    overflow-y: auto;
    transform: translateX(-201px);
    transition: transform .30s ease;
    z-index: 2002;
    border-right: 1px solid rgba(0,0,0,0.05);
}

    .menu-panel.open {
        transform: translateX(0);
    }

/* 5. SAAT VE DİL SEÇİCİ */
.clock {
    color: #990909;
    font-weight: bold;
    font-size: 10px;
    letter-spacing: 1px;
    left: 2px;
    position: absolute;
    top: 55px;
}

    .clock.open {
        font-size: 14px;
        letter-spacing: 3px;
        left: 44px;
        top: 52px;
    }

.lang-select {
    position: relative;
    width: 50px;
    margin: auto;
    top: 35px;
}

.lang-options {
    position: absolute;
    top: 35px;
    left: -55px;
    width: 160px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    display: none;
    padding: 5px 0;
    z-index: 2003;
}

.lang-select.open .lang-options {
    display: block;
}

/* 6. OVERLAY VE POPUP */
#popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3000;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .5;
}

/* Ana Menü ve Alt Menülerin Hover Durumunda İkonu Beyaza Çevir */
#divCont .clTop a:hover img,
#divCont .clTop .clSub a:hover img {
    filter: brightness(0) invert(1); /* İkonu tamamen beyaza dönüştürür */
    transition: filter 0.3s ease; /* Dönüşümü yumuşatır */
}

/* Eğer bir menü seçiliyse (Active) ikonun beyaz kalmasını sağla */
/* (ASP.NET tarafında seçili öğeye 'active' class'ı verdiğini varsayıyorum) */
.clTop.active img,
.clSub a.active img {
    filter: brightness(0) invert(1);
}