html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: #f8f9fa;
}
.navbar-brand {
    font-weight: 900;
    display: flex;
    align-items: flex-start; 
    flex-direction: column; 
    text-align: left; 
}
.navbar-brand img {
    max-height: 62px; 
    margin-bottom: 5px; 
    margin-right: 0;
}
.navbar-brand span {
    font-size: 1.25rem;
}
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.36)), url('https://hekay.fcskobi.com/herogorsel.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}
.hero-section h1 {
    font-weight: 900;
    font-size: 3.5rem;
}
.hero-section .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 20px auto 40px auto;
}
.hero-subheading {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
}
.btn-primary-custom {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 900;
    color: #343a40;
}
.feature-icon {
    font-size: 3rem;
    color: #0d6efd;
}
#purpose-value-section .card {
    border: none;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
}
#purpose-value-section ul {
    list-style: none;
    padding-left: 0;
}
#purpose-value-section ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.6;
}
#purpose-value-section ul li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f058"; /* check-circle icon */
    color: #0d6efd;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1.2rem;
}

/* HEKAY/MODÜL UYUM STİLLERİ */
.question-group {
    /* HEKAY motorunun soru gruplarını temsil eder */
    display: none; 
    border: 1px solid #009688;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.question-group.active {
    display: block;
}
.question-group label {
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}
/* Likert Stilinin Yerine Bootstrap form-check yapısı kullanılacak, 
   Ancak eski Likert görünümünü taklit etmek için gerekli minimum kodlar eklendi */
.likert-container {
     margin-top: 15px;
     border-top: 1px solid #ddd;
     padding-top: 10px;
}
.likert-scale {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    font-size: 0.9em;
    margin-top: 5px;
}
.likert-option {
    text-align: center;
    flex: 1;
    padding: 5px;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
}
.likert-option .score-label {
    font-weight: bold;
    font-size: 1.1em;
    order: 1;
}
.likert-option input[type="radio"] {
    transform: scale(1.5);
    margin: 0 auto 5px; 
    order: 2; 
}
.likert-option span {
    display: block;
    font-weight: normal;
    font-size: 0.75em;
    color: #555;
    height: 30px; 
    order: 3;
}
/* Modül Bilgisi Stili */
#currentModuleInfo {
    font-size: 1.56em; /* %20 Büyütülmüş */
    font-weight: bold;
    color: #d84315;
    margin-bottom: 15px;
    border-bottom: 3px solid #f44336;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}
#currentModuleInfo .icon {
    font-size: 1.2em;
    margin-right: 10px;
    color: #004d40;
}
/* İlerleme Çubuğu Yüksekliği (Makyajdan Korundu) */
.progress {
    height: 37.5px;
}

/* YENİ: NAVİGASYON BUTONLARI EŞİTLENDİ */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px; /* Butonlar arası boşluk */
}
.navigation-buttons button {
    flex-grow: 1; /* Eşit genişlik için */
}

/* ŞABLONUN DİĞER STİLLERİ (Korundu) */
.form-check-label {
    font-weight: normal;
}
.form-check {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px 15px 45px;
    margin-bottom: 10px;
    transition: all 0.2s;
}
.form-check:hover {
    background-color: #e9ecef;
    border-color: #0d6efd;
}
#results-section {
    /* JS ile kontrol ediliyor */
}
.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    border: 8px solid;
}
.score-circle h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
}
.score-circle span {
    font-size: 1rem;
}
.footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 40px 0;
    font-size: 0.9rem;
}
.footer a {
    color: #0dcaf0;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer .version {
    color: #6c757d;
}
.social-icons {
    margin-top: 20px;
}
.social-icons a {
    color: #f8f9fa;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
    text-decoration: none;
}
.social-icons a:hover {
    color: #0dcaf0;
    text-decoration: none;
}
.modal-body h5 {
    font-weight: 700;
}

/* === YENİ EKLENEN RESPONSIVE KODLARI === */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem; /* Masaüstünde 3.5rem idi */
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    #test-section .card-body {
        padding: 2rem !important; /* p-5 sınıfı 3rem'di, mobile'de azalttık */
    }
}

@media (max-width: 576px) {
    /* YENİ EKLEMELER: Dikey Mobil Ekranlar İçin Likert Ölçeği Optimizasyonu */
    .question-group {
        padding: 15px; /* Soru grubunun içindeki boşluğu azalt */
    }

    .question-group label {
        font-size: 1.1em; /* Soru metnini küçült */
        margin-bottom: 10px;
    }

    .likert-scale {
        /* Yatayda boşlukları azalt */
        gap: 2px; 
        justify-content: space-around;
        padding: 0 5px; /* Kenarlardan biraz boşluk bırak */
    }

    .likert-option {
        /* Yatayda daha az yer kapla */
        flex: 1 1 18%; 
        min-width: 18%;
        padding: 5px 2px;
    }

    .likert-option span:not(.score-label) {
        /* KRİTİK: Açıklama metinlerini gizle */
        display: none !important;
    }
    
    .likert-option .score-label {
         /* Yalnızca puanları göster */
        font-size: 0.9em; 
    }

    .likert-option input[type="radio"] {
        /* Radyo butonunu koru */
        transform: scale(1.3);
    }
    /* Mobil cihazlar için diğer düzenlemeler */
    .hero-section h1 {
        font-size: 2rem;
    }

    .navbar-brand span {
        font-size: 1rem; /* Logodaki yazıyı biraz küçültelim */
    }

    .btn-primary-custom {
        padding: 12px 24px;
        font-size: 1rem;
    }

    #test-section .card-body {
        padding: 1.5rem !important;
    }

    .score-circle {
        width: 120px;
        height: 120px;
    }

    .score-circle h2 {
        font-size: 2.5rem;
    }
}


/* === v5.7.0 İÇİN EKLENEN STİLLER === */
#score-badge {
    margin-right: 12px;
    font-size: 2rem;
    vertical-align: middle;
}

#score-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

#cta-container .cta-headline {
    font-weight: 700;
    color: #343a40;
    font-size: 1.1rem;
}

/* Modal Genişliğini Özel Olarak Ayarlama (Önerilen) */
.modal-dialog {
    /* Genişliği ekranın %70'ine ayarlar, %30'dan daha geniş olmasını sağlamak için */
    max-width: 700px !important; /* Standart modal lg genişliği 800px'tir. Bunu artırabiliriz */
}

/* Modalı ekranın %70'ine veya daha büyük bir değere ayarlamak için: */
@media (min-width: 992px) {
    /* LG ekranlar için geçerli olacak (992px üstü) */
    .modal-lg, .modal-xl, .modal-dialog {
        max-width: 900px !important; /* Ekranın büyük bir kısmını kaplar */
    }
}
/* Eğer mobil ekranlarda da daha geniş görünmesini isterseniz: */
@media (max-width: 576px) {
     .modal-dialog {
        max-width: 95% !important; 
        margin: 1.75rem auto;
    }
}