/* Tour Page Styles */
.tour-main {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.loading {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #8b7355;
}

.tour-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tour-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 32px;
    color: #8b7355;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.tour-price-below-page {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #8b7355;
    margin-bottom: 16px;
}

.tour-title-page {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #3a3a3a;
    margin-bottom: 20px;
    text-align: center;
}

.tour-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #8b7355;
    text-align: center;
}

.tour-meta-three-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.tour-meta-three-lines .tour-meta-line {
    display: block;
}

.tour-days {
    white-space: nowrap;
}

.tour-price {
    white-space: nowrap;
}

.tour-nights {
    display: none;
}

.tour-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 1.8;
    margin-bottom: 30px;
}

.tour-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 1.8;
    margin-bottom: 30px;
}

.tour-days-detail {
    margin-top: 48px;
    text-align: left;
}

/* Отдельный блок на каждый день */
.tour-day-item {
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(250, 248, 244, 0.8);
    border-radius: 12px;
    border-left: 4px solid #b8996e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Номер дня — жирный, отдельная строка */
.tour-day-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #8b7355;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* Название дня — жирный, крупнее основного текста */
.tour-day-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #3a3a3a;
    margin-bottom: 12px;
    line-height: 1.35;
}

/* Описание дня — обычный текст */
.tour-day-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #5a4a3a;
    line-height: 1.8;
    margin: 0;
}

.tour-actions {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .tour-main {
        padding: 40px 0;
    }
    
    .tour-carousel-container {
        margin-bottom: 40px;
        border-radius: 8px;
    }
    
    .tour-carousel {
        height: 350px;
    }
    
    .tour-title-page {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .tour-meta {
        font-size: 14px;
        gap: 8px;
        margin-bottom: 25px;
        flex-wrap: nowrap;
    }
    
    .tour-description,
    .tour-details {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .tour-day-item {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .tour-day-label {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .tour-day-title {
        font-size: 19px;
        margin-bottom: 10px;
    }
    
    .tour-day-description {
        font-size: 15px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .tour-actions {
        margin-top: 40px;
    }
    
    .tour-actions .cta-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tour-main {
        padding: 30px 0;
    }
    
    .tour-carousel {
        height: 280px;
    }
    
    .tour-title-page {
        font-size: 26px;
    }
    
    .tour-meta {
        font-size: 13px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .tour-description,
    .tour-details {
        font-size: 15px;
    }
    
    .tour-day-item {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .tour-day-label {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .tour-day-title {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .tour-day-description {
        font-size: 14px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
}
