/* Обычный */
@font-face {
	font-family: 'Helvetica'; 
	src: url(/TEMPLATES/komboticket/fonts/Helvetica.ttf); 
}
 
/* Жирный */
@font-face {
	font-family: 'Helvetica bold'; 
	src: url(/TEMPLATES/komboticket/fonts/Helvetica_bold.ttf); 
}

/* Обычный */
@font-face {
	font-family: 'Sysnova'; 
	src: url(/TEMPLATES/komboticket/fonts/syn-nova-normal.otf) format("opentype");
  font-style: normal;
}

/* Подключаем шрифт Inter в body */
body {
  margin: 0;
  font-family: 'Helvetica', sans-serif;
  background-color: #f8f8f8;
}

*, *::before, *::after {
  box-sizing: border-box;
}

input[type="text"] {
  font-family: inherit; /* 1 */
  font-size: inherit; /* 1 */
  line-height: inherit; /* 1 */
  margin: 0; /* 2 */
}


input[type="text"] {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #bdbdbd;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.flexbox {
    display: flex !important;
}   
.trdiv {
    /*display:table;*/
    width: 100%;
    display: flex;
}

.form .trdiv {
    margin: 10px 0;
}

.tdHover {
    /*display: table-cell;   */
    position: relative;
    flex: 0 0 auto;
    padding: 3px;
}
.w90{
    width:150px !important;
} 
.w150{
    width:150px !important;
} 
.w200{
    width:200px !important;
} 
.w300{
    width:300px !important;
} 
.w300one{
    width:300px !important;
}
.w400{
    width:300px !important;
} 
.w450{
    width:450px !important;
} 
.w450one{
    width:450px !important;
} 
.w100proc{
    width:100% !important;
} 



/* Ограничение максимальной ширины и центрирование */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Высота 80% экрана для основных разделов */
.hero {
  background: url('/TEMPLATES/komboticket/images/header.jpg') center/cover no-repeat;
  height: 80vh;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}


.hero .shape{
    background: url('/TEMPLATES/komboticket/images/shape.png') center / contain no-repeat;
    height: 43vh;
    min-height: 100px;
    position: absolute;
    top: 200px;
    left: 100px;
    width: 300px;
}

/* Верхнее меню с логотипом по центру */
.menu {
  position: absolute;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  color: #fff;
  pointer-events: auto;
}

.menu-left,
.menu-right {
  display: flex;
  gap: 15px;
}

.menu-logo{
    font-family: 'Sysnova', sans-serif;
    font-size: 40px;
    white-space: normal;
    width: 151px;
    text-align: center;
}

.menu-logo img {
  display: block;
  height: 40px;
}

/* Ссылки меню */
.menu-left a,
.menu-right a {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3px;
    font-weight: bold;
    font-size: 90%;
    transition: background 0.3s;
    white-space: nowrap;
}

.menu-left a:hover,
.menu-right a:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
}


  .menu-right .scrollToOrder{
    background: rgb(169 4 34) !important;
  }

  .reg-new-user-type{
    background: rgb(169 4 34) !important;
    padding: 5px 10px;
    cursor: pointer;
    width: 150px;
    text-align: center;
    color: #fff;
    margin: 0 auto;
    font-size: 120%;
}

  .newUserForm{
    margin: 30px auto 10px;
    position: relative;
    width: auto;
    width: 25%;
}

/* Иконки разделов */
.icons-section {
  background: url('/TEMPLATES/komboticket/images/map.png') center/cover no-repeat;
  height: 80vh;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: nowrap;
  position: relative;
  overflow: hidden;
}



/* Квадратные блоки 200x200 с фоном и эффектом наведения */
.icon-block {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 15px;
  box-sizing: border-box;
  color: white;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  box-shadow: -2px 2px 12px 0px #0073e680;
}

.icon-block:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Скрываем внутренний img (если есть) */
.icon-block img {
  display: none;
}

.icon-block p {
  margin: 0;
  font-size: 18px;
  position: relative;
  z-index: 2;
}

/* Затемнение фона и эффект при наведении */
.icon-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  border-radius: 20px;
  transition: background 0.3s ease;
  z-index: 1;
}

.icon-block:hover::before {
  background: rgba(0,0,0,0.6);
}


.icon-logo{
    font-family: 'Sysnova', sans-serif;
    font-size: 40px;
    white-space: normal;
    width: 151px;
    text-align: center;
}

/* Логотип в центре */
.icon-logo img {
  width: 100px;
  height: 100px;
  display: none;
  object-fit: contain;
  flex-shrink: 0;
}

/* Поиск */
.search-bar {
  padding: 20px;
  text-align: center;
  background: #fff;
}

.search-bar input {
  width: 300px;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Helvetica', sans-serif;
}

.search-bar button {
  padding: 10px 20px;
  border: none;
  background: #0073e6;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Helvetica', sans-serif;
}

.search-bar button:hover {
  background: #005bb5;
}

/* Кнопки тем - хаотично расставленные с анимацией */
.topics {
  height: 50vh;
  min-height: 300px;
  background: #fafafa;
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-family: 'Helvetica', sans-serif;
}

.topics .shape-right{
    background: url('/TEMPLATES/komboticket/images/shape-right.png') center / contain no-repeat;
    height: 43vh;
    min-height: 100px;
    position: absolute;
    top: 100px;
    right: 0px;
    width: 300px;
}

.topics .shape-left{
    background: url('/TEMPLATES/komboticket/images/shape-left.png') center / contain no-repeat;
    height: 43vh;
    min-height: 100px;
    position: absolute;
    top: 150px;
    left: 0px;
    width: 300px;
}

.carusel{
    background: #fafafa url(/TEMPLATES/komboticket/images/carusel.png) center / cover no-repeat;
    /* height: 130px; */
    width: 100%;
    height: 175px;
    margin-bottom: 20px;
}

.topics button {
  position: absolute;
  padding: 10px 15px;
  background: #ff9800;
  border: none;
  border-radius: 20px;
  color: #fff;
  cursor: pointer;
  transition: transform 1s ease, left 1s ease, top 1s ease, background-color 1s ease;
  white-space: nowrap;
  font-family: 'Helvetica', sans-serif;
}

.topics button:hover {
  transform: scale(1.1) rotate(5deg);
}


/* Видео-анимация */
.video-section {
  height: 87vh;
  min-height: 300px;
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  background: #fafafa;
  font-family: 'Helvetica', sans-serif;
}

.video-section .background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 1;
}

.video-section .video-overlay {
  position: relative;
  z-index: 2;
  padding: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: 10px;
}

.video-section .video-overlay h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}


/* Форма заявки */
.form {
  height: 70vh;
  min-height: 300px;
  background: #fafafa;
  padding: 40px;
  position: relative;
  overflow: hidden;
  font-family: 'Helvetica', sans-serif;
}

.form .title{
    font-size: 150%;
    font-weight: bold;
    text-align: center;
}

/* Футер */
footer {
  background: #222;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-family: 'Helvetica', sans-serif;
}

footer nav {
  margin-bottom: 10px;
}

footer a {
  color: #bbb;
  margin: 0 10px;
  text-decoration: none;
  font-family: 'Helvetica', sans-serif;
}

footer a:hover {
  color: #fff;
}

/* МЕДИА-ЗАПРОСЫ */

/* Экран от 1200px до 1920px */
@media (max-width: 1920px) {
  .container {
    padding: 0px;
  }
}

/* Планшеты (от 768px до 1199px) */
@media (max-width: 1199px) {
  .icons-section {
    height: 80vh;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    justify-content: center;
  }
  .icon-block {
    width: 150px;
    height: 150px;
    padding: 10px;
    font-size: 14px;
  }
  .icon-block p {
    font-size: 14px;
  }
  .icon-logo img {
    width: 80px;
    height: 80px;
  }
  .hero {
    height: 80vh;
  }
  .topics {
    height: 30vh;
    padding: 30px 10px;
  }
  .topics button {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Мобильные (до 767px) */
@media (max-width: 767px) {

.trdiv {
    width: 100%;
    display: block;
    margin: 5px 0;
    padding: 5px 0;
}


.tdHover {
    position: relative;
    flex: 0 0 auto;
    padding: 3px;
}

.tdHover select{
    width:100%;
}

  .w90{
    width:33% !important;
} 
.w150{
    width:100% !important;
} 
.w200{
    width:100% !important;
} 
.w300{
    width:100% !important;
} 
.w300one{
    width:100% !important;
} 
.w400{
    width:100% !important;
} 
.w450{
    width:100% !important;
} 
.w450one{
    width:100% !important;
} 
.w100proc{
    width:100% !important;
}  

.newUserForm {
    width: 100%;
}
  .icons-section {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }
.icon-block {
        width: 30vw;
        max-width: 150px;
        height: 20vw;
        max-height: 150px;
        margin: 10px auto;
        font-size: 16px;
    }
  .icon-block p {
    font-size: 16px;
  }
  .icon-logo img {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
  }

  .video-section .video-overlay {
    position: relative;
    z-index: 2;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.video-section .video-overlay h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}
.hero .shape {
    background: url(/TEMPLATES/komboticket/images/shape.png) center / contain no-repeat;
    height: 43vh;
    min-height: 76px;
    position: absolute;
    top: 302px;
    left: 61px;
    width: 232px;
}

footer a {
    color: #bbb;
    margin: 0 7px;
    text-decoration: none;
    font-family: 'Helvetica', sans-serif;
}
  .topics .shape-right {
    background: url(/TEMPLATES/komboticket/images/shape-right.png) center / contain no-repeat;
    height: 15vh;
    min-height: 69px;
    position: absolute;
    top: 80px;
    right: 0;
    width: 80px;
}

.topics .shape-left {
    background: url(/TEMPLATES/komboticket/images/shape-left.png) center / contain no-repeat;
    height: 15vh;
    min-height: 69px;
    position: absolute;
    top: 170px;
    left: 0;
    width: 90px;
}
.video-section {
    height: 20vh;
    min-height: 215px;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background: #000;
    font-family: 'Helvetica', sans-serif;
}


.carusel {
    height: 40px;
}
  .menu {
    position: static;
    justify-content: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.7);
    flex-wrap: wrap;
  }
  .menu-left,
  .menu-right {
    order: 2;
    width: 100%;
    justify-content: center;
  }
  .menu-logo {
        order: 1;
        margin-bottom: 10px;
        width: 100px;
        display: flex;
        justify-content: center;
        font-size: 24px;
    }
  .menu-left a,
  .menu-right a {
    padding: 8px 12px;
    font-size: 13px;
  }
  .search-bar input {
        width: 80%;
        max-width: none;
        margin: 5px auto;
    }
}
