/* Стили для прозрачной шапки */
header#header, 
#header, 
header, 
.fixed.top-0.left-0.right-0.z-30,
.transparent-header {
  background-color: transparent;
  transition: all 0.3s ease;
  z-index: 30;
  width: 100%;
  box-sizing: border-box;
  backface-visibility: hidden;
  transform: translateZ(0);
}

header#header.scrolled, 
#header.scrolled, 
header.scrolled, 
.fixed.top-0.left-0.right-0.z-30.scrolled,
.transparent-header.scrolled {
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

:where([class^="ri-"])::before { content: "\f3c2"; }
body {
font-family: 'Montserrat', sans-serif;
background-color: #1A1A1A;
color: #FFFFFF;
}

/* Корректировка для основного контента, учитывая высоту шапки */
main {
  position: relative;
  z-index: 10;
  overflow-x: hidden;
}

/* Стили для кнопки меню с белыми точками */
.menu-btn {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Стили для выпадающих меню профиля и логина */
#profileDropdown, #loginDropdown {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.25);
}

/* Эффект наведения для элементов выпадающего меню */
#profileDropdown a, #loginDropdown a {
  position: relative;
  transition: all 0.2s ease;
}

#profileDropdown a i, #loginDropdown a i {
  transition: transform 0.2s ease;
}

#profileDropdown a:hover i, #loginDropdown a:hover i {
  transform: translateX(3px);
}

/* Улучшенные стили для кнопок профиля */
#profileMenuToggle, #loginMenuToggle {
  transition: all 0.2s ease;
  position: relative;
}

#profileMenuToggle:hover, #loginMenuToggle:hover {
  background-color: #2D2D2D;
  transform: translateY(-2px);
}

#profileMenuToggle:active, #loginMenuToggle:active {
  transform: translateY(0);
}

/* Стиль для активной кнопки меню */
.active-menu-toggle {
  background-color: #2D2D2D !important;
  box-shadow: 0 0 0 2px rgba(255, 51, 51, 0.4);
}

.menu-btn-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 4px;
}

.dot {
  width: 4px;
  height: 4px;
  background-color: white;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease, width 0.3s ease;
}

/* Анимация точек при активации меню */
.mobile-menu.active ~ * .menu-btn .dot:nth-child(1),
header ~ .mobile-menu.active .menu-btn .dot:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  width: 12px;
  height: 2px;
  border-radius: 1px;
}

.mobile-menu.active ~ * .menu-btn .dot:nth-child(2),
header ~ .mobile-menu.active .menu-btn .dot:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active ~ * .menu-btn .dot:nth-child(3),
header ~ .mobile-menu.active .menu-btn .dot:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 12px;
  height: 2px;
  border-radius: 1px;
}

/* Анимация кнопки при ховере */
.menu-btn:hover {
  transform: scale(1.1);
}

.hero-section {
background-image: linear-gradient(to right, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.7)), url('../images/hero-bg.jpg');
background-size: cover;
background-position: center;
}
/* Стили для логотипа */
.navbar-item.logo img {
height: 70px;
width: auto;
object-fit: contain;
}

/* Адаптивные стили для логотипа */
@media (max-width: 768px) {
  .navbar-item.logo img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .navbar-item.logo img {
    height: 50px;
  }
}

.mobile-menu {
transform: translateX(-100%);
transition: transform 0.3s ease-in-out;
}
.mobile-menu.active {
transform: translateX(0);
}
.overlay {
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.overlay.active {
opacity: 1;
visibility: visible;
}
.mobile-menu .submenu {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Десктопное подменю в хедере */
/* Десктопное подменю: стабилизируем hover */
.nav-submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}
.group:hover > .nav-submenu,
.nav-submenu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Увеличим hit-area вокруг триггера, чтобы не терять hover */
.group { position: relative; }
.group > a { position: relative; z-index: 2; }
.nav-submenu { z-index: 3; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
display: none;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.custom-checkbox {
display: flex;
align-items: center;
cursor: pointer;
}
.custom-checkbox input {
position: absolute;
opacity: 0;
cursor: pointer;
}
.checkmark {
height: 20px;
width: 20px;
background-color: #2D2D2D;
border-radius: 4px;
position: relative;
border: 1px solid #3D3D3D;
transition: all 0.2s ease-in-out;
}
.custom-checkbox input:checked ~ .checkmark {
background-color: #FF3333;
border-color: #FF3333;
}
.custom-checkbox input:checked ~ .checkmark:after {
content: "";
position: absolute;
left: 7px;
top: 3px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
/* Стили для красного квадратного чекбокса */
.custom-checkbox input:checked ~ .checkmark.red-square {
background-color: #FF3333;
border-color: #FF3333;
border-radius: 0;
}
.custom-checkbox input:checked ~ .checkmark.red-square:after {
content: "";
position: absolute;
left: 6px;
top: 2px;
width: 6px;
height: 11px;
border: solid white;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.custom-checkbox:hover .checkmark {
background-color: #3D3D3D;
}
.custom-checkbox input:checked:hover ~ .checkmark {
background-color: #E62E2E;
}
.custom-switch {
position: relative;
display: inline-block;
width: 50px;
height: 24px;
}
.custom-switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #2D2D2D;
transition: .4s;
border-radius: 24px;
}
.slider:before {
position: absolute;
content: "";
height: 18px;
width: 18px;
left: 3px;
bottom: 3px;
background-color: white;
transition: .4s;
border-radius: 50%;
}
input:checked + .slider {
background-color: #FF3333;
}
input:checked + .slider:before {
transform: translateX(26px);
}
.custom-range {
-webkit-appearance: none;
width: 100%;
height: 6px;
border-radius: 5px;
background: #2D2D2D;
outline: none;
}
.custom-range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 18px;
border-radius: 50%;
background: #FF3333;
cursor: pointer;
}
.custom-range::-moz-range-thumb {
width: 18px;
height: 18px;
border-radius: 50%;
background: #FF3333;
cursor: pointer;
border: none;
}
.tab-switcher {
background-color: #2D2D2D;
border-radius: 9999px;
padding: 4px;
display: inline-flex;
}
.tab-switcher button {
border-radius: 9999px;
padding: 8px 16px;
font-weight: 500;
transition: all 0.3s ease;
}
.tab-switcher button.active {
background-color: #FF3333;
color: white;
}
.rating input {
display: none;
}
.rating label {
cursor: pointer;
width: 24px;
height: 24px;
margin: 0 2px;
position: relative;
display: inline-block;
}
.rating label:before {
content: "\ea77";
font-family: remixicon !important;
position: absolute;
color: #2D2D2D;
}
.rating input:checked ~ label:before,
.rating:not(:checked) label:hover:before,
.rating:not(:checked) label:hover ~ label:before {
content: "\ea77";
color: #FF3333;
}

.transparent-header {
  /* Уже определено выше */
}

.transparent-header.scrolled {
  /* Уже определено выше */
}

/* Анимация для индикатора скролла */
@keyframes scroll-down {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  60% {
    opacity: 1;
    transform: translateY(6px);
  }
  80% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}



/* Стили для поискового блока */
.search-box {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
}

.search-tools {
  display: flex;
  width: 100%;
  background-color: #fff;
  border-radius: 0.5rem;
}

.search-tools__destination,
.search-tools__service {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-tools__destination input,
.search-tools__service select {
  height: 56px;
  font-size: 16px;
  padding-left: 40px;
  background-color: transparent;
  border: none;
  width: 100%;
  color: #121212;
  font-weight: 400;
  outline: none;
  transition: all 0.2s ease;
}

.search-tools__destination input::placeholder,
.search-tools__service select::placeholder {
  color: #757575;
}

.search-tools__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.search-tools__divider div {
  height: 28px;
  width: 1px;
  background-color: #e0e0e0;
}

.search-btn {
  background-color: #FF3333;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 12px 24px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-left: 12px;
  height: 70px;
}

.search-btn:hover {
  background-color: #E62E2E;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-btn:active {
  transform: translateY(0);
}

/* Стили для иконок в инпутах */
.search-tools svg {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.search-tools input:focus + svg,
.search-tools select:focus + svg {
  opacity: 1;
}

/* Адаптивные стили для поискового блока */
@media (max-width: 768px) {
  .search-tools {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }
  
  .search-tools__divider {
    display: none;
  }
  
  .search-tools form {
    width: 100%;
  }
  
  .search-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
} 



 

/* Кастомный чекбокс с красным квадратиком */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #2D2D2D !important;
  border: 2px solid #6B7280 !important;
  border-radius: 0;
  cursor: pointer;
  position: relative;
}

.custom-checkbox:checked {
  background-color: #2D2D2D !important;
  border-color: #6B7280 !important;
}

.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #FF3333;
  border-radius: 0;
}

.custom-checkbox:focus {
  outline: 2px solid #FF3333;
  outline-offset: 2px;
}

/* Стили для поля загрузки файла */
.file-upload-container {
  position: relative;
  transition: all 0.3s ease;
}

.file-upload-container:hover {
  background-color: rgba(45, 45, 45, 0.9);
}

.file-upload-container.dragover {
  background-color: rgba(255, 51, 51, 0.1);
  border-color: #FF3333;
}

.file-upload-container input[type="file"] {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-container .upload-placeholder {
  transition: all 0.3s ease;
}

.file-upload-container:hover .upload-placeholder {
  color: #FF3333;
}

.file-upload-container .upload-placeholder i {
  transition: transform 0.3s ease;
}

.file-upload-container:hover .upload-placeholder i {
  transform: scale(1.1);
}

/* Стили для выбранных файлов */
.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.file-item {
  position: relative;
  background: rgba(255, 51, 51, 0.1);
  border: 1px solid rgba(255, 51, 51, 0.3);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
}

.file-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.file-item .file-info {
  flex: 1;
  min-width: 0;
}

.file-item .file-name {
  font-size: 12px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-item .file-size {
  font-size: 10px;
  color: #999;
}

.file-item .remove-file {
  background: rgba(255, 51, 51, 0.8);
  border: none;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.file-item .remove-file:hover {
  background: #FF3333;
  transform: scale(1.1);
}

/* Стили для иконок в полях ввода */
.input-with-icon {
  position: relative;
}

.input-with-icon input {
  padding-left: 3rem;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  transition: all 0.3s ease;
  pointer-events: none;
}

.input-with-icon input:focus + .input-icon {
  color: #FF3333;
  transform: translateY(-50%) scale(1.1);
}

.input-with-icon:hover .input-icon {
  color: #FF3333;
}

/* Анимация для иконок при фокусе */
.input-with-icon input:focus ~ .input-icon {
  animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconPulse {
  0%, 100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.2);
  }
} 