/* Стили для страницы тура */
.tour-page {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-start;
}

.tour-content {
    flex: 1;
    min-width: 300px;
}

.tour-sidebar {
    width: 350px;
    min-width: 300px;
    position: sticky;
    top: 20px;
}

/* Заголовки секций */
.section-title {
    color: #1C2F64;
    font-weight: 800;
    font-size: 28px;
    margin: 40px 0 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #FB5607;
    border-radius: 2px;
}

/* Основная информация о туре */
.tour-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.tour-fact {
    flex: 1;
    min-width: 200px;
    background: #E8F0F7;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #FB5607;
    display: flex;
    flex-direction: column;
}

.tour-fact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tour-fact-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1C2F64;
    color: white;
    border-radius: 50%;
    font-size: 14px;
}

.tour-fact-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-button {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1C2F64;
    color: white;
    border: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.difficulty-dots {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.difficulty-dots__rating {
    display: flex;
    gap: 5px;
}

.difficulty-dots__item {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E8F0F7;
    border: 1px solid #1C2F64;
}

.difficulty-dots__item--active {
    background: #1C2F64;
}

.accommodation-comfort-item {
    padding: 5px 10px;
    background: #E8F0F7;
    border-radius: 20px;
    font-size: 14px;
}

/* Галерея изображений */
.tile-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
    margin: 20px 0;
}

.tile-gallery__picture {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.tile-gallery__picture:hover {
    transform: scale(1.03);
}

.tile-gallery__picture.is-large {
    grid-column: span 2;
    grid-row: span 2;
}

.tile-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-gallery__picture.is-blur {
    position: relative;
}

.tile-gallery__picture.is-blur::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(28, 47, 100, 0.7);
    z-index: 1;
    backdrop-filter: blur(2px);
}

.tile-gallery__image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 600;
    z-index: 2;
    text-align: center;
    font-size: 16px;
}

/* Карточки впечатлений */
.main-impressions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.main-impression-card {
    background: #E8F0F7;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.main-impression-card:hover {
    transform: translateY(-5px);
}

.main-impression-card__photo {
    height: 150px;
    overflow: hidden;
}

.main-impression-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-impression-card__body {
    padding: 15px;
}

.main-impression-card__title {
    font-weight: 700;
    margin: 0 0 10px;
    color: #1C2F64;
}

/* Программа тура */
.tour-program__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tour-expand-button {
    background: #1C2F64;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.tour-expand-button:hover {
    background: #FB5607;
}

.fluid-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #1C2F64;
    color: #1C2F64;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 20px;
}

.fluid-button:hover {
    background: #1C2F64;
    color: white;
}

.as-collapse {
    border: 1px solid rgba(28, 47, 100, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background: white;
}

.as-collapse__header {
    padding: 15px;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.as-collapse__header:hover {
    background: #E8F0F7;
}

.as-collapse__prepend {
    font-weight: 600;
    color: #FB5607;
    min-width: 70px;
}

.as-collapse__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.as-collapse__title {
    flex: 1;
}

.as-collapse__title-text {
    font-weight: 600;
    color: #1C2F64;
}

.as-collapse__close-btn {
    background: none;
    border: none;
    font-size: 16px;
    color: #1C2F64;
    cursor: pointer;
    transition: transform 0.3s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.as-collapse.is-active .as-collapse__close-btn {
    transform: rotate(180deg);
}

.as-collapse__body {
    padding: 15px;
    display: none;
}

.as-collapse.is-active .as-collapse__body {
    display: block;
}

.tile-gallery.is-small {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 100px;
}

/* Транспорт */
.tour-transports {
    margin-bottom: 30px;
}

.tour-transports__caption {
    display: flex;
    align-items: center;
    margin: 25px 0 15px;
    color: #1C2F64;
}

.tour-transports__row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.tour-transports__col {
    flex: 1;
    min-width: 250px;
}

.tour-transports__block {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(28, 47, 100, 0.1);
}

.tour-transports__list-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #1C2F64;
}

.tour-transports__list {
    list-style: none;
    padding: 0;
}

.tour-transports__list-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(28, 47, 100, 0.1);
}

.tour-transports__list-text {
    font-weight: 500;
}

.tour-transports__date {
    color: #FB5607;
    font-weight: 600;
}

.tour-transports__list-subtext {
    font-size: 14px;
    color: #666;
}

/* Условия тура */
.tour-conditions__info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.tour-conditions__info-col {
    flex: 1;
    min-width: 200px;
}

.tour-description-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(28, 47, 100, 0.1);
}

.tour-description-card__caption {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1C2F64;
}

.cost-list {
    padding-left: 20px;
}

.cost-list li {
    margin-bottom: 8px;
}

/* Боковая панель */
.sidebar-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(28, 47, 100, 0.08);
    border: 1px solid rgba(28, 47, 100, 0.1);
}

.sidebar-card-body {
    padding: 20px;
}

.sidebar-card-caption {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1C2F64;
    font-size: 18px;
}

.sidebar-resume__price {
    margin-bottom: 15px;
}

.sidebar-resume__price-value {
    font-size: 32px;
    font-weight: 700;
    color: #FB5607;
}

.sidebar-resume__price-desc {
    display: block;
    font-size: 14px;
    color: #666;
}

.booking-form {
    margin: 15px 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(28, 47, 100, 0.1);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #1C2F64;
}

.sidebar-resume__booking-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: #FB5607;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.sidebar-resume__booking-button:hover {
    background: #e05d00;
}

.sidebar-dates__list {
    list-style: none;
    padding: 0;
}

.sidebar-dates__item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(28, 47, 100, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-dates__date {
    font-weight: 600;
    color: #1C2F64;
}

.sidebar-dates__places {
    background: #E8F0F7;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 14px;
    color: #1C2F64;
}

.sidebar-contacts__list {
    list-style: none;
    padding: 0;
}

.sidebar-contacts__item {
    margin-bottom: 15px;
}

.sidebar-contacts__phone {
    font-weight: 600;
    color: #1C2F64;
    text-decoration: none;
    font-size: 18px;
}

.messengers-buttons {
    display: flex;
    gap: 10px;
}

.messengers-buttons__item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1C2F64;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.messengers-buttons__item:hover {
    background: #FB5607;
    transform: translateY(-2px);
}

/* SVG иконки */
.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.icon-sm {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 40px;
    height: 40px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .tour-sidebar {
        width: 100%;
        position: static;
    }
    
    .tour-facts {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-impressions {
        grid-template-columns: 1fr;
    }
    
    .tile-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tour-program__heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tour-transports__row {
        flex-direction: column;
    }
    
    .tour-conditions__info {
        flex-direction: column;
    }
}
.hidden-this
  {display: none;     
  }
#dates-show-more
  {cursor: pointer;
   text-decoration: underline;
   transition: all 0.5s;
   text-align: center;
   color: blue;
   margin-top: 12px;
  }
/*#dates-show-more:hover
  {font-weight: bold;    
  }
*/
