/* =============================================== */
/* 1. TEMEL AYARLAR VE GENEL STİLLER
/* =============================================== */
body {
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h2, h3 {
    color: #343a40;
    font-weight: 600;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #343a40;
}

.section-title {
    font-weight: 700;
    font-size: 2.2rem;
    color: #343a40;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 3rem !important;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #0d6efd;
    border-radius: 2px;
}

/* =============================================== */
/* 2. HEADER VE NAVİGASYON
/* =============================================== */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar {
    min-height: 100px;
}

.navbar-brand {
    padding: 0;
    margin-right: 1rem;
}

.navbar-brand img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

.navbar .nav-link {
    color: #343a40 !important;
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .nav-link:hover {
    color: #0056b3 !important;
    transform: translateY(-2px);
}

.navbar .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar .btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.navbar-nav {
    align-items: center;
}

/* =============================================== */
/* 3. HERO BÖLÜMÜ (ANASAYFA EN ÜST)
/* =============================================== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero_bg.png') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* =============================================== */
/* 4. KART STİLLERİ (MAKALE, AVUKAT VB.)
/* =============================================== */
.card {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.card-img-top {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* =============================================== */
/* 5. MÜVEKKİL YORUMLARI SLIDER (SWIPER)
/* =============================================== */
.testimonial-section-final {
    overflow: hidden;
    background-color: #f8f9fa;
}

.my-testimonials.swiper {
    width: 100%;
    padding: 30px 0 50px 0;
}

.my-testimonials .swiper-slide {
    width: 80%;
    height: auto;
    opacity: 0.5;
    transform: scale(0.8);
    transition: transform 0.5s, opacity 0.5s;
}

.my-testimonials .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

@media (min-width: 992px) {
    .my-testimonials .swiper-slide {
        width: 33%;
    }
}

.testimonial-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    height: 100%;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: #0d6efd;
    opacity: 0.1;
    position: absolute;
    top: 15px;
    left: 20px;
}

.my-testimonials .swiper-button-next::after,
.my-testimonials .swiper-button-prev::after {
    display: none;
}

.my-testimonials .swiper-button-next i,
.my-testimonials .swiper-button-prev i {
    font-size: 1.8rem;
    color: #0d6efd;
    transition: transform 0.2s ease;
}

.my-testimonials .swiper-button-next:hover i,
.my-testimonials .swiper-button-prev:hover i {
    transform: scale(1.2);
}

.my-testimonials .swiper-pagination-bullet-active {
    background-color: #0d6efd;
}

/* =============================================== */
/* 6. HAKKIMIZDA SAYFASI - İKON STİLLERİ
/* =============================================== */
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 8px;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    background-color: #f1f1f1;
    color: #343a40;
}

.icon-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    color: #fff;
}

.icon-circle.icon-linkedin:hover { background-color: #0077b5; }
.icon-circle.icon-phone:hover { background-color: #0d6efd; }
.icon-circle.icon-email:hover { background-color: #c71610; }

/* =============================================== */
/* 7. MAKALE İÇERİĞİ
/* =============================================== */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* =============================================== */
/* 8. ÇAĞRI (CTA) BANDI
/* =============================================== */
.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 3rem;
    background: linear-gradient(100deg, #f0f3f8 0%, #e1e9f5 100%);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    flex-wrap: wrap;
    gap: 20px;
}

.cta-text h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: #343a40;
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .cta-text h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

/* =============================================== */
/* 9. FOOTER (ALT BÖLÜM)
/* =============================================== */
footer {
    background-color: #212529 !important;
    color: #f8f9fa !important;
}
footer h5 {
    color: #ffffff;
    margin-bottom: 15px;
}
footer ul {
    padding-left: 0;
    list-style: none;
}
footer ul li {
    margin-bottom: 8px;
}
footer ul li a {
    color: #adb5bd !important;
    text-decoration: none;
    transition: color 0.3s ease;
}
footer ul li a:hover {
    color: #007bff !important;
}
.social-icons a {
    color: #f8f9fa !important;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

/* =============================================== */
/* 10. WHATSAPP VE YUKARI ÇIK BUTONLARI
/* =============================================== */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}
.whatsapp-button i {
    margin-right: 8px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #6c757d;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
/* =============================================== */
/* MOBİL İÇİN HERO BAŞLIĞI DÜZELTMESİ
/* =============================================== */
@media (max-width: 575.98px) { /* Çok küçük mobil ekranlar için */
    .hero-section h1 {
        font-size: 2.2rem; /* Başlık font boyutunu küçült */
        line-height: 1.2; /* Satır aralığını daralt (opsiyonel) */
    }
    .hero-section .lead {
        font-size: 1rem; /* Açıklama metni font boyutunu küçült */
    }
}

@media (min-width: 576px) and (max-width: 767.98px) { /* Küçük tablet ve orta boyutlu mobil ekranlar için */
    .hero-section h1 {
        font-size: 2.8rem; /* Başlık font boyutunu ayarla */
    }
}
/* =============================================== */
/* MOBİL MENÜ İÇİN EKSTRA HİZALAMA
/* =============================================== */
@media (max-width: 991.98px) {
    .navbar-collapse .navbar-nav {
        align-items: center !important; /* Mobil menü elemanlarını ortala */
    }
}