/* ============================================================
   Müşteri Yorumları — Sistem / Google sekmeli yapı
   Default.aspx ve hakkimizda.aspx tarafından kullanılır.
   ============================================================ */

/* Sekmeler */
.yorum-tabs .nav-link {
    color: #495057;
    background: #f1f3f5;
    border-radius: 24px;
    padding: 0.55rem 1.4rem;
    margin: 0 0.35rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
}

.yorum-tabs .nav-link:hover {
    background: #e7ebef;
    color: #1a73e8;
}

.yorum-tabs .nav-link.active {
    background: #1a73e8;
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.yorum-tabs .nav-link.active .badge-light {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.yorum-tabs .badge {
    margin-left: 0.4rem;
    font-size: 0.72rem;
    padding: 0.25em 0.55em;
}

/* Kart */
.yorum-card {
    border: 1px solid #eceff3;
    border-radius: 12px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.yorum-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Avatar (baş harfler + renkli arka plan) */
.yorum-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.yorum-avatar-lg {
    width: 80px;
    height: 80px;
    font-size: 1.6rem;
    margin: 0 auto;
}

/* Yıldızlar — daha kompakt */
.yorum-yildiz .fa {
    font-size: 0.85rem;
    margin-right: 1px;
}

/* Google "G" simgesi (logo benzeri renkli daire) */
.google-g-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    border: 1px solid #dadce0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Aktif sekmede beyaz daire içinde renkli G */
.nav-link.active .google-g-icon {
    background: #fff;
    color: #4285f4;
}

/* Google yorumu rozet (sağ üst köşe) */
.yorum-google-rozet {
    margin-left: auto;
    align-self: flex-start;
    width: 28px;
    height: 28px;
    font-size: 16px;
}

/* Google kart hafif farklı görünüm */
.yorum-card-google {
    border-color: #e8eaed;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafe 100%);
}

/* Hakkimizda grid kartı için (carousel olmayan) */
.yorum-grid-card {
    height: 100%;
    border: 1px solid #eceff3;
    border-radius: 12px;
    transition: box-shadow .2s ease, transform .2s ease;
}

.yorum-grid-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Sekme içeriği görünmediği zaman owl-carousel sıfır genişlik sorununu önle */
.tab-pane:not(.show) .owl-carousel {
    visibility: hidden;
}

/* Carousel kartları içeriğe göre yükseklik alsın — h-100 / stage stretch yüzünden
   kartların altında oluşan büyük boşluğu engeller. */
.yorum-carousel .owl-stage {
    display: flex;
    align-items: flex-start;
}

.yorum-carousel .owl-item {
    display: flex;
    flex: 0 0 auto;
}

.yorum-carousel .item {
    width: 100%;
    height: auto;
}

.yorum-carousel .yorum-card {
    height: auto !important;
    align-self: flex-start;
}

/* Kart altındaki "Google'da görüntüle" linki */
.yorum-google-link {
    display: inline-flex;
    align-items: center;
    color: #1a73e8;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .15s ease;
}

.yorum-google-link:hover,
.yorum-google-link:focus {
    color: #0f5dba;
    text-decoration: underline;
}

/* "Tüm Yorumları Google'da Gör" butonu */
.btn-google-tumu {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 24px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all .2s ease;
    text-decoration: none;
}

.btn-google-tumu:hover {
    background: #f8fafe;
    color: #1a73e8;
    border-color: #1a73e8;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.18);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-google-tumu .google-g-icon {
    width: 20px;
    height: 20px;
    font-size: 13px;
    border-color: transparent;
    box-shadow: none;
}

@media (max-width: 575.98px) {
    .yorum-tabs .nav-link {
        padding: 0.45rem 1rem;
        font-size: 0.9rem;
    }

    .yorum-avatar {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

/* ============================================================
   KOYU MOD (body.dark-theme)
   ============================================================ */

/* Hakkımızda bölümünde ".bg-white" kullanılıyor; koyu modda zaten koyu rengin üzerine
   rgba(0,0,0,.1) overlay düşüyor — kartlar görünür olsun diye section'a transparan ver. */
body.dark-theme .yorumlar-section.bg-white {
    background-color: transparent !important;
}

/* Sekmeler */
body.dark-theme .yorum-tabs .nav-link {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .yorum-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #8cb4ff;
}

body.dark-theme .yorum-tabs .nav-link.active {
    background: #1a73e8;
    color: #fff;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.45);
}

body.dark-theme .yorum-tabs .badge-light {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

body.dark-theme .yorum-tabs .nav-link.active .badge-light {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Kartlar */
body.dark-theme .yorum-card,
body.dark-theme .yorum-grid-card {
    background-color: var(--dark-theme);
    border-color: var(--dark-border);
    color: var(--dark-color);
}

body.dark-theme .yorum-card-google {
    background: linear-gradient(180deg, var(--dark-theme) 0%, rgba(26, 115, 232, 0.08) 100%);
    border-color: rgba(26, 115, 232, 0.25);
}

body.dark-theme .yorum-card:hover,
body.dark-theme .yorum-grid-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Kart içi metinler */
body.dark-theme .yorum-card .text-dark,
body.dark-theme .yorum-grid-card .text-dark,
body.dark-theme .yorum-grid-card .dark-grey-text {
    color: rgba(255, 255, 255, 0.92) !important;
}

body.dark-theme .yorum-card .text-muted,
body.dark-theme .yorum-grid-card .text-muted,
body.dark-theme .yorum-grid-card .text-default {
    color: rgba(255, 255, 255, 0.72) !important;
}

body.dark-theme .yorum-card b,
body.dark-theme .yorum-grid-card h3 {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Yıldızlar koyu modda biraz daha parlak sarı */
body.dark-theme .yorum-yildiz .fa,
body.dark-theme .yorum-grid-card .text-warning .fa {
    color: #ffc835 !important;
}

/* Google "G" simgesi — koyu modda kontrastı koru */
body.dark-theme .google-g-icon {
    background: #fff;
    color: #4285f4;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Kart altındaki "Google'da görüntüle" linki — koyu mod */
body.dark-theme .yorum-google-link {
    color: #6ea8ff;
}

body.dark-theme .yorum-google-link:hover,
body.dark-theme .yorum-google-link:focus {
    color: #9bc0ff;
}

/* "Henüz yorum eklenmemiş" mesajı */
body.dark-theme .tab-pane > p.text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================================
   Basında Biz / Ödüllerimiz şeridi (Hakkımızda sayfası)
   ============================================================ */

.basinda-biz-section .section-title h2 {
    font-weight: 700;
}

.basinda-biz-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 2rem 1.5rem;
    border: 1px solid #eceff3;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: all .25s ease;
    position: relative;
}

.basinda-biz-card:hover,
.basinda-biz-card:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(26, 115, 232, 0.12);
    border-color: #1a73e8;
}

.basinda-biz-card .bbc-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: transform .25s ease;
}

.basinda-biz-card:hover .bbc-icon {
    transform: scale(1.06) rotate(-4deg);
}

.bbc-icon-sertifika {
    background: linear-gradient(135deg, #f29900 0%, #d93025 100%);
}

.bbc-icon-odul {
    background: linear-gradient(135deg, #ffc835 0%, #f29900 100%);
}

.bbc-icon-tv {
    background: linear-gradient(135deg, #1a73e8 0%, #9334e6 100%);
}

.basinda-biz-card .bbc-etiket {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #1a73e8;
    background: rgba(26, 115, 232, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.basinda-biz-card .bbc-baslik {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2e384d;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.basinda-biz-card .bbc-aciklama {
    color: #6e7894;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.basinda-biz-card .bbc-link {
    color: #1a73e8;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: gap .2s ease;
}

.basinda-biz-card:hover .bbc-link {
    color: #0f5dba;
}

.basinda-biz-card:hover .bbc-link i {
    transform: translateX(3px);
}

.basinda-biz-card .bbc-link i {
    transition: transform .2s ease;
}

/* Koyu mod */
body.dark-theme .basinda-biz-card {
    background: var(--dark-theme);
    border-color: var(--dark-border);
    color: rgba(255, 255, 255, 0.92);
}

body.dark-theme .basinda-biz-card:hover {
    border-color: #6ea8ff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

body.dark-theme .basinda-biz-card .bbc-baslik {
    color: rgba(255, 255, 255, 0.95);
}

body.dark-theme .basinda-biz-card .bbc-aciklama {
    color: rgba(255, 255, 255, 0.7);
}

body.dark-theme .basinda-biz-card .bbc-etiket {
    background: rgba(110, 168, 255, 0.18);
    color: #9bc0ff;
}

body.dark-theme .basinda-biz-card .bbc-link {
    color: #6ea8ff;
}

body.dark-theme .basinda-biz-card:hover .bbc-link {
    color: #9bc0ff;
}

/* "Tüm Yorumları Google'da Gör" butonu — koyu mod */
body.dark-theme .btn-google-tumu {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

body.dark-theme .btn-google-tumu:hover {
    background: rgba(26, 115, 232, 0.15);
    color: #fff;
    border-color: #1a73e8;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
}
