/* Mobilde slider sabit yükseklik */
@media (max-width: 768px) {
    .banner-section-two {
        min-height: 500px !important;
        max-height: 500px !important;
        overflow: hidden !important;
    }
    
    .banner-section-two .slide-item {
        min-height: 500px !important;
        max-height: 500px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .banner-section-two .content-box .title {
        white-space: normal !important;
        line-height: 1.2 !important;
    }
}

/* Tema turuncu butonlarını kırmızıya çeviren override'lar */

/* 1) Turuncu tema değişkenini kırmızı yap */
:root {
	--theme-color2: #1a225c;
	--bg-theme-color2: var(--theme-color2);
	--border-theme-color2: var(--theme-color2);
}

/* İçinde Link Olmayan UL/LI'lere Madde İşareti Ver */
ul:not(:has(a)) {
    list-style-type: disc !important;
    list-style-position: outside !important;
    padding-left: 25px !important;
    margin: 15px 0 !important;
}

ol:not(:has(a)) {
    list-style-type: decimal !important;
    list-style-position: outside !important;
    padding-left: 25px !important;
    margin: 15px 0 !important;
}

li:not(:has(a)) {
    list-style: inherit !important;
    display: list-item !important;
    margin-bottom: 8px !important;
    line-height: 1.6 !important;
}

/* İçinde Link Olan UL/LI'lerde Madde İşareti Olmasın */
ul:has(a) {
    list-style: none !important;
    padding-left: 0 !important;
}

ol:has(a) {
    list-style: none !important;
    padding-left: 0 !important;
}

li:has(a) {
    list-style: none !important;
    display: block !important;
}

/* Breadcrumb için özel kural - Madde işareti olmasın */
.page-breadcrumb {
    list-style: none !important;
    padding-left: 0 !important;
}

.page-breadcrumb li {
    list-style: none !important;
    display: inline-block !important;
    margin-bottom: 0 !important;
}

/* Tablo Stilleri - Normal Görünüm */
table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    background: #fff !important;
}

table th,
table td {
    border: 1px solid #ddd !important;
    padding: 12px 15px !important;
    text-align: left !important;
    vertical-align: top !important;
}

table th {
    background-color: #f8f9fa !important;
    font-weight: 600 !important;
    color: #333 !important;
}

table tr:nth-child(even) {
    background-color: #f9f9f9 !important;
}

table tr:hover {
    background-color: #f5f5f5 !important;
}

/* İçerik alanlarındaki tablolar */
.content-area table,
.text table,
.inner-column table,
article table,
.post-content table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Responsive tablo */
@media (max-width: 768px) {
    table {
        font-size: 12px !important;
    }
    
    table th,
    table td {
        padding: 8px 10px !important;
    }
}

/* 2) Çekirdek buton stillerini zorla */
.theme-btn.btn-style-one,
.btn-style-one {
	background: var(--bg-theme-color2) !important;
}

.btn-style-one.light:before,
.btn-style-one.light:after {
	background: var(--bg-theme-color2) !important;
}

.btn-style-two {
	border-color: var(--bg-theme-color2) !important;
	color: var(--bg-theme-color2) !important;
}

.btn-style-two:before {
	background: var(--bg-theme-color2) !important;
}

.btn-style-two:hover {
	color: #fff !important;
}

.btn-style-three {
	background: var(--bg-theme-color2) !important;
	border-color: var(--bg-theme-color2) !important;
}

.btn-style-three:before {
	background: var(--bg-theme-color2) !important;
}

.btn-style-three:hover {
	color: #fff !important;
}
.mobile-contact-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    display: none;
}

.mobile-contact-button {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    margin: 0;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-top: none;
    height: 55px;
    position: relative;
    overflow: hidden;
}

.mobile-contact-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: all 0.3s ease;
}

.mobile-contact-button:hover:before,
.mobile-contact-button:active:before {
    transform: translateY(0);
}

.mobile-contact-button:hover,
.mobile-contact-button:active {
    color: white;
    transform: translateY(-3px);
}

.call-button {
    background-color: #007C91;
    background-image: linear-gradient(135deg, #005a6b, #007C91);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-button {
    background-color: #25D366;
    background-image: linear-gradient(135deg, #128C7E, #25D366);
}

.mobile-contact-button i {
    font-size: 18px;
    margin-right: 6px;
    margin-bottom: 0;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.mobile-contact-button span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .mobile-contact-buttons {
        display: flex;
    }

    body {
        padding-bottom: 55px;
    }
}


@media (min-width: 769px) {
    .mobile-contact-buttons {
        display: none !important;
    }
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader__content {
    text-align: center;
    width: 90%;
    max-width: 300px;
    padding: 20px;
}

.preloader__logo {
    margin-bottom: 20px;
    width: 200px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.preloader__logo img {
    max-width: 300px;
    max-height: 300px;
    margin-bottom: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.preloader__title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    word-wrap: break-word;
}

.preloader__spinner {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.spinner-grow {
    width: 1.5rem;
    height: 1.5rem;
    animation-delay: calc(var(--bs-spinner-animation-speed) * 0.15);
}

.spinner-grow:nth-child(2) {
    animation-delay: calc(var(--bs-spinner-animation-speed) * 0.3);
}

.spinner-grow:nth-child(3) {
    animation-delay: calc(var(--bs-spinner-animation-speed) * 0.45);
}

@media (max-width: 768px) {
    .preloader__content {
        padding: 15px;
        max-width: 250px;
    }

    .preloader__logo {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .preloader__title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .spinner-grow {
        width: 1.2rem;
        height: 1.2rem;
    }
}

@media (max-width: 320px) {
    .preloader__content {
        padding: 10px;
        max-width: 200px;
    }

    .preloader__logo {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .preloader__title {
        font-size: 16px;
    }

    .spinner-grow {
        width: 1rem;
        height: 1rem;
    }
}

@media (max-width: 768px) {
  .page-title .title {
    font-size: 58px;
    color: #ffffff;
    margin-bottom: 17px;
  }
}

/* Google Yorumları Bölümü Stilleri - Butonlu Navigasyon */
.google-reviews-section {
    padding: 80px 0;
}

.reviews-container {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 20px;
}

.reviews-grid {
    display: flex;
    gap: 20px;
    overflow: visible;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.3s ease;
    cursor: grab;
    user-select: none;
    width: 100%;
    max-width: none;
}

.reviews-grid:active {
    cursor: grabbing;
}

.review-card {
    flex: 0 0 calc(16.666% - 17px);
    min-width: calc(16.666% - 17px);
    max-width: calc(16.666% - 17px);
    width: calc(16.666% - 17px);
}

.review-card-inner {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 320px; /* Minimum yükseklik azaltıldı */
    height: auto; /* Otomatik yükseklik */
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.review-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--theme-color1);
    transition: all 0.3s ease;
}

.review-card-inner:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.review-card-inner:hover::before {
    background: var(--theme-color2);
    height: 7px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--theme-color1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
}

.reviewer-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--theme-color1) !important;
    line-height: 1.4;
}

.google-icon {
    flex-shrink: 0;
    margin-left: 10px;
}

.review-rating {
    margin-bottom: 15px;
    display: flex;
    gap: 3px;
}

.review-rating .fa-star {
    font-size: 16px;
    color: #ddd;
    line-height: 1;
}

.review-rating .fa-star.filled {
    color: var(--theme-color2) !important;
}

.review-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.review-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 10px 0;
    word-wrap: break-word;
    hyphens: auto;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Scrollbar stilleri */
.review-excerpt::-webkit-scrollbar {
    width: 4px;
}

.review-excerpt::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.review-excerpt::-webkit-scrollbar-thumb {
    background: var(--theme-color1);
    border-radius: 2px;
}

.review-excerpt::-webkit-scrollbar-thumb:hover {
    background: var(--theme-color2);
}

.read-more-link {
    color: var(--theme-color1);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
    margin-top: auto;
}

.read-more-link:hover {
    color: var(--theme-color2);
    text-decoration: none;
}

.read-more-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more-link:hover i {
    transform: translateY(2px);
}

/* Navigasyon Butonları */
.reviews-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.nav-btn {
    background: var(--theme-color1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.nav-btn:hover {
    background: var(--theme-color2);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}





/* Responsive Tasarım - 6 Kart için Güncellendi */
@media (max-width: 1200px) {
    .review-card {
        flex: 0 0 calc(25% - 15px);
        min-width: calc(25% - 15px);
        max-width: calc(25% - 15px);
    }
    
    .review-card-inner {
        height: 380px;
    }
}

@media (max-width: 991px) {
    .review-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    
    .review-card-inner {
        padding: 25px;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .google-reviews-section {
        padding: 60px 0;
    }
    
    .review-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    
    .review-card-inner {
        padding: 20px;
        min-height: 280px;
        height: auto;
    }
    
    .reviewer-avatar {
        width: 45px;
        height: 45px;
    }
    
    .avatar-placeholder {
        font-size: 20px;
    }
    
    .reviewer-name {
        font-size: 15px;
    }
    
    .review-rating .fa-star {
        font-size: 14px;
    }
    
    .review-excerpt {
        font-size: 13px;
        transition: all 0.3s ease;
        overflow: hidden;
    }
}