

#globe {
    width: 100%;
    height: 70vh;
    background: url(../images/img/globe/globeBg.jpg) no-repeat;
    background-size: 120% 120%;
    background-position: center center;
    background-repeat: no-repeat;
    transition: background-position 0.1s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.globeDesc{position:absolute;top:30%;left:150px;text-align:left}

.globeDesc h1{font-family: Helvetica, sans-serif;font-size:52px;display:block;margin-bottom:40px;}
.globeDesc small{font-family: Helvetica, sans-serif;font-size:20px;color:#555555;display:block;margin-bottom:40px;}
.globeDesc p{font-family: Helvetica, sans-serif;font-weight:bold;color:#555555;margin-bottom:20px;}
.globeDesc p.upMapInfo span{width: 15px;height: 15px;background-color: #2690C7;display: inline-block;margin-right: 10px;}
.globeDesc p.upMapInfo.darkBlue span {background-color: #0a4657;}

/* ==================================================
   COUNTRY MODAL
================================================== */
.countryModal {
    position: fixed;
    width: 330px;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    color: #000;
    z-index: 100;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.96);
    transform-origin: center bottom;
    transition: opacity .3s ease, visibility .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, .45);
    font-family: Helvetica, sans-serif;
}

.countryModal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Modal Başlık ve Bayrak Düzeni (Solda Logo, Sağda İsim) */
.countryHeader {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.countryFlag {
    width: 44px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.countryTitleArea {
    display: flex;
    flex-direction: column;
}

.countryModal small {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.countryModal h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.countryModal p {
    margin: 0 0 16px 0;
    color: #000;
    font-size: 13px;
    font-family: Helvetica, sans-serif;
    line-height: 1.6;
}

/* Alt Detay Linki */
#countryLink {
    display: inline-block;
    margin-top: 16px;
    color: #6771dc;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    border-bottom: 1px dashed rgba(103, 113, 220, 0.6);
    padding-bottom: 4px;
    transition: color .2s ease, border-color .2s ease;
}

#countryLink:hover {
    color: #8c96ff;
    border-bottom-color: #8c96ff;
}

/* Meta Bilgileri */
.countryMeta {
    display: flex;
    gap: 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.metaItem span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .35);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.metaItem strong {
    font-size: 12px;
    font-weight: 400;
}

/* ==================================================
   MODAL LINK
================================================== */

#countryLink {
    display: none;
    margin-top: 0px;
    color: #000;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    padding-bottom: 5px;
    transition: opacity .2s ease, border-color .2s ease;
    padding-left:60px;
}

#countryLink:hover {
    opacity: .7;
    border-color: #fff;
}

/* ==================================================
   META
================================================== */

.countryMeta {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.metaItem span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .35);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.metaItem strong {
    font-size: 12px;
    font-weight: 400;
}

/* ==================================================
   CONNECTION LINE
================================================== */

.countryConnection {
    position: fixed;
    height: 1px;
    background: linear-gradient(90deg, rgba(103, 113, 220, 0), rgba(103, 113, 220, .9), rgba(103, 113, 220, 0));
    transform-origin: left center;
    opacity: 0;
    pointer-events: none;
    z-index: 90;
    box-shadow: 0 0 8px rgba(103, 113, 220, .7);
    transition: opacity .25s ease;
}

.countryConnection.active {
    opacity: 1;
}

/* ==================================================
   HINT
================================================== */

.globeHint {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .3);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 10;
}


/* ==================================================
   ZOOM CONTROLS
================================================== */

.zoomControls {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.zoomControls button {
    width: 40px;
    height: 40px;
    background: rgba(13, 16, 20, .9);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, transform .1s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .4);
    user-select: none;
}

.zoomControls button:hover {
    background: rgba(103, 113, 220, .3);
    border-color: #6771dc;
}

.zoomControls button:active {
    transform: scale(0.92);
}


/* Gizlenmek istenen modal elemanları */
#countryRegion,
#countryDescription,
.countryMeta {
    display: none !important;
}


/* ==================================================
   DETAIL POPUP MODAL
================================================== */

.detailModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .detailModalOverlay.active {
        opacity: 1;
        visibility: visible;
    }

.detailModal {
    position: relative;
    width: 70%;
    
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px;
    color: #000;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.detailModalOverlay.active .detailModal {
    transform: scale(1);
}

.detailModalClose {
    position: absolute;
    top: 18px;
    right: 20px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .detailModalClose:hover {
        color: #fff;
    }

.detailModalHeader {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

    .detailModalHeader img {
        width: 52px;
        height: 36px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .detailModalHeader h2 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
        font-family: Helvetica, sans-serif;
    }

.detailModalBody {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-height: 60vh;
    overflow-y: auto;
}

    .detailModalBody h4 {
        margin-top: 0;
        color: #6771dc;
    }

    .detailModalBody ul {
        padding-left: 20px;
    }


.countryItem {
    padding: 0px 33px 50px 33px;
    width: 90%;
    margin:0 auto;
}

.countryItem p{    font-family: Helvetica, sans-serif;
    font-size: 20px;
    line-height: 35px;
    color: #3B3B3B;
    margin-bottom: 30px;}

.countryItem h3 {
        font-family: Helvetica, sans-serif;
        margin-bottom: 40px;
        font-size: 50px;
        font-weight: bold;
    }

.countryItem .table {
        display: flex;
    }

.countryItem .table li {
            width: 25%;
            text-align: center;
            padding: 40px 0px;
        }

.countryItem .table li img {
                margin-bottom: 30px;
            }

.countryItem .table li span {
                display: block;
            }

.countryItem .table li span:nth-child(2) {
                    color: #2B2B2B;
                    font-family: Helvetica, sans-serif;
                    margin-bottom: 10px;
                }

.countryItem .table li span:nth-child(3) {
                    color: #2B2B2B;
                    font-family: Helvetica, sans-serif;
                    font-weight: bold;
                }

.countryItem .table li:nth-child(1) {
                background-color: #FBFBFB;
            }

.countryItem .table li:nth-child(2) {
                background-color: #F3F3F3;
            }

.countryItem .table li:nth-child(3) {
                background-color: #EBEBEB;
            }

.countryItem .table li:nth-child(4) {
                background-color: #DCDCDC;
            }

.countryItem .table.tableTwo li {
            width: 50%;
        }

.countryItem .table.tableTwo li:nth-child(1) {
                background-color: #FBFBFB;
            }

.countryItem .table.tableTwo li:nth-child(2) {
                background-color: #EBEBEB;
            }

.blueTable {
    background-color: #2744A2;
    display: flex;
    width:90%;
    margin:0 auto;
}

.blueTable .item {
        width: 50%;
        padding: 100px;
        border-right: 1px solid white;
    }

.blueTable .item:last-child {
            border-right: none;
        }

.blueTable .item p {
            font-family: Helvetica, sans-serif;
            color: white;
            margin-bottom: 10px;
            line-height: 25px;
        }

.blueTable .item p:nth-child(1) {
                font-family: Helvetica, sans-serif;
                margin-bottom: 40px;
                font-size: 30px;
                font-weight: 600;
            }

.blueTable .item p:nth-child(2) {
                margin-bottom: 44px;
            }

.blueTable .item p b {
                font-weight: bold;
            }

.blueTable .item p a {
                color: white;
            }

.blueTable.one {
        display: block;
    }

.blueTable.one .item {
            width: 100%;
            border-right: none;
            text-align: center;
        }

.blueTable.one .item p {
                font-family: Helvetica, sans-serif;
                color: white;
                margin-bottom: 10px;
                line-height: 25px;
            }

.blueTable.one .item p:nth-child(1) {
                    font-family: Helvetica, sans-serif;
                    margin-bottom: 40px;
                }

.blueTable.one .item p:nth-child(2) {
                    margin-bottom: 10px;
                }

.toik {
    font-family: Helvetica, sans-serif;
    color: #2744A2;
    background: url(../images/icons/group-2213.png) no-repeat right 180px center;
    padding: 20px 90px 20px 0px;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    text-align: center;
    margin-top: 50px;
    font-size: 30px;
}

@media screen and (max-width: 1600px) {

    .globeDesc{left:100px;}
    .globeDesc h1{font-size:35px;}

}

/* ==================================================
   MOBILE
================================================== */

    @media (max-width: 768px) {

        #globe > div{width:70% !important;height:70% !important;}
        .globeDesc{top:70px;left:4%;}
        .globeDesc h1{font-size:20px;margin-bottom:15px;}
        .globeDesc h1 br{display:none}
        .globeDesc small{font-size:15px;margin-bottom:15px;}
        .globeDesc p{font-size:14px;margin-bottom:15px;}

        #countryLink{padding-left:10px;}

        .countryModal {
            width: 300px;
            padding: 19px;
            left: 50% !important;
            transform: translateX(-50%) !important;
        }

            .countryModal h3 {
                font-size: 21px;
            }

            .countryModal p {
                font-size: 12px;
            }

        .countryMeta {
            gap: 20px;
        }

        .detailModal{width:95%;}

        .countryItem{padding: 0;width: 100%;}
        .countryItem p{font-size: 15px;}

        .blueTable{width: 100%;flex-wrap: wrap;}
        .blueTable .item{width: 100%;padding: 15px;border-bottom:1px solid #fff;}
        .blueTable .item p{margin-bottom: 20px !important;}
        .blueTable .item p:nth-child(1){font-size: 16px;}

        .toik{font-size: 17px; background: none;padding: 0;text-align: center;font-weight: bold;margin-top: 30px;margin-bottom: 30px;}
    }