@charset "utf-8";
@charset "utf-8";
/* CSS Document */
@font-face {
    font-family: 'Czizh Body';
    src: url('fonts/CzizhBody.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
	background-color: #e4d7c8;
}

/* Контейнер */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px; /* чтобы не прилипало к краям */
}

/* Шапка */
.header {
	width: 100vw;
    height: calc(100vw / 2);
    background: url("img/header_fon.png") center/cover no-repeat;
}

/* Верхняя панель */
.header__top {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Сам блок меню */
.header__top .container {
    display: flex;
    justify-content: center;
}

/* Стеклянное меню */
.menu {
    display: flex;
    align-items: center;
    gap: 35px;

    padding: 12px 30px;

    background: rgba(255 168 38 / 40%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius: 50px;

    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Пункты меню */
.menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: 0.3s;
}
.menu a.active {
    color: #e40500;
}

.menu a.active::after {
    width: 100%;
}
/* Анимация underline */
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

.menu a:hover::after {
    width: 100%;
}
/* Обертка */
.menu-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Бургер (по умолчанию скрыт) */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}
/* Анимация бургера */
.burger span {
    transition: 0.3s;
}

/* состояние актив */
.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Ховер */
.menu a:hover {
    opacity: 0.8;
}
/* Контент шапки */
.header__content {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Центрирование текста */
.header__content .container {
    text-align: center;
    color: #fff;
}

/* Чтобы якоря не прятались под меню */
section {
    padding-top: 90px;
}

/* Планшеты */
@media (max-width: 1024px) {
    .menu {
        gap: 20px;
        padding: 10px 20px;
    }

    .menu a {
        font-size: 14px;
    }
}

/* Мобилки */
@media (max-width: 768px) {

    .header__top {
        top: 10px;
    }

    .menu-wrap {
        justify-content: flex-end;
    }

    /* показываем бургер */
    .burger {
        display: flex;
    }

    /* меню превращается в выпадающее */
    @media (max-width: 768px) {

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: 0.3s;
    }

    .menu.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
		padding-top: 70px;
    }

    .menu a {
        font-size: 16px;
        color: #e40500;
    }
}
}

/* Маленькие экраны (360px) */
@media (max-width: 480px) {

    .menu {
        right: 5%;
    }

    .header__content h1 {
        font-size: 24px;
    }

    .header__content p {
        font-size: 14px;
    }
}




/*О Караване Победы*/

/* Блок */
.about {
    padding: 15px 20px;
}

/* Контейнер */
.about__container {
    max-width: 1300px;
    margin: 0 auto;
	height: 900px;
	background: url("img/about.png") no-repeat center top;
}

/* Текст */
.about__text {
    font-size: 23px;
    color: #222;
    font-family: 'Czizh Body', Arial, sans-serif;
    line-height: 1.7;
    padding-top: 100px;
    padding-left: 100px;
    padding-right: 100px;
	letter-spacing: 1px;
}

/* Абзацы */
.about__text p {
    margin-bottom: 20px;
}

/* Планшеты */
@media (max-width: 1024px) {
    .about {
        padding: 60px 20px;
    }

    .about__text {
        font-size: 18px;
    }
}

/* Мобилки */
@media (max-width: 768px) {
    .about {
        padding: 50px 15px;
    }

    .about__text {
        font-size: 18px;
        line-height: 1.2;
		padding-top: 120px;
    	padding-left: 40px;
    	padding-right: 40px;
    }
}

/* Маленькие экраны */
@media (max-width: 549px) {
    .about {
        padding: 40px 15px;
    }
	.about__container {
		background: none;
		height: auto;
	}

    .about__text {
        font-size: 16px;
		padding: 15px;
    }

    .about__text p {
        margin-bottom: 16px;
    }
}




/*МАРШРУТ ПРОБЕГА*/

.route {
    padding: 80px 20px;
}

.route__title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #222;
}

.route__container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

/* КОЛОНКИ */

/* Левая */
.route__left {
    width: 30%;
    padding: 30px 40px;
    border-right: 1px solid #222;
}

/* Правая */
.route__right {
    width: 80%;
    padding: 30px 40px;
    display: flex;
}
.route__right img {
	width: 100%;
}

/* КАРТА — чтобы не схлопывалась */
.route__map {
    width: 100%;
    min-height: 600px; /* ВАЖНО */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* ЛИНИЯ */
.route__timeline {
    position: relative;
    padding-left: 20px;
}

/*.route__timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}*/

/* ДНИ */
.route__day {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #e40500;
}

.route__day-block {
    margin-bottom: 20px;
}

/* ПУНКТЫ */
.route__item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.route__item::before {
    content: "";
    position: absolute;
    left: -2px;
    top: 6px;

    width: 8px;
    height: 8px;
    background: #e40500;
    border-radius: 50%;
}

.route__point {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.route__desc {
    font-size: 13px;
    color: #666;
}

.route__distance {
    font-size: 12px;
    color: #999;
}

#map {
    width: 100%;
    height: 600px;
}
@media (max-width: 949px) {
	.route__container {
		display: block; 
	}
	.route__left {
		width: 100%;
		padding: 10px 10px;
		border-right: none;
	}
	.route__title {
		text-align: left;
	}
	.route__right {
		display: none;
	}
}





/*галерея к прошлому автопробегу*/
.gallery {
    width: 100%;
    padding: 60px 20px;
    background: #f7f7f7;
}

.gallery__title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.gallery__wrapper {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.gallery__track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

.gallery__item {
    min-width: 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.gallery__item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery__caption {
    padding: 12px;
    font-size: 14px;
    color: #222;
	text-align: center;
}

.gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.gallery__arrow--left {
    left: 10px;
}

.gallery__arrow--right {
    right: 10px;
}

.gallery__arrow:hover {
    background: #e40500;
    color: #fff;
}
.lightbox {
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}

/* активное состояние */
.lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* картинка */
.lightbox__img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;

    transform: scale(0.8);
    transition: transform 0.4s ease;
}

/* анимация увеличения */
.lightbox.active .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}




/*Форма обратной связи*/

.after_form {
	max-width: 1200px;
	width: auto;
	margin: 0 auto 75px auto;
	font-size: 18px;
	line-height: 27px;
}
.after_form p {
	margin: 15px 0;
}
form {
  max-width: 1200px;
  margin: 20px auto;
  padding: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #ff0000 0%, #ffd29d 100%);
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
form .form-title {
  text-align: center;
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
form .form-container {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}
form .form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: white;
  font-size: 16px;
	padding-left: 20px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 18px 20px;
  height: 60px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 16px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-sizing: border-box;
}
input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}
input:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
}
form .checkbox-group {
  margin: 25px 0;
  text-align: center;
}
form .checkbox-group p {
  color: white;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 16px;
}
form .checkbox-group label {
  display: inline-block;
  margin: 0 15px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}
form .checkbox-group input[type="radio"]:hover + span {
  color: #ffeb3b;
}
form .privacy-section {
  margin: 30px 0;
  text-align: left;
}
form .checkbox-label {
  display: flex;
  align-items: center;
  justify-content: left;
  cursor: pointer;
  margin-bottom: 20px;
}
form .checkmark {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  margin-right: 12px;
  position: relative;
  transition: all 0.3s ease;
}
#privacyConsent:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}
#privacyConsent:hover + .checkmark {
  border-color: white;
  transform: scale(1.05);
}
.privacy-text {
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}
button.send {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 200px;
  margin: 0 auto;
  display: block;
}
button.send:disabled {
  background: linear-gradient(45deg, #a0a0a0, #808080);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
button.send:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}
#privacyConsent {
	display: none;
}
.count_people {
	display: flex;
	justify-content:space-between;
	flex-wrap: wrap;
	gap: 10px;
}
.count_people .adults,
.count_people .children {
	width: 48%;
}
#successMessage {
	color: #eb413b;
	font-size: 20px;
	text-align: center;
}

@media (max-width: 1199px) {
	.after_form {
		width: auto;
		margin: 0 10px;
	}
}
@media (max-width: 649px) {
	form .form-container {
		display: block;
	}
	input[type="text"],
	input[type="tel"],
	input[type="email"],
	input[type="number"] {
  	width: 100%;
	}
}




.notice {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}
.notice__container {
    max-width: 1200px;
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
    color: #666;
    background: transparent;
    border-top: 1px solid #e5e5e5;
}