/* ==========================================================================
   Varsayılan Stiller ve Bootstrap Düzenlemeleri
   ========================================================================== */

body {
    padding-top: 56px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
}

.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

input,
select,
textarea {
    max-width: 280px;
}

/* ==========================================================================
   Renk Değişkenleri
   ========================================================================== */

:root {
    --primary-color: #212555;
    --secondary-color: #0d6efd;
    --accent-color: #fd7e14;
    --light-color: #f8f9fa;
}

/* ==========================================================================
   Hero Bölümü Stilleri
   ========================================================================== */

.hero-section {
    background-color: #000020;
    padding: 80px 0;
}

.hero-text-content {
    padding-right: 50px;
}

.hero-section .slogan {
    font-weight: 700;
    font-size: 3.5rem;
    color: white;
}

.hero-section .lead {
    font-size: 1.5rem;
    color: white;
    opacity: 0.9;
}

.hero-section .hashtag {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.8;
    color: var(--accent-color);
}

.hero-section .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

    .hero-section .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-logos .hero-logo {
    height: 40px;
}

/* ==========================================================================
   Tekil Ürün Tanıtım Kartı (DOĞRU KOD)
   ========================================================================== */

.single-product-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #f8f9fa;
}

.product-showcase-card {
    position: relative;
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

    .product-showcase-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../Content/images/ahob-card-bg.png');
        background-size: cover;
        background-position: bottom;
        z-index: 1;
    }

    .product-showcase-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }

    .product-showcase-card > * {
        position: relative;
        z-index: 3;
    }

    .product-showcase-card .btn-light {
        font-weight: 600;
        color: var(--primary-color);
        padding: 12px 30px;
        font-size: 1.1rem;
    }



.footer-section {
    background-color: var(--primary-color) !important;
}

    .footer-section h6 {
        color: var(--accent-color);
    }

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .footer-link:hover {
        color: white;
        padding-left: 5px;
    }

.footer-section .social-icon {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

    .footer-section .social-icon:hover {
        background-color: var(--accent-color);
        color: var(--primary-color);
    }


.news-section {
    background-color: white;
}

.news-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .news-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
    }

    .news-card .card-img-top {
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        height: 200px;
        object-fit: cover;
    }

    .news-card .card-title {
        color: var(--primary-color);
        font-weight: 600;
    }


.test-yourself-section {
    background-color: var(--light-color);
}

.test-card {
    border: 1px solid #dee2e6;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .test-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
    }

    /* --- YENİ EKLENEN/DEĞİŞTİRİLEN KISIM --- */
    .test-card .test-icon-img {
        height: 80px; /* Görselin yüksekliğini ayarlayın */
        width: auto; /* Genişliği otomatik ayarlasın */
        margin-bottom: 1rem; /* Alttan biraz boşluk bırakın */
    }

    .test-card .card-title {
        color: var(--primary-color);
        font-weight: 600;
    }



.community-section {
    background-color: white;
}

.community-card .card-img-top {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.community-card .list-group-item {
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

/* Şampiyonlar listesindeki ilk 3'ü öne çıkarmak için */
.champion-list .list-group-item:nth-child(1) {
    font-weight: bold;
    color: #d4af37; /* Altın */
}

.champion-list .list-group-item:nth-child(2) {
    font-weight: bold;
    color: #c0c0c0; /* Gümüş */
}

.champion-list .list-group-item:nth-child(3) {
    font-weight: bold;
    color: #cd7f32; /* Bronz */
}


.partner-section {
    background-color: white; /* Veya var(--light-color) */
}

.partner-card {
    border: 1px solid #dee2e6;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .partner-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1) !important;
    }

    .partner-card .partner-icon {
        font-size: 3rem;
        color: var(--primary-color);
    }

    .partner-card .card-title {
        color: var(--primary-color);
        font-weight: 600;
    }



.product-section h2 {
    color: var(--primary-color);
    font-weight: 600;
}

.product-section p.text-muted {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-section .list-unstyled li {
    padding: 5px 0;
}


/* ==========================================================================
   Mobil Cihazlar İçin Ürünler Sayfası İyileştirmeleri
   ========================================================================== */

@media (max-width: 767px) {
    /* Sayfa başlığının altındaki boşluğu azaltalım */
    .container.my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    /* Her bir ürün bölümünün içeriğini ortalayalım */
    .product-section .col-md-6 {
        text-align: center;
    }

    /* Ürün görsellerini mobilde daha küçük yapalım */
    .product-section .img-fluid {
        max-width: 80%; /* Resim genişliği ekranın %80'ini geçmesin */
        margin-bottom: 1.5rem; /* Resim ile yazı arasına boşluk koyalım */
    }

    /* Ürün bölümleri arasındaki dikey boşluğu azaltalım */
    .product-section.mb-5 {
        margin-bottom: 2rem !important;
    }

    /* Butonları mobilde daha belirgin hale getirelim */
    .product-section .btn {
        width: 100%;
        max-width: 300px;
    }
}


/* Sayfa Başlığı Stili */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
}

/* Avantaj Kartları Stili */
.benefit-card .benefit-icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.member-card .member-logo {
    max-height: 70px; /* Logoyu biraz küçülttük */
    max-width: 140px;
    object-fit: contain;
}

/* Yeni Sosyal Medya İkonları İçin Stiller */
.social-icons-wrapper {
    border-top: 1px solid #eee;
}

    .social-icons-wrapper .social-icon-sm {
        font-size: 1.2rem;
        color: #6c757d;
        margin: 0 5px;
        transition: color 0.3s ease;
    }

        .social-icons-wrapper .social-icon-sm:hover {
            color: var(--primary-color);
        }


.privacy-notice {
    display: flex;
    align-items: flex-start;
    background-color: #eef3ff; /* Açık mavi arka plan */
    border-left: 5px solid var(--secondary-color); /* Sol kenarda mavi bir şerit */
    padding: 1.5rem;
    border-radius: 8px;
}

.privacy-notice-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 1.5rem;
    line-height: 1.2;
}

.privacy-notice-content h5 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.privacy-notice-content ul {
    padding-left: 20px;
    margin-bottom: 0;
    color: #495057; /* Metin rengi */
}

    .privacy-notice-content ul li {
        margin-bottom: 0.5rem;
    }

        .privacy-notice-content ul li:last-child {
            margin-bottom: 0;
        }


/* ==========================================================================
   İletişim Formu Başarı Sayfası Stilleri
   ========================================================================== */

.success-page-header {
    background: linear-gradient(135deg, #212555 0%, #0d6efd 100%); /* Ana renklerimizi kullanalım */
    padding: 6rem 0;
    color: #fff; /* Metin rengini beyaza çevir */
    text-align: center;
}

    .success-page-header .fa-check-circle {
        font-size: 4rem; /* İkon boyutunu büyüt */
        color: #198754; /* Bootstrap yeşil rengi */
        margin-bottom: 1.5rem;
        animation: fadeInScale 0.8s ease-out; /* Hafif bir animasyon */
    }

    .success-page-header h2 {
        font-size: 2.8rem; /* Başlık boyutunu büyüt */
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .success-page-header p.lead {
        font-size: 1.3rem; /* Paragraf boyutunu büyüt */
        max-width: 600px;
        margin: 0 auto 2rem auto;
        color: rgba(255, 255, 255, 0.85); /* Hafif soluk beyaz */
    }

/* İsteğe bağlı animasyon */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* İletişim formundaki mesaj kutusunun tam genişlikte olmasını sağla */
#contactForm textarea {
    max-width: 100%;
}

/* Bayilik / Akademi başvuru formlarındaki mesaj kutusu tam genişlik */
textarea.textarea-full-width {
    max-width: 100%;
}


.faq-section .accordion-button {
    font-weight: 600;
    color: var(--primary-color);
}

    .faq-section .accordion-button:not(.collapsed) {
        background-color: #eef3ff;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
        color: var(--secondary-color);
    }

    .faq-section .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

.faq-section .accordion-body {
    background-color: #f8f9fa;
}


.training-types .badge {
    font-size: 0.75rem;
    margin: 0 2px;
}

/* Eğitmen Fotoğrafı Stilleri */
.trainer-photo {
    width: 100px; /* Fotoğrafın genişliği */
    height: 100px; /* Fotoğrafın yüksekliği */
    object-fit: cover; /* Fotoğrafın kırpılmadan alana sığmasını sağlar */
    border-radius: 50%; /* Dairesel şekil verir */
    border: 3px solid #007bff; /* Çerçeve ekler, rengi değiştirebilirsiniz */
    margin-left: auto; /* Ortalamak için */
    margin-right: auto; /* Ortalamak için */
    display: block; /* Margin auto ile çalışması için */
}

/* Mevcut sosyal ikon stilleri (eğer henüz yoksa veya güncellenmesi gerekiyorsa) */
.social-icons-wrapper .social-icon-sm {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #495057;
    font-size: 1rem;
    margin: 0 5px;
    transition: all 0.3s ease;
}

    .social-icons-wrapper .social-icon-sm:hover {
        background-color: #007bff;
        color: #fff;
    }

/* Eğitmen kartı için genel düzenleme */
.member-card {
    box-shadow: 0 4px 8px rgba(0,0,0,.05);
    border: 1px solid #e7e7e7;
    transition: transform .2s ease-in-out;
}

    .member-card:hover {
        transform: translateY(-5px);
    }

.find-trainer-cta {
    position: relative;
    padding: 100px 0;
    /* Paralaks Efekti için Arka Plan Ayarları */
    background-image: url('../Content/images/findatrainer.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    /* Yazıların okunurluğunu artırmak için resmin üzerine koyu bir katman ekliyoruz */
    .find-trainer-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 32, 0.6); /* Yarı saydam koyu lacivert */
    }

    /* İçeriğin (yazı, buton) katmanın üzerinde kalmasını sağlıyoruz */
    .find-trainer-cta .container {
        position: relative;
        z-index: 2;
    }


.culture-section .culture-card {
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.culture-section .culture-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
}


/* ==========================================================================
   Chatbot Stilleri
   ========================================================================== */

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
}

.chatbot-toggle-btn {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-window {
    width: 350px;
    max-height: 500px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    display: none; /* Başlangıçta gizli */
    flex-direction: column;
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .chat-header h5 {
        font-size: 1rem;
        font-weight: 600;
    }

.chat-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    padding: 0.5rem 1rem;
    border-radius: 18px;
    max-width: 80%;
}

    .chat-message.user {
        background-color: var(--secondary-color);
        color: white;
        align-self: flex-end;
        border-bottom-right-radius: 4px;
    }

    .chat-message.bot {
        background-color: #e9ecef;
        color: #333;
        align-self: flex-start;
        border-bottom-left-radius: 4px;
    }

.chat-footer {
    padding: 0.75rem;
    background-color: #f8f9fa;
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid #dee2e6;
}


.page-header-overlay {
    background-color: rgba(33, 37, 85, 0.7);
    padding: 60px 0;
}

.page-header-overlay-theater {
    background-color: rgba(33, 37, 85, 0.8);
    padding: 20px 0;
}

/* Sınav carousel: oklar çerçeve kenarında, mobilde parmakla sürükleme */
.exam-carousel-section .carousel {
    position: relative;
    touch-action: pan-y pinch-zoom;
}
.exam-carousel-section .carousel-control-prev,
.exam-carousel-section .carousel-control-next {
    width: 3rem;
    max-width: 15%;
    opacity: 0.9;
    z-index: 10;
}
.exam-carousel-section .carousel-control-prev {
    left: 0;
    border-radius: 0.375rem 0 0 0.375rem;
}
.exam-carousel-section .carousel-control-next {
    right: 0;
    border-radius: 0 0.375rem 0.375rem 0;
}
.exam-carousel-section .carousel-inner {
    touch-action: pan-y;
}