body {
  font-family: "Segoe UI", sans-serif !important;
  color: #222 !important;
}

/* ===== RESET ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #fafafa;
  color: #222;
}

/* ===== HEADER ===== */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
  box-shadow: 0 5px 8px -4px rgba(0, 0, 0, 0.2);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

/* ===== LOGO ===== */

.logo img {
  height: 90px;
  display: block;
}

/* ===== NAVIGATION ===== */

.nav__list {
  list-style: none;
  display: flex;
  gap: 19px;
  padding-top: 10px;
}

.nav a {
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  color: #333;
  padding: 10px 15px;
  border-radius: 18px;
  transition: 0.3s ease;
}

.nav a:hover {
  background: rgba(254,155,145,0.15);
  color: rgb(254,155,145);
}

/* ===== CUSTOM CITY DROPDOWN ===== */

.city-dropdown {
  position: relative;
  width: 190px;
  font-size: 15px;
  font-weight: 500;
}

.city-selected {
  padding: 10px 40px 10px 16px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  transition: 0.25s ease;
  position: relative;
}

.city-selected:hover {
  border-color: rgb(254,155,145);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.city-selected::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: translateY(-60%) rotate(45deg);
  transition: 0.3s;
}

.city-dropdown.active .city-selected::after {
  transform: translateY(-40%) rotate(-135deg);
}

.city-options {
  position: absolute;
  top: 115%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 2000;
}

.city-options div {
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.city-options div:hover {
  background: rgba(254,155,145,0.1);
  color: rgb(254,155,145);
}

.city-dropdown.active .city-options {
  display: flex;
}

/* ===== BURGER ===== */

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  width: 28px;
  height: 3px;
  background: #222;
  border-radius: 2px;
  transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MOBILE ===== */

@media (max-width: 1200px) {

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: #fff;
    padding: 140px 30px;
    transition: 0.3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
  }

  .nav__list {
    flex-direction: column;
    gap: 20px;
  }

  .nav.active {
    right: 0;
  }

  .burger {
    display: flex;
  }
}

/* ===== OVERLAY ===== */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ===== заголовок  ===== */

.section-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 36px;
  margin: 110px 0 40px;
  letter-spacing: 1px;
  color: #111;
}





/* ===== основная секция ===== */

.main {
  padding-top: 160px;
  text-align: center;
}




/* ===== Новостной блок ===== */

.news-section {
  max-width: 1000px;
  margin: 5px auto;
  position: relative;
}

/* ===== CAROUSEL DESKTOP ===== */

.news-carousel {
  padding: 0 15px 10px;
  display: flex;
  gap: 15px;

  overflow-x: auto;

  scrollbar-width: thin;
  scrollbar-color: rgb(0,156,139) transparent;

  -webkit-overflow-scrolling: touch;

  cursor: grab;
  user-select: none;

  scroll-behavior: auto;
}

/* Drag cursor */

.news-carousel:active {
  cursor: grabbing;
}

/* ===== Chrome scrollbar ===== */

.news-carousel::-webkit-scrollbar {
  height: 8px;
}

.news-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.news-carousel::-webkit-scrollbar-thumb {
  background: rgb(0,156,139);
  border-radius: 20px;
}

/* ❗ УБИРАЕМ SCROLLBAR BUTTONS (ВАЖНО) */

.news-carousel::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* ===== CARD ===== */

.news-card {
  flex: 0 0 calc((100% - 60px) / 5);

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Disable image drag */

.news-card img {
  width: 170px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;

  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* ===== MOBILE ===== */

@media (max-width: 700px) {

  .news-carousel {
    overflow-x: auto;
    padding: 0 10px;
  }

  .news-card {
    flex: 0 0 auto;
    padding: 0 5px;
    margin-bottom: 5px;
  }

  .news-card img {
    width: 100px;
    height: 150px;
    border-radius: 10px;
  }

}

/* ===== FULL SCROLLBAR RESET (100% FIX) ===== */

.news-carousel::-webkit-scrollbar {
  display: none;
}

.news-carousel {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Edge legacy */
}


/* ===== REMOVE TOP / BOTTOM SCROLLBAR ARROWS ===== */

.news-carousel::-webkit-scrollbar-button {
  display: none !important;
  height: 0;
  width: 0;
}

/* Дополнительная защита */

.news-carousel::-webkit-scrollbar-track-piece {
  background: transparent;
}

::-webkit-scrollbar-button {
  display: none !important;
}


.news-carousel {
  scrollbar-width: none !important;
}

.news-carousel::-webkit-scrollbar {
  display: none !important;
}
  
.news-carousel a {
  -webkit-user-drag: none;
  user-select: none;
}

.news-carousel img {

  pointer-events: none;
}

/* ===== Scroll Indicator ===== */

.news-scroll-indicator {
  width: 100%;
  height: 3px;
  background: rgba(0, 156, 139, 0.15);
  border-radius: 10px;
  margin-top: 16px;
  overflow: hidden;
}

.news-scroll-progress {
  height: 100%;
  width: 0%;
  background: rgb(0,156,139);
  border-radius: 10px;
  transition: width 0.1s linear;
}

/* ===== Mobile Scroll Indicator ===== */

@media (max-width: 1200px) {

  .news-scroll-indicator {
    width: 50%;      /* ← уменьши / увеличь (например 70%-90%) */
    margin: 16px auto 0;
  }

}

/* ===== Новостной блок Конец===== */




/*-- Модалка всплывашка при открытии --*/
/* Затемнение */
#city-modal-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    display: none;
    z-index: 9999;
}

/* Контейнер модалки */
.city-modal-container {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Контент */
.city-modal-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 320px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Кнопка закрытия */
.city-modal-close {
    position: absolute;
    right: 12px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

/* Заголовок */
.city-modal-title {
    margin: 0 0 20px 0;
}

/* Блок кнопок */
.city-modal-buttons {
    margin-top: 15px;
}

/* Кнопки */
.city-modal-btn {
    display: block;
    margin: 10px 0;
    padding: 12px;
    background: rgb(0,156,139);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
}

.city-modal-btn:hover {
    background: rgb(254,155,145);
}