﻿
.btn-close:focus {
    outline: none;
    box-shadow: none;
}

/* Soru kartı sol kenar border */
.question-meta-box {
    border-left: 4px solid #e62889!important;
}

/* Cevap kartı sol kenar border (40% açık ton) */
.course-info {
    border-left: 4px solid rgba(180, 138, 120, 0.4) !important;
    position: relative !important;
}

/* Cevap tarih kutusu stilleri - events.html'den alındı */
.answer-date {
    background-color: #4a0de0;
    padding: 8px 12px;
    border-radius: 4px;
    position: absolute;
    top: 20px;
    right: 20px;
    min-width: 70px;
}

    .answer-date h4 {
        font-weight: 400;
        color: #ffffff!important;
        font-size: 13px;
        text-align: center;
        margin: 0;
        white-space: nowrap;
    }

        .answer-date h4 span {
            font-size: 20px;
            line-height: 1.1;
            text-align: center;
            display: block;
        }

/* Hover efektleri - ayrı ayrı */
.question-meta-box:hover {
    box-shadow: 0 5px 45px rgba(0,0,0,.1);
}

/* Bootstrap'in mevcut hover kuralını iptal et - daha spesifik */
.course-wrap .course-card:hover .course-info {
    box-shadow: none;
}

/* Sadece direkt hover durumunda efekt - daha spesifik */
.course-wrap .course-card .course-info:hover {
    box-shadow: 0 5px 45px rgba(0,0,0,.1);
}

/* Devamını Oku link stilleri - Geliştirilmiş */
.read-more-link {
    color: #4a0de0;
    font-size: 0.90rem;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
}

    .read-more-link:hover {
        color: #cc2379;
        text-decoration: none;
        transform: translateX(4px);
    }

/* Üç nokta efekti - Daha subtle */

/* Soru Kartı Stilleri */
.question-category {
    color: #4a0de0;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

    .question-category i {
        margin-right: 6px;
        font-size: 0.8rem;
    }

.question-author {
    color: #526077;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.question-title {
    font-size: 1rem;
    font-weight: 700;
    color: #343a46;
    margin-bottom: 8px;
}

.question-preview {
    color: #526077;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Uzman Yanıtı Stilleri */
.course-info {
    padding: 28px 28px 18px 28px;
}

.instructor-info-wrap {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.instructor-img img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.instructor-info {
    margin-left: 14px;
}

    .instructor-info h6 {
        font-size: 0.85rem;
        font-weight: 700;
        color: #a47355;
        margin-bottom: 2px;
    }

    .instructor-info span {
        color: #888;
        font-size: 0.85rem;
    }

.answer-preview {
    color: #526077;
    font-size: 0.85rem;
}

/* Devamını Oku Linki */
.read-more-container {
    text-align: center;
    padding: 15px 0;
}

.read-more-link {
    font-size: 0.85rem;
}

/* Modal Stilleri */
.modal-dark-header {
    background: #1d1d1d;
    color: white;
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.modal-category-tag {
    background: rgba(164, 115, 85, 0.15);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    display: inline-block;
    color: #e62889;
}

.modal-tabs {
    border-bottom: 1px solid #dee2e6;
    margin: -10px -25px 15px;
    padding: 0 25px;
}

    .modal-tabs .nav-link {
        color: #526077;
        font-weight: 500;
        padding: 10px 20px;
        border: none;
        border-bottom: 2px solid transparent;
        background: none;
        transition: all 0.3s ease;
        font-size: 0.85rem;
    }

        .modal-tabs .nav-link.active {
            color: #4a0de0;
            border-bottom: 2px solid #4a0de0;
            background: none;
        }

        .modal-tabs .nav-link:hover {
            color: #cc2379;
        }

.modal-content-area {
    padding: 25px;
    font-size: 0.85rem;
}

/* Modal İçerik Stilleri */
.modal-question-content {
    font-size: 0.85rem;
    color: #555;
}

    .modal-question-content .user-info {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .modal-question-content .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #4a0de0;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
    }

    .modal-question-content .user-name {
        font-weight: 500;
        color: #2d1c10;
    }

.modal-content-area .tab-content .modal-question-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.85rem;
    color: #555;
}

    .modal-content-area .tab-content .modal-question-content p:last-child {
        margin-bottom: 0;
    }

/* Uzman Yanıtı Stilleri */
.expert-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

    .expert-info img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
    }

.expert-name {
    font-weight: 600;
    color: #343a46;
    font-size: 0.85rem;
}

.expert-title {
    color: #526077;
    font-size: 0.85rem;
}

.modal-content-area .tab-content .modal-answer-content .answer-text {
    color: #555;
    line-height: 1.7;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
}

.answer-text::-webkit-scrollbar {
    width: 5px;
}

.answer-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.answer-text::-webkit-scrollbar-thumb {
    background: #4a0de0;
    border-radius: 10px;
}

    .answer-text::-webkit-scrollbar-thumb:hover {
        background: #cc2379;
    }

.modal-content-area .tab-content .modal-answer-content .answer-text p {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.7;
}

    .modal-content-area .tab-content .modal-answer-content .answer-text p:last-child {
        margin-bottom: 0;
    }


.read-more-link::after {
    content: "⋯";
    margin-left: 4px;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-2px) translateY(4px);
    font-size: 1.2em;
    line-height: 1;
}

.read-more-link:hover::after {
    opacity: 1;
    transform: translateX(2px) translateY(4px);
}

/* Subtle underline efekti */
.read-more-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #cc2379, #8b1a4d);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.read-more-link:hover::before {
    width: 100%;
}

/* Arama ve Filtreleme Stilleri */
.search-filter-wrap {
    background-color: #fff;
}

.search-input-group {
    position: relative;
    margin-bottom: 15px;
}

    .search-input-group .form-control {
        height: 50px;
        padding: 10px 20px;
        border: 1px solid #eee;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 0.95rem;
    }

@media only screen and (max-width: 991px) {
    .search-input-group .form-control {
        font-size: 0.9rem;
        height: 45px;
    }
}

@media only screen and (max-width: 767px) {
    .search-input-group .form-control {
        font-size: 0.85rem;
        height: 42px;
    }
}

/* Info Box Styles */
.info-box {
    background: #f8f5f2;
    padding: 15px;
    border-radius: 8px;
}

.info-text {
    color: #a47355;
    font-size: 1rem;
    margin: 0;
}

@media only screen and (max-width: 991px) {
    .info-text {
        font-size: 0.95rem;
    }
}

@media only screen and (max-width: 767px) {
    .info-box {
        padding: 12px;
    }

    .info-text {
        font-size: 0.9rem;
    }
}

@media only screen and (max-width: 575px) {
    .info-box {
        padding: 10px;
    }

    .info-text {
        font-size: 0.85rem;
    }

    .search-input-group .form-control {
        font-size: 0.8rem;
        height: 40px;
        padding: 8px 15px;
    }
}

.search-input-group .form-control:focus {
    border-color: #a47355;
    box-shadow: 0 0 0 0.2rem rgba(164, 115, 85, 0.15);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .search-results::-webkit-scrollbar {
        width: 6px;
    }

    .search-results::-webkit-scrollbar-thumb {
        background-color: #a47355;
        border-radius: 3px;
    }

    .search-results::-webkit-scrollbar-track {
        background-color: #f5f5f5;
    }

.result-item {
    padding: 6px 15px;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    font-size: 0.82rem;
    color: #444;
}

    .result-item:hover {
        background-color: #f8f5f2;
    }

@media only screen and (max-width: 767px) {
    .result-item {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}

@media only screen and (max-width: 575px) {
    .result-item {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
}

/* Kategori listesi için özel stiller */
.category-results .result-item {
    padding: 6px 15px;
}

/* Hero Section Responsive Styles */
.hero-subtitle {
    color: #a47355;
    font-size: 1rem;
    display: block;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 80px;
}

@media only screen and (max-width: 1199px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
        margin-bottom: 60px;
    }
}

@media only screen and (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: 50px;
    }
}

@media only screen and (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-text {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }

    .hero-box {
        padding: 20px;
    }
}

/* Hero Box Styles */
.hero-box {
    border: 1px solid #e5d5cc;
    border-radius: 10px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(164, 115, 85, 0.1);
}

/* Section Spacer */
.section-spacer {
    margin: 100px 0;
}

@media only screen and (max-width: 991px) {
    .hero-box {
        padding: 30px;
    }

    .section-spacer {
        margin: 60px 0;
    }
}

@media only screen and (max-width: 767px) {
    .section-spacer {
        margin: 40px 0;
    }
}

@media only screen and (max-width: 575px) {
    .section-spacer {
        margin: 30px 0;
    }
}

.category-results .form-check-input {
    margin-top: 0;
    margin-right: 8px;
}

/* Checkbox stilleri */
.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0;
    border: 2px solid #b48a78;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: #a47355;
        border-color: #a47355;
    }

    .form-check-input:focus {
        border-color: #b48a78;
        box-shadow: 0 0 0 0.2rem rgba(180, 138, 120, 0.25);
    }

/* Filtre tag'leri için tip bazlı renkler */
.filter-tag[data-type="category"] {
    background-color: #fff;
    border-color: #b48a78;
}

.filter-tag[data-type="psychologist"] {
    background-color: #f8f5f2;
    border-color: #a47355;
}

/* Responsive düzenlemeler */
@media (max-width: 991px) {
    .search-filter-wrap .btn.style1 {
        margin-top: 20px;
    }
}

/* Seçilen Filtreler Stilleri */
.selected-filters {
    background-color: #f8f5f2;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid #e0d5cc;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #a47355;
    transition: all 0.2s ease;
}

    .filter-tag:hover {
        background: #f0e9e4;
    }

    .filter-tag .remove-tag {
        cursor: pointer;
        border: none;
        background: none;
        padding: 0;
        font-size: 1.1em;
        line-height: 1;
        color: #b48a78;
        opacity: 0.7;
        transition: all 0.2s ease;
    }

        .filter-tag .remove-tag:hover {
            opacity: 1;
        }

.btn-clear-all {
    border: none;
    background: none;
    color: #a47355;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .btn-clear-all:hover {
        background: #f0e9e4;
    }

/* Responsive Filter Styles */
@media only screen and (max-width: 991px) {
    .selected-filters {
        padding: 10px 12px;
    }

    .filter-tag {
        font-size: 0.82rem;
        padding: 4px 10px;
    }

    .btn-clear-all {
        font-size: 0.82rem;
    }

    small.text-muted {
        font-size: 0.78rem;
    }
}

@media only screen and (max-width: 767px) {
    .selected-filters {
        padding: 8px 10px;
    }

    .filter-tag {
        font-size: 0.78rem;
        padding: 3px 8px;
    }

        .filter-tag .remove-tag {
            font-size: 1em;
        }

    .btn-clear-all {
        font-size: 0.78rem;
        padding: 4px 8px;
    }

    small.text-muted {
        font-size: 0.75rem;
    }
}

@media only screen and (max-width: 575px) {
    .selected-filters {
        padding: 6px 8px;
    }

    .filter-tag {
        font-size: 0.75rem;
        padding: 2px 6px;
        gap: 4px;
    }

        .filter-tag .remove-tag {
            font-size: 0.9em;
        }

    .btn-clear-all {
        font-size: 0.75rem;
        padding: 3px 6px;
    }

    small.text-muted {
        font-size: 0.72rem;
    }
}

@media (max-width: 767px) {
    .search-input-group {
        margin-bottom: 10px;
    }

    .search-filter-wrap {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .selected-filters {
        padding: 10px;
    }

    .btn-clear-all {
        margin-top: 8px;
        width: 100%;
        padding: 8px;
        background: #f0e9e4;
    }
}

.search-icon-btn {
    border: none;
    background: none;
    color: #a47355;
    font-size: 28px;
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .search-icon-btn:hover {
        color: #444;
    }
/* Soru Formu Stilleri */
.ask-question-section {
    background: #fff;
}

.form-wrap {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    padding: 30px;
}

    .form-wrap h3 {
        color: #2d1c10;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .form-wrap p {
        color: #666;
        font-size: 1rem;
    }

.info-note {
    background: #f8f5f2;
    border-left: 4px solid #e62889;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

    .info-note p {
        color: #666;
        font-size: 0.9rem;
        margin: 0;
    }

    .info-note i {
        color: #a47355;
        margin-right: 8px;
    }

.form-wrap .form-control {
    height: 50px;
    border: 1px solid #e0d5cc;
    color: #526077;
    font-family: "Lato", sans-serif;
}

.form-wrap textarea.form-control {
    height: auto;
    resize: none;
    color: #526077;
    font-family: "Lato", sans-serif;
}

.form-wrap .btn.style1 {
    background: #4a0de0;
    border: none;
    padding: 12px 35px;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

    .form-wrap .btn.style1:hover {
        background: #cc2379 ;
    }

@media (max-width: 991px) {
    .form-wrap {
        padding: 20px;
    }

        .form-wrap h3 {
            font-size: 1.5rem;
        }

        .form-wrap p {
            font-size: 0.9rem;
        }
}

@media (max-width: 767px) {
    .form-wrap {
        padding: 15px;
    }

        .form-wrap h3 {
            font-size: 1.3rem;
        }

    .info-note {
        padding: 12px;
    }

    .form-wrap .form-control {
        height: 45px;
    }
}

/* Geçiş Bölümü Stilleri */
.section-transition {
    background: #1d1d1d;
    padding: 50px 0;
    margin: 70px 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.transition-title {
    text-align: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.transition-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .section-transition {
        padding: 40px 0;
        margin: 50px 0;
    }

    .transition-title {
        font-size: 1.3rem;
    }

    .transition-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .section-transition {
        padding: 30px 0;
        margin: 40px 0;
    }

    .transition-title {
        font-size: 1.2rem;
    }

    .transition-subtitle {
        font-size: 0.85rem;
        padding: 0 15px;
    }
}

