:root {
    --primary-blue: #0088e2;
    --primary-red: #c20000;
    --opacity-blue: #0088e231;
    --opacity-red: #c200002c;
    --soft-blue: #81c6ff;
    --soft-red: #ff8f8f;
    --dark-blue: #0073c0;
    --dark-red: #a30000;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.7)
        ),
        url("https://www.hasnerlaw.com/wp-content/uploads/2022/07/Can-Trucks-Drive-in-the-Left-Lane-in-Georgia.jpg")
            no-repeat fixed left center/cover;
    overflow-x: hidden;
}

/* Testimonial box için farklı arka plan desenleri */
.testimonial-box:nth-child(odd) {
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.384) 95%,
        var(--opacity-blue) 95%
    );
}

.card-blog {
    background: #ffffff46;
    border: 1px solid var(--bs-card-border);
    border-radius: 1.5rem;
    box-shadow: var(--bs-box-shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
    cursor: pointer;
    overflow: hidden;
}

.card-blog:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-blog .card-img-top {
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}

.card-blog:hover .card-img-top {
    filter: grayscale(0);
}

.card-blog-body {
    padding: 2rem;
    background: transparent;
}

/* Öne çıkan büyük kart stili */
.card-featured-large {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #e6f7ff56, #cceeff65);
    border: none;
}

.card-featured-large .card-img-top {
    height: 520px;
    /* Daha büyük görsel */
}

.card-featured-large .card-blog-body .card-title {
    font-size: 2rem;
    color: var(--bs-accent);
}

/* En çok okunan küçük kart stili */
.card-small-most-read {
    height: 100%;
    display: flex;
    background: linear-gradient(135deg, #e6f7ff56, #cceeff65);
    border: none;
}

.card-small-most-read .card-img-small {
    height: 160px;
    object-fit: cover;
    border-radius: 1rem;
    flex-shrink: 0;
}

.card-small-most-read .card-blog-body {
    padding: 1.5rem;
}

.card-small-most-read .card-blog-body .card-title {
    font-size: 1.25rem;
    color: var(--bs-accent);
}

/* Diğer Sayfa Stilleri */
#blog-detail-page {
    background-color: var(--bs-card-bg-opacity);
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: var(--bs-box-shadow);
    backdrop-filter: blur(5px);
}

#detail-image {
    border-radius: 1.5rem;
    object-fit: cover;
    width: 100%;
    max-height: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#detail-content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#detail-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.btn-creative {
    border-radius: 10rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-creative-primary {
    background-color: var(--bs-primary);
    color: #fff;
    border: none;
}

.btn-creative-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-creative-primary .ri-arrow-right-line {
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
}

.btn-creative-primary:hover .ri-arrow-right-line {
    transform: translateX(5px);
}

.btn-creative-back {
    color: var(--bs-accent);
    border-color: var(--bs-accent);
    background: transparent;
}

.btn-creative-back:hover {
    background-color: var(--bs-accent);
    color: #fff;
}

.form-control,
.form-control:focus,
.input-group-text {
    background-color: #ffffff46;
}

/* FAQ soru kutuları için farklı arka plan desenleri */
.faq-question:nth-child(odd) {
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.384) 93%,
        var(--opacity-red) 93%
    );
}

body {
    font-family: "Poppins", sans-serif;
    color: #333;
    overflow-x: hidden;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-brand span.blue {
    color: var(--primary-blue);
}

.navbar-brand span.red {
    color: var(--primary-red);
}

.nav-link {
    font-weight: 500;
    margin-left: 15px;
    position: relative;
}

.nav-link.active {
    color: var(--primary-red) !important;
    font-weight: 600;
}

.nav-link:after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to right,
        var(--primary-blue) 0%,
        var(--primary-blue) 30%,
        var(--primary-red) 100%
    );
    transition: width 0.3s;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.page-header {
    padding: 150px 0 20px;
    position: relative;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.breadcrumb {
    background: transparent;
    display: inline-flex;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--dark-red);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--dark-red);
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: var(--primary-blue);
}

.section-title h2:after {
    content: "";
    position: absolute;
    width: 70%;
    height: 3px;
    bottom: -10px;
    left: 15%;
    background: linear-gradient(
        to right,
        var(--primary-blue),
        var(--primary-red)
    );
}

.footer {
    background-color: var(--dark-gray);
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo span.blue {
    color: var(--soft-blue);
}

.footer-logo span.red {
    color: var(--soft-red);
}

.footer-about p {
    margin-bottom: 20px;
}

.footer-links .h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links .h4:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--soft-blue), var(--soft-red));
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links ul li a i {
    margin-right: 10px;
    color: var(--soft-blue);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Back to top button */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(
        to right,
        var(--primary-blue),
        var(--primary-red)
    );
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.back-to-top i {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .about-img {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .team-box {
        margin-bottom: 30px;
    }
}

/* Sıkça Sorulan Sorular */
.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    color: var(--dark-gray);
    background-color: white;
    padding: 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: var(--opacity-blue);
    box-shadow: none;
}

.accordion-body {
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #555;
    padding: 20px;
}

.blog-content h2 {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid #0d6efd;
    /* Mavi çizgi */
}
#blog-main-content {
    backdrop-filter: blur(1px);
}

.blog-card {
    background-color: transparent;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease-in-out;
}
#table-of-contents {
    background-color: #ffffff73;
    backdrop-filter: blur(2px);
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: #0d6efd !important;
}

/* İçindekiler listesi için özel stil */
#table-of-contents a {
    color: #212529;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

#table-of-contents a:hover {
    color: #0d6efd;
}

#toc-toggle {
    cursor: pointer;
    user-select: none;
    /* Metnin seçilmesini engelle */
}

.toc-icon {
    transition: transform 0.3s ease-in-out;
}

.toc-icon.rotated {
    transform: rotate(180deg);
}

.custom-badge {
    background-color: #ffffff70;
    border-radius: 20px;
    padding: 5px 20px;
}
.top-right-10 {
    top: 10px;
    right: -15px;
}
.bottom-left-10 {
    bottom: 10px;
    left: 10px;
}
.page-link {
    background-color: #ffffff8c;
}

/* Yeni Müşteri Yorumları Karusel Stilleri */
.testimonial-container {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.testimonial-container::-webkit-scrollbar {
    display: none;
}

.testimonial-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.review-card {
    flex: 0 0 auto;
    width: calc(100% - 2rem);
    max-width: 100%;
    scroll-snap-align: center;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.review-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.review-card .h5 {
    font-weight: 600;
    color: var(--primary-blue);
}

.review-card p.role {
    font-size: 0.9rem;
    color: #6c757d;
}

.testimonial-nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-nav-buttons button {
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 12px;
    border-radius: 9999px;
    transition-property: background-color;
    transition-duration: 200ms;
    margin: 0 8px;
    border: none;
    cursor: pointer;
}

.testimonial-nav-buttons button:hover {
    background-color: #cbd5e0;
}

.testimonial-nav-buttons button svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 640px) {
    .review-card {
        width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .review-card {
        width: calc(33.333% - 16px);
    }
}
