/* Harita butonu hover durumunda Keşfet butonu gibi efektli beyaz arka plan */
.hero-style7 .btn-group .th-btn:not(.style2) {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.hero-style7 .btn-group .th-btn:not(.style2):hover {
    background-color: transparent !important;
    color: var(--title-color) !important;
    border: 1px solid var(--white-color);
}

/* Harita butonu için özel before pseudo-element - beyaz arka plan animasyonu */
.hero-style7 .btn-group .th-btn:not(.style2):before {
    background-color: var(--white-color) !important;
    width: 0;
    transition: width 0.5s ease;
}

.hero-style7 .btn-group .th-btn:not(.style2):hover:before {
    width: 110% !important;
}

.swiper-slide {
    height: auto !important;
}

.tour-box.style4 {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.tour-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.tour-box_img {
    flex-shrink: 0;
}

/* Video Banner Alanı Yüksekliğini Optimize Et */
.cantact-area6 {
    padding: 100px 0 !important;
    min-height: auto !important;
}

.cantact-area6 .container {
    max-width: 1200px;
}

.cantact-area6 .title-area {
    padding: 25px 30px !important;
}

.cantact-area6 .sec-title {
    font-size: 2.2rem !important;
    margin-bottom: 12px !important;
}

.cantact-area6 h3.sec-title {
    font-size: 1.6rem !important;
}

.video-box4 {
    height: auto !important;
    min-height: auto !important;
}

.video-box4 .play-btn {
    width: 90px !important;
    height: 90px !important;
    line-height: 90px !important;
}

@media (max-width: 991px) {
    .cantact-area6 {
        padding: 60px 0 !important;
    }

    .cantact-area6 .sec-title {
        font-size: 1.8rem !important;
    }
}

/* Arama Formu Responsive Boşlukları */
.hero-style7 .search-form-area .search-form {
    margin-right: 200px;
}

/* Tablet ve küçük ekranlar */
@media (max-width: 1199px) {
    .hero-style7 .search-form-area .search-form {
        margin-right: 120px;
    }
}

/* Orta tablet */
@media (max-width: 991px) {
    .hero-style7 .search-form-area .search-form {
        margin-right: 80px;
    }

    .hero-style7 .btn-group {
        margin-bottom: 15px;
    }
}

/* Küçük tablet ve mobil */
@media (max-width: 767px) {
    .hero-style7 .search-form-area .search-form {
        margin-right: 40px;
        margin-left: 0;
    }

    .hero-style7 .row .btn-group,
    .hero-style7 .row .search-form-area {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Çok küçük mobil */
@media (max-width: 575px) {
    .hero-style7 .search-form-area .search-form {
        margin-right: 20px;
        margin-left: 0;
    }
}

/* Mobil ekranlar için kategori başlıklarını ayarla */
@media (max-width: 767px) {
    .category-area4 .title-area .sub-title {
        font-size: 1.4rem !important;
    }

    .category-area4 .title-area .sec-title {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 575px) {
    .category-area4 .title-area .sub-title {
        font-size: 1.2rem !important;
    }

    .category-area4 .title-area .sec-title {
        font-size: 1.3rem !important;
    }
}

/* Lazy Loading Görsel Optimizasyonu */
.lazy-image-container {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.lazy-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
    pointer-events: none; /* Tıklamayı engelleme */
}

.lazy-image-container.loaded::before {
    animation: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.lazy-image.lazy-loading {
    opacity: 0;
}

.lazy-image.lazy-loaded {
    opacity: 1;
}

.lazy-image.lazy-error {
    opacity: 1;
    filter: grayscale(100%);
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Görsel yüklenme animasyonu için hafif bir fade-in */
.lazy-image-container.loaded .lazy-image {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
