
/* Стили для туров в модальных окнах - такие же как в tours.html */
.tour-details-sections {
    margin: 25px 0;
}

.highlight {
    background: linear-gradient(120deg, #a8e6cf 0%, #dcedc1 100%);
    padding: 4px 10px;
    border-radius: 20px !important;
    font-weight: 600;
    color: #2a5298;
    display: inline-block;
    font-weight: bold;
}

.price-highlight {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9) 0%, rgba(255, 142, 83, 0.9) 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* Стили для FAQ в модальных окнах */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #e8f4fc;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 15px 20px;
    max-height: 2000px;
}
        
       
        
        /* Page header*/
        .page-header {
            position: relative;
            height: 40vh;
            max-height: 400px;
            min-height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            margin-bottom: 40px;
            overflow: hidden;
        }

        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                        url('../picture/arhiv-turov.avif') no-repeat center center/cover;
            z-index: -1;
        }

        .page-header-content {
            max-width: 800px;
            padding: 0 20px;
            text-shadow: 0 0 10px rgba(211, 255, 58, 0.5);
            position: relative;
            z-index: 2;
        }
        
        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .page-description {
            font-size: 1.2rem;
            margin-bottom: 25px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
        }

        .book-now-btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--secondary-color);
            color: var(--dark-color);
            border-radius: 30px;
            font-weight: 600;
            text-transform: uppercase;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: var(--blue-shadow);
            text-decoration: none;
        }
        
        .book-now-btn:hover {
            background-color: #c4e635;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(211, 255, 58, 0.5);
        }
        
        /* Archive Notice */
        .archive-notice {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-left: 5px solid var(--primary-color);
            padding: 20px;
            border-radius: var(--border-radius);
            margin-bottom: 30px;
            text-align: center;
        }
        
        .archive-notice h3 {
            color: var(--primary-dark);
            margin-bottom: 10px;
        }
        
        .archive-notice p {
            color: var(--text-color);
            margin-bottom: 0;
        }
        
        /* Filters */
        .filters {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            background: white;
            padding: 20px;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
        }
        
        .filter-title {
            font-size: 1.2rem;
            color: var(--dark-color);
            font-weight: 600;
        }
        
        .filter-options {
            display: flex;
            gap: 15px;
        }
        
        .filter-btn {
            background: var(--light-color);
            border: 1px solid #ddd;
            padding: 8px 15px;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .filter-btn:hover, .filter-btn.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            box-shadow: var(--blue-shadow);
        }
        
        /* Tours grid */
        .tours-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .tour-card {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .tour-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .archive-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(108, 117, 125, 0.9);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 2;
        }
        
        .tour-card-image-container {
            height: 200px;
            overflow: hidden;
            position: relative;
        }
        
        .tour-card-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 30%;
            transition: transform 0.3s ease;
            filter: brightness(0.9);
        }
        
        .tour-card:hover .tour-card-image-container img {
            transform: scale(1.1);
        }
        
        .tour-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        
        .tour-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--dark-color);
        }
        
        .tour-date {
            color: #6c757d;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .tour-description {
            color: var(--text-color);
            margin-bottom: 20px;
            line-height: 1.6;
            flex-grow: 1;
        }
        
        .tour-footer {
            margin-top: auto;
        }
        
        .tour-price {
            font-size: 1.5rem;
            color: #6c757d;
            font-weight: bold;
            margin-bottom: 15px;
            text-align: center;
            padding: 10px;
            background: var(--light-color);
            border-radius: 8px;
            text-decoration: line-through;
        }
        
        .btn-details {
            display: block;
            background-color: #6c757d;
            color: white;
            padding: 12px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            width: 100%;
        }
        
        .btn-details:hover {
            background-color: #5a6268;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
        }

        .btn-report {
            display: block;
            background-color: var(--primary-color);
            color: white;
            padding: 12px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            text-align: center;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            width: 100%;
            margin-top: 10px;
            box-shadow: var(--blue-shadow);
        }
        
        .btn-report:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 103, 165, 0.5);
        }
        
        /* Back to tours */
        .back-to-tours {
            text-align: center;
            margin: 40px 0;
        }
        
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 12px 25px;
            border: 2px solid var(--primary-color);
            border-radius: 30px;
            transition: all 0.3s ease;
        }
        
        .back-link:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
            box-shadow: var(--blue-shadow);
        }

        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .modal-content {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 30px;
            max-width: 800px;
            width: 100%;
            position: relative;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-color);
            transition: color 0.3s ease;
            background: none;
            border: none;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .close-modal:hover {
            color: var(--primary-dark);
        }
        
        .modal-title {
            font-size: 1.8rem;
            color: var(--dark-color);
            margin-bottom: 20px;
            padding-right: 40px;
        }
        
        .modal-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: var(--border-radius);
            margin-bottom: 20px;
        }
        
        .details-list {
            list-style-type: none;
            margin-bottom: 25px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        
        .details-list li {
            margin-bottom: 10px;
            padding-left: 25px;
            position: relative;
        }
        
        .details-list li i {
            position: absolute;
            left: 0;
            top: 3px;
            color: var(--primary-color);
        }
        
        .modal-price {
            font-size: 1.8rem;
            color: #6c757d;
            font-weight: bold;
            text-align: center;
            padding: 15px;
            background: var(--light-color);
            border-radius: var(--border-radius);
            margin-bottom: 20px;
            text-decoration: line-through;
        }

        .tour-program {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin: 25px 0;
        }

        .day-item {
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e0e0e0;
        }

        .day-item h4 {
            color: var(--primary-dark);
            margin: 0;
            font-weight: 600;
            font-size: 18px;
        }

        .day-item p {
            color: var(--text-color);
            line-height: 1.6;
            margin: 0;
        }

        .highlight {
            background: linear-gradient(120deg, #a8e6cf 0%, #dcedc1 100%);
            padding: 4px 10px;
            border-radius: 20px !important;
            font-weight: 600;
            color: var(--primary-dark);
            display: inline-block;
            font-weight: bold;
        }

        .price-highlight {
            background: linear-gradient(135deg, rgba(255, 107, 107, 0.9) 0%, rgba(255, 142, 83, 0.9) 100%);
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 16px;
            box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
        }

        /* Photo Reports Section */
        .photo-reports {
            background: var(--light-color);
            padding: 60px 0;
            margin-top: 50px;
        }

        .photo-reports-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .photo-reports h2 {
            color: var(--primary-dark);
            margin-bottom: 20px;
            font-size: 2.2rem;
        }

        .photo-reports p {
            color: var(--text-color);
            margin-bottom: 30px;
            font-size: 1.1rem;
        }

        .vk-reports-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 15px 30px;
            background: var(--primary-color);
            color: white;
            border-radius: 30px;
            font-weight: 600;
            text-transform: uppercase;
            transition: all 0.3s ease;
            box-shadow: var(--blue-shadow);
            text-decoration: none;
            font-size: 1.1rem;
        }

        .vk-reports-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 103, 165, 0.4);
        }
        
        
        
        /* Кнопка "Наверх" */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background-color: var(--primary-color);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	box-shadow: var(--blue-shadow);
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
}

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background-color: var(--primary-dark);
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(211, 255, 58, 0.5);
        }

        /* Кнопка "Забронировать тур" */
.book-now-fixed {
	position: fixed;
	bottom: 30px;
	right: 100px;
	z-index: 1000;
	background: var(--primary-color);
	color: white;
	padding: 15px 25px;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	box-shadow: var(--blue-shadow-intense);
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
}

        .book-now-fixed:hover,
        .book-now-fixed:active {
            background: var(--secondary-color);
            color: var(--dark-color) !important;
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 5px 15px rgba(211, 255, 58, 0.5);
        }

        .book-now-fixed:active {
            transform: scale(1.1) translateY(2px);
            box-shadow: 0 3px 8px rgba(211, 255, 58, 0.7);
        }

        .site-logo {
            max-height: 50px;
            width: auto;
            object-fit: contain;
        }

        /* ИСПРАВЛЕНИЯ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ */

        
        /* Responsive */
        @media (max-width: 992px) {
            body.home-page nav ul {
    position: absolute !important;
    top: 60px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-radius: var(--border-radius) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 15px !important;
    display: none !important;
    flex-direction: column !important;
    min-width: 180px;
    max-width: 250px;
    z-index: 1000 !important;
    overflow-y: auto;
    max-height: 80vh;
  }
  
  body.home-page nav ul.show {
    display: flex !important;
  }
  
  body.home-page nav ul li {
    margin: 8px 0 !important;
  }
  
  body.home-page nav ul li a {
    text-align: right !important;
    display: block !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    width: 100%;
  }





            .tours-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .mobile-menu-btn {
                order: 3;           /* Перемещает бургер в конец */
                margin-left: auto;  /* Прижимает его к правому краю, занимая все свободное место */
                position: static;   /* Отменяет возможное абсолютное позиционирование */
            }

            .site-logo {
                order: 1;           /* Гарантирует, что логотип остается первым (слева) */
            }

            nav {
                order: 2;           /* Навигация будет между ними */
            }

            .details-list {
                grid-template-columns: 1fr;
            }

            .book-now-fixed {
                bottom: 90px;
                right: 20px;
                padding: 12px 20px;
                font-size: 14px;
            }

            /* Герой секция для планшетов*/
            .page-header {
                height: 35vh;
                min-height: 250px;
            }
            
            .page-header::before {
                background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                            url('../picture/arhiv-turov.avif') no-repeat center center/cover;
            }
            
            .page-header h1 {
                font-size: 2rem;
                margin-bottom: 15px;
            }
            
            .page-description {
                font-size: 1rem;
                margin-bottom: 20px;
            }
            
            .book-now-btn {
                padding: 10px 20px;
                font-size: 14px;
            }
        }
        
        @media (max-width: 768px) {
            .container {
                width: 95%;
                padding: 0 10px;
            }
            
            .page-header {
                height: 30vh;
                min-height: 200px;
            }
            
            /* ИСПРАВЛЕНИЕ КАРТИНКИ ДЛЯ МОБИЛЬНЫХ */
            .page-header::before {
                background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                            url('../picture/arhiv-turov.avif') no-repeat center center/cover;
            }
            
            /* ИСПРАВЛЕНИЕ ТЕКСТА ДЛЯ МОБИЛЬНЫХ */
            .page-header h1 {
                font-size: 1.6rem;
                margin-bottom: 12px;
                line-height: 1.3;
            }
            
            .page-description {
                font-size: 0.9rem;
                margin-bottom: 18px;
                line-height: 1.4;
                padding: 0 10px;
            }
            
            .book-now-btn {
                padding: 8px 16px;
                font-size: 12px;
            }
            
            .page-header-content {
                padding: 0 15px;
                width: 100%;
            }
            
            .filters {
                flex-direction: column;
                gap: 15px;
            }
            
            .filter-options {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .tours-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .book-now-fixed {
                bottom: 80px;
                right: 15px;
                padding: 10px 16px;
                font-size: 12px;
            }
            
            .site-logo {
                max-height: 40px;
                display: block;
            }

            .modal-content {
                padding: 20px;
                margin: 10px;
            }

            .modal-image {
                height: 200px;
            }

            .photo-reports {
                padding: 40px 0;
            }

            .photo-reports h2 {
                font-size: 1.8rem;
            }

            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
        }

        @media (max-width: 576px) {
            .page-header {
                height: 28vh;
                min-height: 180px;
            }
            
            /* ИСПРАВЛЕНИЕ КАРТИНКИ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ */
            .page-header::before {
                background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                            url('../picture/arhiv-turov.avif') no-repeat center center/cover;
            }
            
            /* ДОПОЛНИТЕЛЬНЫЕ ИСПРАВЛЕНИЯ ТЕКСТА ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ */
            .page-header h1 {
                font-size: 1.4rem;
                margin-bottom: 10px;
            }
            
            .page-description {
                font-size: 0.85rem;
                margin-bottom: 15px;
                padding: 0 10px;
            }
            
            .page-header-content {
                padding: 0 10px;
            }
            
            .vk-reports-btn {
                padding: 12px 25px;
                font-size: 1rem;
            }
            
            .book-now-fixed {
                bottom: 70px;
                right: 10px;
                padding: 8px 14px;
                font-size: 11px;
            }
            
            .logo img {
                height: 35px;
            }
        }

        @media (max-width: 400px) {

            
            /* ФИНАЛЬНЫЕ ИСПРАВЛЕНИЯ ТЕКСТА */
            .page-header h1 {
                font-size: 1.3rem;
                margin-bottom: 8px;
            }
            
            .page-description {
                font-size: 0.8rem;
                margin-bottom: 12px;
                line-height: 1.3;
                padding: 0 5px;
            }
            
            .book-now-btn {
                padding: 7px 14px;
                font-size: 11px;
            }
        }


/* Стили для модального окна, как в tours.html */
.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content img {
    display: block;
    margin: 0 auto 20px auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
}

.tour-details-sections {
    margin: 25px 0;
}

.tour-program {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.day-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.day-item h4 {
    color: #2a5298;
    margin: 0;
    font-weight: 600;
    font-size: 18px;
}

.day-item p {
    color: #455A64;
    line-height: 1.6;
    margin: 0;
}

.tour-summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tour-summary p {
    margin: 0;
    font-weight: 500;
}

.highlight {
    background: linear-gradient(120deg, #a8e6cf 0%, #dcedc1 100%);
    padding: 4px 10px;
    border-radius: 20px !important;
    font-weight: 600;
    color: #2a5298;
    display: inline-block;
    font-weight: bold;
}

.price-highlight {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.9) 0%, rgba(255, 142, 83, 0.9) 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* FAQ стили, как в tours.html */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #e8f4fc;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 15px 20px;
    max-height: 2000px;
}

.tour-title1 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-dark);
}
.program-title {
    color: #0067a5;
    margin-bottom: 15px;
}

