/**
 * İlgili Turlar Bölümü CSS
 * Ana sayfadaki carousel kartları ile aynı tasarım
 */

.related-tours-section {
    padding: 60px 0 80px;
    background: var(--gray-50);
}

.related-tours-section .section_title {
    font-size: 26px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 25px;
}

.related-tours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Tour Item - Ana sayfadaki carousel kartları gibi */
.related-tours-section .tour-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.01);
    transition: none;
    display: flex;
    flex-direction: column;
}

.related-tours-section .tour-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Resim Alanı */
.related-tours-section .tour-images {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-tours-section .image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.related-tours-section .image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-tours-section .image-slide.active {
    opacity: 1;
}

.related-tours-section .image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3);
    transition: transform 0.4s ease;
}

.related-tours-section .tour-item:hover .image-slide img {
    transform: scale(1);
}

.related-tours-section .image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: all 0.3s ease;
}

.related-tours-section .tour-item:hover .image-nav {
    opacity: 1;
}

.related-tours-section .image-prev {
    left: 10px;
}

.related-tours-section .image-next {
    right: 10px;
}

.related-tours-section .image-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.related-tours-section .image-nav svg {
    color: var(--gray-700);
}

.related-tours-section .image-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.related-tours-section .image-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.related-tours-section .image-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Badges */
.related-tours-section .badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 4;
}

.related-tours-section .badge {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tur Bilgileri */
.related-tours-section .tour-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-tours-section .tour-category {
    color: var(--primary-orange);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.related-tours-section .tour-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.3;
    flex-grow: 1;
    text-shadow: none;
}

.related-price-container {
    margin-top: auto;
    margin-bottom: 10px;
    text-align: right;
}

.related-old-price-wrapper {
    min-height: 20px;
}

.related-current-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.related-tour-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-converted-price {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-500);
    display: inline-block;
    order: -1;
}

.related-tours-section .old-price {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-500);
    text-decoration: line-through;
    display: inline-block;
}

.related-tours-section .price-loading {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
}

.related-tours-section .tour-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    font-size: 11px;
    color: var(--gray-600);
}

.related-tours-section .tour-duration,
.related-tours-section .tour-departure {
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-tours-section .tour-duration svg,
.related-tours-section .tour-departure svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 1200px) {
    .related-tours-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .related-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-tours-section {
        padding: 40px 0 60px;
    }
    
    .related-tours-section .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .related-tours-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .related-tours-section .tour-title {
        font-size: 14px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .related-tours-grid {
        grid-template-columns: 1fr;
    }
}
