﻿

@media (max-width: 900px) {
    .module-circle .icon-badge i {
        font-size: 0.8rem !important;
    }
}

.header-container {
    position: relative;
    width: 100vw;
    height: 670px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
    background-size: cover;
    padding: 0 169px;
    gap: 7vw;
    box-sizing: border-box;
    overflow: hidden;
}

keyframes gradientShift {
    0%

{
    background-position: 0% 50%;
}

50% {
    background-position: 100% 50%;
}

100% {
    background-position: 0% 50%;
}

}

.modules-section {
    position: relative;
    width: 400px;
    min-width: 320px;
    max-width: 500px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

.central-circle {
    width: 170px;
    height: 170px;
    background: #2e3192;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    font-size: 1.1rem;
}

.central-logo {
    width: 60%;
    height: 60%;
    object-fit: contain;
    animation: logoPulse 2s infinite ease-in-out;
}

keyframes logoPulse {
    0%

{
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(110, 142, 251, 0.5));
}

50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 40px rgba(110, 142, 251, 0.8));
}

100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(110, 142, 251, 0.5));
}

}

.module-circle {
    position: absolute;
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease-out, background 0.5s ease-out;
    padding: 0;
    text-align: center;
    opacity: 1;
    transform-origin: center;
    will-change: transform, background, left, top;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

    .module-circle .icon-badge {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        color: #2e3192;
        transition: color 0.3s ease-out;
    }

    .module-circle .module-name {
        font-weight: bold;
        color: #2e3192;
        line-height: 1.2;
        max-width: 90%;
        transition: color 0.3s ease-out;
    }

.module-circle {
    font-size: 1.5rem;
}

.module-name {
    font-size: 1.1rem;
}

.module-circle.selected {
    width: 170px;
    height: 170px;
    background: #2e3192;
    box-shadow: 0 8px 20px rgba(46, 49, 146, 0.2);
    transition: transform 0.5s ease-out, background 0.5s ease-out, box-shadow 0.3s ease;
}

    .module-circle.selected:hover {
        box-shadow: 0 12px 30px rgba(46, 49, 146, 0.4);
        transform: translateY(-2px) scale(1.05);
    }

    .module-circle.selected .icon-badge,
    .module-circle.selected .module-name {
        color: white;
        font-size: 1.5rem;
    }

.module-circle.moving-to-center {
    animation: moveToCenter 0.5s ease-out forwards;
    z-index: 100;
}

.module-circle.moving-to-orbit {
    animation: moveToOrbit 0.5s ease-out forwards;
    z-index: 99;
}

keyframes moveToCenter {
    0%

{
    transform: scale(1);
    background: white;
}

100% {
    transform: scale(1.25);
    background: linear-gradient(135deg, #6e8efb, #a777e3);
}

}

keyframes moveToOrbit {
    0%

{
    transform: scale(1.25);
    background: linear-gradient(135deg, #6e8efb, #a777e3);
}

100% {
    transform: scale(1);
    background: white;
}

}

.module-name {
    font-size: 20px;
    color: #2e3192;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    margin: 0 auto;
    padding: 0 8px;
    width: 100%;
    max-width: 100%;
    background: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    position: relative;
    z-index: 1;
    font-weight: 600;
    transition: color 0.3s ease-out;
}

    .module-name.two-line {
        font-size: 20px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: pre-line;
        font-weight: 600;
        color: #2e3192;
    }

.description-box {
    position: relative;
    width: 60vw;
    max-width: 1200px;
    min-height: 500px;
    padding: 32px;
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    flex-shrink: 1;
    margin-left: 40px;
    align-self: center;
}

    .description-box .descbox-wave {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 90px;
        pointer-events: none;
        z-index: 0;
        border-radius: 32px;
    }

.description-content {
    position: relative;
    z-index: 1;
}

.description-box:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

    .description-box:hover::before {
        border-right-color: rgba(255, 255, 255, 0.98);
    }

.description-box.active {
    opacity: 1;
    pointer-events: auto;
}

.description-box h3 {
    font-size: 3.9rem;
    margin-bottom: 24px;
    color: #2d3748;
    text-align: left;
    width: 100%;
    display: block;
}

.description-box p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: #4a5568;
    text-align: left;
    width: 100%;
    display: block;
}
/* ... responsive ve diğer style kodları ... */

.icon-badge {
    position: absolute;
    top: 0;
    right: 10px;
    background: #fff;
    color: #2e3192 !important;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(46,49,146,0.08);
    z-index: 2;
}

.module-circle .icon-badge i {
    color: #2e3192 !important;
    font-size: 1.1rem;
}

.module-circle.faded {
    opacity: 0.6 !important;
    filter: grayscale(0.4) brightness(1.2) blur(0.25px);
    transition: opacity 0.3s, filter 0.3s, box-shadow 0.3s ease, transform 0.3s ease;
}

    .module-circle.faded:hover {
        opacity: 0.8 !important;
        filter: grayscale(0.2) brightness(1.1) blur(0.1px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
        transform: translateY(-1px) scale(1.03);
    }

    .module-circle.faded .icon-badge,
    .module-circle.faded .module-name {
        color: #2e3192 !important;
    }

.module-circle.selected {
    opacity: 1;
    filter: none;
}

.module {
    opacity: 0.3; /* Soluklaştır */
    transition: opacity 0.3s;
}

    .module.selected {
        opacity: 1; /* Ortadaki net */
    }

.icon-badge {
    background: #2e3192;
    color: #fff !important;
    // ... existing code ...
}

.module-circle.selected .icon-badge {
    background: #fff;
    color: #2e3192 !important;
}

.module-circle .icon-badge i {
    color: #fff !important;
}

.module-circle.selected .icon-badge i {
    color: #2e3192 !important;
}

// ... existing code ...

.module-circle.selected .module-name {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s, font-size 0.3s;
}



@media (max-width: 900px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 0px;
        height: auto;
        min-height: unset;
        gap: 0;
    }

    .modules-section {
        width: 100vw !important;
        min-width: unset !important;
        max-width: unset !important;
        height: auto !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px;
        margin: 0;
        padding: 10px 0 0 0;
        position: static !important;
        perspective: none;
        overflow-x: auto !important; /* SCROLL EDİLEBİLİR, BAR GÖRÜNMEZ */
        overflow-y: hidden !important;
        /* scrollbar-width ve scrollbar-color kaldırıldı */
        scrollbar-width: none !important; /* Firefox için scrollbar gizle */
    }

        .modules-section::-webkit-scrollbar {
            display: none !important; /* Chrome/Safari için scrollbar gizle */
        }

    .modules-section {
        /* Mobilde ortala */
        justify-content: center !important;
    }

    .module-circle {
        position: static !important;
        width: 80px !important;
        height: 80px !important;
        min-width: 80px !important;
        min-height: 80px !important;
        max-width: 80px !important;
        max-height: 80px !important;
        border-radius: 50% !important;
        margin: 0 !important;
        font-size: 0.7rem !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        z-index: 1 !important;
        opacity: 1 !important;
        transform: none !important;
        background: #fff !important;
        color: #2e3192 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

        .module-circle.selected {
            background: #2e3192 !important;
            color: #fff !important;
            box-shadow: none !important; /* Responsive'da shadow kaldırıldı */
        }

        .module-circle .icon-badge {
            font-size: 1.1rem !important;
            width: 22px !important;
            height: 22px !important;
            top: 0px !important;
            right: 0px !important;
        }

    .module-name {
        font-size: 0.7rem !important;
        height: auto !important;
        padding: 0 2px !important;
        color: inherit !important;
    }

    .description-box {
        width: 100vw !important;
        max-width: 100vw !important;
        min-height: 320px !important;
        max-height: 420px !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 8px 10px !important;
        align-items: center !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    .description-content {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        height: 100% !important;
    }

    .description-box h3 {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    .description-box p {
        font-size: 1.1rem !important;
        text-align: center !important;
    }
}

/* Modal ve backdrop için yüksek z-index */
.modal,
.modal.show {
    z-index: 2000 !important;
}

.modal-backdrop {
    z-index: 1990 !important;
}

/* Tawk.to widget'ı mobilde tam ekran olmasın, sağ altta küçük kalsın */
@media (max-width: 600px) {
    #tawkchat-container, #tawkchat-minified-box, #tawkchat-iframe-container {
        width: 100vw !important;
        max-width: 350px !important;
        right: 0 !important;
        left: auto !important;
        bottom: 0 !important;
        top: auto !important;
        height: 60vh !important;
        max-height: 400px !important;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 0 10px rgba(0,0,0,0.2) !important;
    }

    #tawkchat-iframe-container {
        width: 100% !important;
        height: 100% !important;
    }
}

@media (max-width: 600px) {
    .description-box {
        margin-top: 24px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        width: calc(100vw - 32px) !important;
        min-width: unset !important;
        max-width: 100vw !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .modules-section {
        margin-bottom: 0 !important;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .description-box {
        margin-top: 32px !important;
        margin-left: 32px !important;
        margin-right: 32px !important;
        width: calc(100vw - 96px) !important;
        min-width: 400px !important;
        max-width: 900px !important;
        padding-left: 32px !important;
        padding-right: 32px !important;
        border-radius: 32px !important;
    }
}
