/* ═══════════════════════════════════════════════════════════════
   Baycar Custom CSS - Tüm sayfalarda ortak stiller
   ═══════════════════════════════════════════════════════════════ */

:root {
    --theme-color: #1952cc !important;
    --grey-bg: #f6f6f6 !important;
}

.btn-whatsapp-pulse {
    background: #25d366;
    color: white;
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    height: 0;
    padding: 35px;
    text-decoration: none;
    border-radius: 50%;
    animation-name: pulse;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    z-index: 999999 !important;
    pointer-events: auto;
    transform: translateZ(0);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    80% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

.btn-whatsapp-pulse-border {
    bottom: 120px;
    right: 20px;
    animation-play-state: paused;
}

.btn-whatsapp-pulse-border::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    padding: 25px;
    border: 5px solid #25d366;
    opacity: 0.75;
    animation-name: pulse-border;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

@keyframes pulse-border {
    0% { padding: 25px; opacity: 0.75; }
    75% { padding: 50px; opacity: 0; }
    100% { opacity: 0; }
}

.section-title span.sub-title {
    font-size: 13px;
    line-height: 19px;
    display: inline-block;
    font-weight: 500;
    margin-bottom: 15px;
    border-radius: 50px;
    color: var(--theme-color);
    padding: 5px 12px;
    background: rgb(44 59 255 / 10%);
    text-transform: uppercase;
    font-family: var(--secondary-font);
}

.slider.style_three .slide-item-content .slider_content h6 {
    font-size: 13px;
    line-height: 19px;
    display: inline-block;
    font-weight: 500;
    margin-bottom: 25px;
    border-radius: 50px;
    color: rgb(25, 82, 204);
    opacity: 0;
    text-transform: uppercase;
    font-family: var(--secondary-font);
    transition: all 0.9s ease-in-out 0s;
}

.car-type-outer-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    justify-content: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.featured-car-date-picker {
    margin-bottom: 35px !important;
}

.single-featured-car-book-btn {
    margin-top: 35px !important;
    gap: 15px;
}

.single-featured-car-book-btn .flex-fill {
    flex: 1 1 0%;
    min-width: 0;
}

.single-featured-car-book-btn .btn {
    width: 100%;
    padding: 12px 18px;
    font-weight: 500;
    border-radius: 6px;
    text-align: center;
}

@media (max-width: 576px) {
    .single-featured-car-book-btn {
        flex-direction: column;
        gap: 12px;
    }
}

.btn-style-three {
    background-color: #007bff;
    color: white;
}

.btn-style-four {
    background-color: #6c757d;
    color: white;
}

.btn-style-three:hover,
.btn-style-four:hover {
    opacity: 0.9;
}

.whatsapp-btn {
    background-color: #25D366 !important;
    color: white !important;
    border: none !important;
    font-weight: 500;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background-color: #20b058 !important;
    transform: translateY(-1px);
}

.call-btn {
    background-color: #000000 !important;
    color: white !important;
    border: none !important;
    font-weight: 500;
    transition: all 0.3s;
}

.call-btn:hover {
    background-color: #222222 !important;
}

.button-group-wrapper {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.call-now-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.call-now-btn:hover {
    background-color: #222222;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.call-now-btn i {
    font-size: 1.1rem;
}

.sticky_header .call-now-btn {
    padding: 8px 16px;
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════════
   Blog Sayfası Stilleri
   ═══════════════════════════════════════════════════════════════ */

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.blog-card .blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-card .blog-image .blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--theme-color);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card .blog-content {
    padding: 20px 25px 25px;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #888;
}

.blog-card .blog-meta i {
    margin-right: 5px;
    color: var(--theme-color);
}

.blog-card .blog-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-card .blog-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card .blog-title a:hover {
    color: var(--theme-color);
}

.blog-card .blog-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.blog-card .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--theme-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s;
}

.blog-card .blog-read-more:hover {
    gap: 10px;
    color: #143d99;
}

/* Blog Detail */
.blog-detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.blog-detail-content .blog-detail-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-detail-content .blog-detail-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.blog-detail-content .blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
    font-size: 14px;
    color: #666;
}

.blog-detail-content .blog-detail-meta i {
    margin-right: 6px;
    color: var(--theme-color);
}

.blog-detail-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.blog-detail-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 15px;
    color: #222;
}

.blog-detail-content ul,
.blog-detail-content ol {
    padding-left: 20px;
    margin-bottom: 18px;
}

.blog-detail-content li {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 8px;
}

/* Blog Sidebar */
.blog-sidebar .sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.blog-sidebar .sidebar-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--theme-color);
}

.blog-sidebar .category-list li {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-sidebar .category-list li:last-child {
    border-bottom: none;
}

.blog-sidebar .category-list li a {
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.blog-sidebar .category-list li a:hover {
    color: var(--theme-color);
}

.blog-sidebar .category-list li span {
    background: #f0f0f0;
    color: #666;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Blog CTA */
.blog-cta-box {
    background: linear-gradient(135deg, var(--theme-color), #143d99);
    color: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.blog-cta-box h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-cta-box p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin-bottom: 25px;
}

.blog-cta-box .btn-cta {
    display: inline-block;
    background: #fff;
    color: var(--theme-color);
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-cta-box .btn-cta:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-pagination a {
    background: #f0f0f0;
    color: #444;
}

.blog-pagination a:hover {
    background: var(--theme-color);
    color: #fff;
}

.blog-pagination .active {
    background: var(--theme-color);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   Hizmet Bölgeleri Stilleri
   ═══════════════════════════════════════════════════════════════ */

.region-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.region-card .region-image {
    position: relative;
    overflow: hidden;
    height: 240px;
    min-height: 240px;
}

.region-card .region-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.region-card:hover .region-image img {
    transform: scale(1.08);
}

.region-card .region-content {
    padding: 25px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.region-card .region-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.region-card .region-name a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.region-card .region-name a:hover {
    color: var(--theme-color);
}

.region-card .region-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.region-card .region-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--theme-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.3s;
}

.region-card .region-link:hover {
    gap: 10px;
}

.region-list-section .section-title {
    margin-bottom: 50px;
}

.region-list-section .row {
    margin-bottom: 50px;
}

/* Region Detail */
.region-detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.region-detail-content .region-detail-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.region-detail-content .region-detail-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}

.region-detail-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.region-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}

.region-cta-box {
    background: linear-gradient(135deg, var(--theme-color), #143d99);
    color: #fff;
    border-radius: 12px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.region-cta-box .cta-text h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.region-cta-box .cta-text p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin-bottom: 0;
}

.region-cta-box .btn-cta {
    display: inline-block;
    background: #fff;
    color: var(--theme-color);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.region-cta-box .btn-cta:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.blog-section {
    padding: 80px 0;
}

.blog-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.blog-empty-state h3 {
    font-size: 20px;
    color: #444;
    margin-bottom: 10px;
}

.blog-empty-state p {
    color: #888;
}

.blog-sidebar .sidebar-cta-wrapper {
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.blog-sidebar .sidebar-cta-wrapper .blog-cta-box {
    margin-top: 0;
}

.blog-sidebar .category-list li a.active-category {
    color: var(--theme-color);
    font-weight: 700;
}

/* Blog Detail Page - Extended */
.blog-detail-section {
    padding: 80px 0;
}

.blog-detail-body {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-detail-body h2,
.blog-detail-body h3,
.blog-detail-body h4 {
    color: #222;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-detail-body blockquote {
    border-left: 4px solid var(--theme-color);
    padding: 15px 25px;
    margin: 25px 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

/* Tags */
.blog-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-detail-tags .tag-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0f0f0;
    color: #555;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-detail-tags .tag-link:hover {
    background: var(--theme-color);
    color: #fff;
}

.blog-detail-tags .tag-link i {
    font-size: 11px;
}

/* Share Buttons */
.blog-detail-share {
    margin-top: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.blog-detail-share h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}

.share-whatsapp {
    background: #25d366;
}

.share-whatsapp:hover {
    background: #20b058;
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #166fe5;
}

/* Related Posts */
.related-posts-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.related-posts-section .section-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
}

.related-posts-section .blog-card {
    margin-bottom: 25px;
}

.related-posts-section .blog-title {
    font-size: 16px;
}

/* Sidebar Recent Posts */
.sidebar-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.sidebar-post-info h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
}

.sidebar-post-info h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-post-info h4 a:hover {
    color: var(--theme-color);
}

.sidebar-post-date {
    font-size: 12px;
    color: #888;
}

.sidebar-post-date i {
    margin-right: 4px;
    color: var(--theme-color);
}

/* Breadcrumb Links */
.breadcrumb-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-links li {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.breadcrumb-links li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-links li a:hover {
    color: #fff;
}

.breadcrumb-links li::after {
    content: '/';
    margin-left: 8px;
    opacity: 0.5;
}

.breadcrumb-links li:last-child::after {
    display: none;
}

/* Section Heading */
.section-heading {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
}

/* Blog Detail Responsive */
@media (max-width: 991px) {
    .blog-detail-section .row {
        flex-direction: column-reverse;
    }

    .blog-sidebar {
        margin-bottom: 40px;
    }

    .related-posts-section .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .blog-detail-section {
        padding: 40px 0;
    }

    .blog-detail-meta {
        gap: 12px;
    }

    .blog-detail-meta span {
        font-size: 12px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }

    .related-posts-section .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .breadcrumb-links {
        font-size: 13px;
    }
}

/* Region Map Box */
.region-map-box {
    margin-top: 30px;
}

.region-map-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.region-map-box h3 i {
    color: var(--theme-color);
}

.region-map-box iframe {
    border: 0;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Region Info Sidebar */
.region-info-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.region-info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.region-info-list li i {
    color: var(--theme-color);
    width: 20px;
    text-align: center;
}

.region-contact-btns {
    margin-top: 20px;
}

/* Related Regions Sidebar */
.sidebar-related {
    margin-top: 30px;
}

.related-regions-list {
    margin-top: 15px;
}

.related-region-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.related-region-item:last-child {
    border-bottom: none;
}

.related-region-item:hover {
    color: var(--theme-color);
}

.related-region-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-region-info {
    flex: 1;
    min-width: 0;
}

.related-region-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 3px;
}

.related-region-info small {
    color: #888;
    font-size: 13px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-region-item .fa-chevron-right {
    color: #ccc;
    font-size: 12px;
    flex-shrink: 0;
}

.related-region-item:hover .fa-chevron-right {
    color: var(--theme-color);
}

/* Region List Section */
.region-list-section .row {
    margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .blog-detail-content {
        padding: 25px 20px;
    }

    .blog-detail-content h2 {
        font-size: 22px;
    }

    .region-cta-box {
        flex-direction: column;
        text-align: center;
    }

    .region-detail-content {
        padding: 25px 20px;
    }

    .related-region-thumb {
        width: 50px;
        height: 50px;
    }
}
