:root {
	--primary-color: #0067a5;
	--primary-dark: #005a8f;
	--secondary-color: #d3ff3a;
	--light-color: #F5F9FA;
	--dark-color: #434750;
	--text-color: #455A64;
	--border-radius: 16px;
	--box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	--highlight-color: #d3ff3a;
	--blue-shadow: 0 0 10px rgba(0, 103, 165, 0.4);
	--blue-shadow-intense: 0 0 15px rgba(0, 103, 165, 0.7);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	color: var(--text-color);
	background-color: #fff;
	line-height: 1.6;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: var(--primary-dark);
	transition: all 0.3s ease;
}

a:hover {
	color: var(--secondary-color);
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

        /* Page header */
        .page-header {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../picture/tours.avif') no-repeat center center/cover;
            color: white;
            padding: 80px 0;
            margin-bottom: 40px;
            text-align: center;
        }
        
        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            text-shadow: 0 0 10px 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);
        }
        
        .breadcrumbs {
            display: flex;
            justify-content: center;
            font-size: 0.9rem;
        }
        
        .breadcrumbs a {
            color: var(--secondary-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .breadcrumbs a:hover {
            color: white;
            text-shadow: 0 0 8px rgba(211, 255, 58, 0.7);
        }
        
        .breadcrumbs span {
            margin: 0 10px;
            color: #ccc;
        }
        
        /* 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;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

        .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: var(--primary-color);
            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: var(--primary-dark);
            font-weight: bold;
            margin-bottom: 15px;
            text-align: center;
            padding: 10px;
            background: var(--light-color);
            border-radius: 8px;
        }
        
        .btn-details {
            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%;
            box-shadow: var(--blue-shadow);
        }
        
        .btn-details:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(211, 255, 58, 0.5);
        }
        
        /* FAQ Section */
        .faq {
            background: white;
            border-radius: var(--border-radius);
            padding: 30px;
            margin-bottom: 50px;
            box-shadow: var(--box-shadow);
        }
        
        .faq-title {
            font-size: 2rem;
            color: var(--primary-dark);
            margin-bottom: 25px;
            text-align: center;
            position: relative;
        }
        
        .faq-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--primary-color);
            border-radius: 2px;
        }
        
        .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: auto;
    transition: max-height 0.5s ease, padding 0.3s ease;
        }
        
        .faq-answer.open {
            padding: 15px 20px;
            max-height: 2000px;
        }
        
        /* Модальное окно */
        .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;
        }
        
        .modal-content {
            background-color: white;
            border-radius: var(--border-radius);
            padding: 30px;
            max-width: 800px;
            width: 90%;
            position: relative;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }
        
        .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: var(--primary-dark);
            font-weight: bold;
            text-align: center;
            padding: 15px;
            background: var(--light-color);
            border-radius: var(--border-radius);
            margin-bottom: 20px;
        }
        
        .btn-book {
            display: block;
            background-color: var(--secondary-color);
            color: var(--dark-color);
            padding: 15px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            text-align: center;
            transition: all 0.3s ease;
            font-size: 1.1rem;
            border: none;
            cursor: pointer;
            width: 100%;
            box-shadow: var(--blue-shadow);
        }
        
        .btn-book:hover {
            background-color: #c4e635;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(211, 255, 58, 0.5);
        }
.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);
}
        

        /* Responsive */
        @media (max-width: 992px) {
            .tours-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            
            


        }
        
        @media (max-width: 768px) {
            .container {
                width: 95%;
                padding: 0 10px;
            }
            
 
            
            .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;
            }
            
            .modal-content {
                width: 95%;
                margin: 20px auto;
                padding: 20px;
            }
            
            .modal-image {
                height: 200px;
            }
        }
    
    
/* Кнопка "Наверх" */
    .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);
    }
    .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;
    }
    
    .tour-card:hover .tour-card-image-container img {
        transform: scale(1.1);
    }
    
    .tour-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }


.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;
}
/* Доп. адаптация для телефонов */
@media (max-width: 768px) {
    .modal-content img {
        max-width: 100%;
        max-height: 60vh;
    }
}
/* Модальное окно для формы записи */
.booking-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;
}

.booking-modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

/* Стили для плашки записи */
.booking-widget {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    margin: 20px auto;
    box-shadow: 0 10px 25px rgba(0, 103, 165, 0.2);
    max-width: 100%;
}

/* Логотип - УВЕЛИЧЕННЫЙ РАЗМЕР */
.booking-widget img {
    height: 65px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.booking-widget h3 {
    margin-top: 0;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.6rem;
    font-weight: 700;
}

.booking-widget p {
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Поля формы - ВЫРАВНИВАНИЕ ДЛИНЫ СТРОК */
.booking-widget form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.booking-widget input,
.booking-widget select {
    width: 100%;
    max-width: 400px;
    padding: 14px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    display: block;
    box-sizing: border-box;
}

.booking-widget input:focus,
.booking-widget select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 103, 165, 0.3);
    outline: none;
}

/* Кнопка */
.booking-widget button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    margin-top: 15px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
    box-shadow: var(--blue-shadow);
    display: block;
    box-sizing: border-box;
}

.booking-widget button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
}

/* Активная кнопка (форма заполнена) */
.booking-widget button.enabled {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* При наведении — не меняем цвет, а увеличиваем */
.booking-widget button.enabled:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(211, 255, 58, 0.6);
}

.small-text {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {

    
    .logo img {
        height: 35px !important;
        max-width: 150px;
    }
    

}


@media (max-width: 768px) {
    .booking-modal-content {
        padding: 20px;
    }
    
    .booking-widget {
        padding: 25px 15px;
        margin: 15px auto;
        border-radius: 15px;
    }
    
    .booking-widget img {
        height: 55px;
        margin-bottom: 12px;
    }
    
    .booking-widget h3 {
        font-size: 1.4rem;
    }
    
    .booking-widget input,
    .booking-widget select,
    .booking-widget button {
        max-width: 100%;
        padding: 12px;
        font-size: 14px;
    }
    
    .booking-widget button {
        padding: 14px;
        font-size: 15px;
    }
    
    .book-now-fixed {
        right: 20px;
        bottom: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Еще более маленькие экраны */
@media (max-width: 480px) {
    
    
    .logo img {
        height: 40px !important;
        max-width: 120px;
    }
    

    
    .book-now-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Фиксируем логотип в хедере */
.logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* --- Fix: адаптивность логотипа --- */
.logo img {
    max-height: 50px;
    width: auto;
}

@media (max-width: 1024px) {
    .logo img {
        max-height: 45px;
    }
}

@media (max-width: 768px) {
    .logo {
        display: flex !important;
        justify-content: center !important;
        margin: 10px 0;
    }
    .logo img {
        max-height: 40px;
    }
}
.site-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-logo {
        max-height: 40px;
        display: block;
        margin: 0 auto;
    }
}


.tour-details-sections {
    margin: 25px 0;
}

