/* Türkçe Karakter Desteği */
/* Google Fonts'tan yüklenen Poppins fontu latin-ext subset'i ile Türkçe karakterleri destekler */

body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
}

/* Türkçe karakterler için font fallback */
h1, h2, h3, h4, h5, h6,
p, span, a, li, td, th, label, input, textarea, select, button {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Türkçe karakterler için text-transform düzeltmesi */
/* text-transform: uppercase kullanıldığında Türkçe karakterlerin düzgün görünmesi için */
.text-uppercase,
[class*="text-uppercase"],
.text-capitalize,
[class*="text-capitalize"] {
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
}

/* Türkçe büyük harfler için özel düzenleme */
/* İ, Ş, Ğ, Ü, Ö, Ç karakterlerinin düzgün görünmesi için */
/* Not: text-transform: uppercase CSS özelliği Türkçe karakterleri doğru şekilde dönüştürmeyebilir */
/* Bu yüzden Türkçe içeriklerde mümkünse text-transform kullanmamak veya JavaScript ile dönüştürmek önerilir */

/*
* Anasayfa Cards Alanı - Kısa Metinler İçin Özel Düzenleme
*/
.custom-cards .cards-container .card {
    min-height: auto !important;
    height: auto !important;
}

.custom-cards .cards-container .card .card-body {
    padding: 40px 30px !important;
    min-height: auto !important;
}

.custom-cards .cards-container .card .card-body .card-text {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

@media (min-width: 1200px) {
    .custom-cards .cards-container .card .card-body {
        padding: 50px 40px !important;
    }
    
    .custom-cards .cards-container .card .card-body .card-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 991px) {
    .custom-cards .cards-container .card .card-body {
        padding: 35px 25px !important;
    }
    
    .custom-cards .cards-container .card .card-body .card-text {
        font-size: 1.15rem;
    }
}

/*
* Header Top - Mobil Email ve Sosyal Medya Düzenlemesi
*/
/* Masaüstü için orijinal hizalamayı koru */
@media (min-width: 992px) {
    .header-top .header-row {
        flex-wrap: nowrap;
    }
    
    .header-top .d-flex.align-items-center {
        width: auto;
    }
    
    .header-top .social-icons {
        margin-left: auto !important;
    }
}

/* Mobil için özel düzenleme */
@media (max-width: 991px) {
    .header-top .header-row {
        flex-wrap: wrap;
    }
    
    .header-top .header-nav-top {
        width: 100% !important;
        margin-bottom: 10px;
    }
    
    .header-top .header-nav-top .nav {
        width: 100%;
        justify-content: center;
    }
    
    .header-top .header-nav-top .nav-item span {
        margin: 0 !important;
    }
    
    .header-top .header-nav-top .nav-item span img {
        width: 18px !important;
        height: 18px;
    }
    
    .header-top .header-nav-top .nav-item span a {
        font-size: 0.85rem !important;
        white-space: nowrap;
        word-break: keep-all;
    }
    
    .header-top .d-flex.align-items-center {
        width: 100% !important;
        justify-content: center;
        margin-top: 5px;
    }
    
    .header-top .social-icons {
        margin: 0 !important;
    }
}

@media (max-width: 575px) {
    .header-top .header-nav-top .nav-item span a {
        font-size: 0.75rem !important;
    }
    
    .header-top .header-nav-top .nav-item span img {
        width: 16px !important;
        height: 16px;
    }
}

/*
* Üyelik Formu - Renklendirme Düzenlemeleri
*/
.membership-form .form-control {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-color: #dee2e6 !important;
}

.membership-form .form-control:focus {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(240, 76, 35, 0.25) !important;
}

.membership-form .form-control::placeholder {
    color: #6c757d !important;
    opacity: 0.7;
}

.membership-form .form-label {
    color: #333333 !important;
}

.membership-form .form-check-label {
    color: #212529 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.membership-form .form-check-input {
    border-color: #495057 !important;
    background-color: #ffffff !important;
    width: 1.25em !important;
    height: 1.25em !important;
    margin-top: 0.15em !important;
}

.membership-form .form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.membership-form .form-check-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(240, 76, 35, 0.25) !important;
}

.membership-form .form-check {
    margin-bottom: 0.75rem;
}

.membership-form .form-check-input[type="radio"] {
    border-width: 2px !important;
}

.membership-form .form-check-input[type="checkbox"] {
    border-width: 2px !important;
}

.membership-form select.form-control {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.membership-form select.form-control option {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.membership-form textarea.form-control {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.membership-form input[type="date"] {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.membership-form input[type="file"] {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.membership-form .text-muted {
    color: #6c757d !important;
}

/*
* Gönüllü Formu - Renklendirme Düzenlemeleri (Üyelik formu ile aynı)
*/
.volunteer-form .form-control {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-color: #dee2e6 !important;
}

.volunteer-form .form-control:focus {
    background-color: #ffffff !important;
    color: #333333 !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(240, 76, 35, 0.25) !important;
}

.volunteer-form .form-control::placeholder {
    color: #6c757d !important;
    opacity: 0.7;
}

.volunteer-form .form-label {
    color: #333333 !important;
}

.volunteer-form .form-check-label {
    color: #212529 !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.volunteer-form .form-check-input {
    border-color: #495057 !important;
    background-color: #ffffff !important;
    width: 1.25em !important;
    height: 1.25em !important;
    margin-top: 0.15em !important;
}

.volunteer-form .form-check-input:checked {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.volunteer-form .form-check-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(240, 76, 35, 0.25) !important;
}

.volunteer-form .form-check {
    margin-bottom: 0.75rem;
}

.volunteer-form .form-check-input[type="radio"] {
    border-width: 2px !important;
}

.volunteer-form .form-check-input[type="checkbox"] {
    border-width: 2px !important;
}

.volunteer-form select.form-control {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.volunteer-form select.form-control option {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.volunteer-form textarea.form-control {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.volunteer-form input[type="date"] {
    background-color: #ffffff !important;
    color: #333333 !important;
}

.volunteer-form .text-muted {
    color: #6c757d !important;
}

/*
* Header Logo - Responsive Boyutlandırma
* 500x300 boyutundaki logo için eski boyutlara yakın görüntüleme
* Eski logo: 162x33, yeni logo: 500x300
*/
#header .header-logo {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

#header .header-logo-img {
    max-width: 162px;
    max-height: 97px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Sticky header için daha küçük logo */
#header.header-effect-shrink.header-shrink .header-logo-img {
    max-width: 130px;
    max-height: 78px;
}

/* Tablet için */
@media (max-width: 991px) {
    #header .header-logo-img {
        max-width: 140px;
        max-height: 84px;
    }
    
    #header.header-effect-shrink.header-shrink .header-logo-img {
        max-width: 110px;
        max-height: 66px;
    }
}

/* Mobil için */
@media (max-width: 767px) {
    #header .header-logo-img {
        max-width: 120px;
        max-height: 72px;
    }
    
    #header.header-effect-shrink.header-shrink .header-logo-img {
        max-width: 100px;
        max-height: 60px;
    }
}

/* Küçük mobil için */
@media (max-width: 575px) {
    #header .header-logo-img {
        max-width: 100px;
        max-height: 60px;
    }
    
    #header.header-effect-shrink.header-shrink .header-logo-img {
        max-width: 80px;
        max-height: 48px;
    }
}

/*
* Footer Logo - Responsive Boyutlandırma
*/
#footer .footer-logo-img {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Footer mobil için */
@media (max-width: 767px) {
    #footer .footer-logo-img {
        max-width: 160px;
        max-height: 96px;
    }
}

@media (max-width: 575px) {
    #footer .footer-logo-img {
        max-width: 140px;
        max-height: 84px;
    }
}

