/* style.css — стили для сайта Maqo */

html {
  scroll-behavior: smooth;
}

/* Skip link для доступности */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}

/* Отступ при прокрутке к якорям, чтобы фиксированный хедер не перекрывал заголовки */
#home,
#advantages,
#cottages,
#big-cottages,
#sectors-selection,
#gazebos-selection,
#fishing,
#fishing-map,
#pool,
#bath,
#contacts,
#booking {
  scroll-margin-top: 96px;
}

@media (max-width: 768px) {
  #home,
  #advantages,
  #cottages,
  #big-cottages,
  #sectors-selection,
  #gazebos-selection,
  #fishing,
  #fishing-map,
  #pool,
  #bath,
  #contacts,
  #booking {
    scroll-margin-top: 72px;
  }
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background: 
      radial-gradient(circle at 20% 80%, rgba(120, 200, 255, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 20%, rgba(255, 200, 120, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 40%, rgba(120, 255, 200, 0.05) 0%, transparent 50%),
      linear-gradient(135deg, #f8fafd 0%, #e8f4fd 25%, #f0f8ff 50%, #e6f3ff 75%, #f8fafd 100%);
    background-attachment: fixed;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    min-height: 100vh;
    position: relative;
  }

  /* Добавляем тонкую текстуру */
  body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 1px 1px, rgba(255,255,255,0.3) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
    animation: textureMove 20s linear infinite;
  }

  /* Анимация для текстуры */
  @keyframes textureMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
  }

  /* Анимация для основного фона */
  @keyframes backgroundShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  body {
    animation: backgroundShift 30s ease infinite;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    color: #003d73;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .header.header--scrolled { padding: 10px 0; box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
  .header.header--scrolled .logo-img { 
    height: 48px;
    filter: 
      drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08))
      brightness(1.05)
      contrast(1.02)
      saturate(1.05);
    opacity: 0.95;
    mix-blend-mode: normal;
  }
  
  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav {
    display: flex;
    gap: 8px;
    margin: 0;
    flex-wrap: nowrap;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  
  .nav a {
    color: #003d73;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    font-size: 14px;
    letter-spacing: 0.3px;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    overflow: hidden;
  }
  
  .nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00a0ba, #008fa6);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
    z-index: -1;
  }
  
  .nav a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  .nav a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 160, 186, 0.3);
  }
  
  .nav a:hover::before {
    opacity: 1;
  }
  
  .nav a:hover::after {
    width: 100%;
    height: 100%;
  }
  
  .nav a:active {
    transform: translateY(0);
  }
  
  /* Удаляем дублирующий стиль - оставляем только анимированный */
  
  .hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  /* Удаляем дублирующий стиль - оставляем только улучшенный */
  
  .section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 0;
    margin: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .section:nth-child(even) {
    background: rgba(248, 250, 253, 0.8);
  }

  /* Специальные стили для hero-секции */
  #home {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  
  .section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #003d73;
    text-align: center;
  }
  
  .gallery {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
  }
  
  .gallery img {
    max-width: 300px;
    flex-shrink: 0;
    border-radius: 8px;
    scroll-snap-align: center;
    transition: transform 0.3s;
  }
  
  .gallery img:hover {
    transform: scale(1.03);
  }
  
  .map iframe {
    border: none;
    width: 100%;
    height: 300px;
  }
  
  .footer {
    background-color: #003d73;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
  }
  
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 32px;
    }
  
    .hero p {
      font-size: 18px;
    }
  
    .nav {
      flex-direction: row;
      align-items: center;
      flex-wrap: nowrap;
      overflow-x: auto;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
    }
  
    .gallery {
      justify-content: flex-start;
    }
  
    .gallery img {
      max-width: 80%;
      margin: 0 auto;
    }
  }
  


@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero {
  background: linear-gradient(-45deg, #005fa3, #007bff, #00c6ff, #005fa3);
  background-size: 600% 600%;
  animation: gradientFlow 15s ease infinite;
  color: white;
  text-align: center;
  padding: 100px 20px;
}





@keyframes sectionFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



/* Рыбалка */
#fishing {
  background: linear-gradient(-45deg, #e0f7fa, #b2ebf2, #e0f7fa, #b2ebf2);
  background-size: 400% 400%;
  animation: fishingFlow 20s ease infinite;
}

@keyframes fishingFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Бассейн */
#pool {
  background: linear-gradient(-45deg, #e3f2fd, #90caf9, #e3f2fd, #90caf9);
  background-size: 400% 400%;
  animation: poolFlow 20s ease infinite;
}

@keyframes poolFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Баня */
#bath {
  background: linear-gradient(-45deg, #f3e5f5, #ce93d8, #f3e5f5, #ce93d8);
  background-size: 400% 400%;
  animation: bathFlow 20s ease infinite;
}

@keyframes bathFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* Модальное окно при клике на фото */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px #fff;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


.language-flags {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 12px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.language-flags img {
  width: 28px;
  height: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.language-flags img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 160, 186, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.language-flags img:hover {
  transform: scale(1.15) translateY(-2px);
  border-color: #00a0ba;
  box-shadow: 0 6px 20px rgba(0, 160, 186, 0.3);
}

.language-flags img:hover::before {
  opacity: 1;
}

.language-flags img:focus {
  outline: 2px solid #00a0ba;
  outline-offset: 2px;
}

.language-flags img.active {
  border: 2px solid #00a0ba;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 160, 186, 0.2);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}




.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  flex: 1;
}

.header-left .logo-img {
  height: 60px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: 
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15))
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1))
    brightness(1.1)
    contrast(1.05)
    saturate(1.1);
  opacity: 1;
  mix-blend-mode: normal;
}

.header-left .logo-img:hover {
  transform: scale(1.05) translateY(-2px);
  filter: 
    drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2))
    drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15))
    brightness(1.15)
    contrast(1.1)
    saturate(1.2);
  opacity: 1;
  mix-blend-mode: normal;
}

.header-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}


.burger {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
  color: #003d73;
  padding: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.burger::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #00a0ba, #008fa6);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  z-index: -1;
}

.burger:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 160, 186, 0.3);
}

.burger:hover::before {
  opacity: 1;
}

.burger:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .burger {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
  }

  .header-layout {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
  }

  .header-left, .header-center, .header-right {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .header-center {
    order: 2;
    display: block;
    flex-direction: column;
    width: 100%;
    position: relative;
  }

  /* .nav.active is controlled via max-height transition below */

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    padding: 10px 12px 12px;
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(0,0,0,0.06);
    border-top: none;
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 1001;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav a {
    padding: 10px 8px;
    border-radius: 10px;
    text-align: center;
    background: rgba(0, 160, 186, 0.06);
    border: 1px solid rgba(0, 160, 186, 0.16);
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.2px;
    white-space: nowrap;
  }

  .nav.active {
    max-height: 70vh;
  }

  .nav a:hover {
    background: rgba(0, 160, 186, 0.2);
    transform: translateX(5px);
  }

  .language-flags {
    order: 3;
    margin: 10px 0;
    padding-left: 20px;
  }
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 22px;
  margin-bottom: 30px;
  animation: fadeInUp 1.2s ease;
}

.btn-primary {
  background-color: #00bcd4;
  color: white;
  padding: 14px 28px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #0097a7;
}

/* Unified button styles for manager and actions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, #00a0ba, #008fa6);
  color: #fff;
}
.btn--primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,160,186,0.25);
}
.btn--secondary {
  background: #eef6fb;
  color: #003d73;
  border-color: #d6e9f5;
}
.btn--secondary:hover {
  background: #e3f1f8;
  transform: translateY(-1px);
}
.btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.swiper {
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto 8px;
  padding: 12px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 360px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s ease;
}

.swiper-slide:hover img {
  transform: scale(1.03);
}

.swiper-button-next, .swiper-button-prev {
  color: #00a0ba;
  background: none;
  padding: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  box-shadow: none;
}

.swiper-button-next:after, .swiper-button-prev:after { font-size: 18px; }

.swiper-button-next:hover, .swiper-button-prev:hover {
  color: #007bff;
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  background: #cfe8f4;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #00a0ba;
}

@media (max-width: 768px) {
  .swiper-slide { height: 240px; }
}

@media (max-width: 480px) {
  .swiper-slide { height: 180px; }
}

.centered-text {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  margin: 40px auto;
  max-width: 800px;
  padding: 0 20px;
}

.center-button {
  display: flex;
  justify-content: center;
  margin: 40px auto;
}

.social-block a.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.social-block a.instagram-link:hover {
  color: #E4405F;
  transform: scale(1.05);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px; 
  z-index: 1000;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.whatsapp-float:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #128C7E, #25D366);
}
.whatsapp-float:active {
  transform: scale(1.05);
}
.whatsapp-float svg {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Специально для секции бронирования */
#booking h2 {
  margin-bottom: 10px; /* меньшее расстояние после заголовка */
}

#booking iframe {
  margin-top: 0; /* убираем дополнительный отступ сверху */
  display: block;
}

.hero-subtitle {
  font-size: 22px;
  margin-bottom: 20px;
  line-height: 1.5;
  animation: fadeInUp 1.2s ease;
}

.hero-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
  animation: fadeInUp 1.4s ease;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Блок преимуществ */
#advantages {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  text-align: center;
}

#advantages h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #003d73;
  position: relative;
}

#advantages h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #00bcd4;
  margin: 12px auto 0;
  border-radius: 3px;
}

.advantages-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px;
  max-width: 600px;
  text-align: left;
}

.advantages-list li {
  font-size: 18px;
  margin: 12px 0;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.advantages-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00bcd4;
  font-weight: bold;
}

.highlight-text {
  font-size: 20px;
  margin-top: 20px;
  color: #005fa3;
}

.cottages-description {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  text-align: left;
}

.cottages-description h3 {
  margin-top: 20px;
  font-size: 22px;
  color: #003d73;
}

.cottages-description ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 25px;
}

.cottages-description ul li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}

.cottages-description ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00bcd4;
  font-weight: bold;
}

.prices {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.price-card {
  background: #ffffff;
  border: 2px solid #00bcd4;
  border-radius: 10px;
  padding: 20px;
  width: 240px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card h4 {
  margin-bottom: 12px;
  font-size: 20px;
  color: #005fa3;
}

.price-card p {
  margin: 6px 0;
  font-size: 18px;
}

.note {
  font-size: 16px;
  color: #666;
  margin-top: 15px;
}

.highlight-text {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #005fa3;
}

.price-card h4 {
  margin-bottom: 10px;
  font-size: 22px;
  color: #003d73;
}

/* Таблица с рыбами */
.fish-table-container {
  margin: 30px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fish-season-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.fish-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #495057;
}

.fish-tab:hover {
  border-color: #00a0ba;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 160, 186, 0.2);
}

.fish-tab.active {
  background: linear-gradient(135deg, #00a0ba, #007bff);
  color: white;
  border-color: #00a0ba;
  box-shadow: 0 5px 20px rgba(0, 160, 186, 0.3);
}

.tab-icon {
  font-size: 20px;
}

.tab-text {
  font-size: 16px;
}

.fish-content {
  position: relative;
  min-height: 400px;
}

.fish-season-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.fish-season-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fish-table-wrapper {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.fish-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.fish-table thead {
  background: linear-gradient(135deg, #003d73, #005fa3);
  color: white;
}

.fish-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid #00a0ba;
}

.fish-table th:first-child {
  text-align: center;
  width: 60px;
}

.fish-table th:nth-child(2) {
  width: 150px;
}

.fish-table th:nth-child(3) {
  width: 200px;
}

.fish-table th:nth-child(4),
.fish-table th:nth-child(5) {
  width: 100px;
  text-align: center;
}

.fish-table th:last-child {
  width: 120px;
}

.fish-table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid #e9ecef;
}

.fish-table tbody tr:hover {
  background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(0, 160, 186, 0.2);
}

.fish-table tbody tr:nth-child(even) {
  background: #fafbfc;
}

.fish-table tbody tr:nth-child(even):hover {
  background: linear-gradient(135deg, #f1f3f4, #e8f4fd);
}

.fish-table td {
  padding: 12px;
  vertical-align: middle;
}

.fish-icon-cell {
  text-align: center;
  font-size: 20px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.fish-name {
  font-weight: 700;
  color: #003d73;
  font-size: 17px;
}

.fish-description {
  color: #6c757d;
  font-size: 15px;
  line-height: 1.4;
}

.fish-size,
.fish-weight {
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: #495057;
}

.fish-features {
  font-size: 14px;
  color: #495057;
  font-weight: 500;
  text-align: center;
}

.winter-special {
  background: linear-gradient(135deg, #e3f2fd, #f8f9fa) !important;
}

.winter-special:hover {
  background: linear-gradient(135deg, #d1ecf1, #e3f2fd) !important;
}

.winter-badge {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}

.fish-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00a0ba, #007bff);
  border-radius: 50%;
  color: white;
}

.stat-text h4 {
  margin: 0 0 5px 0;
  color: #003d73;
  font-size: 16px;
  font-weight: 600;
}

.stat-text p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.yt-link {
  color: #e53935;
  font-weight: 600;
  text-decoration: none;
}

.yt-link:hover {
  text-decoration: underline;
}

#bath ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 25px;
}

#bath ul li {
  position: relative;
  padding-left: 28px;
  margin: 8px 0;
}

#bath ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ab47bc; /* фиолетовый акцент для бани */
  font-weight: bold;
}

/* Интерактивная карта рыбалки */
#fishing-map h2 {
  margin-bottom: 10px;
}

.fishing-subtitle {
  margin: 0 auto 16px;
  max-width: 760px;
  color: #456;
  text-align: center;
}

#fishing-map .map-board {
  position: relative;
  width: 100%;
  margin: 0 auto 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  background: linear-gradient(180deg, #eaf7fb, #fff);
}

#fishing-map .map-image {
  display: block;
  width: 100%;
  height: auto;
}

#fishing-map .map-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Единый блок карты и выбора */
.territory-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.territory-block .map-column,
.territory-block .selection-column {
  min-width: 0;
}

.selection-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  padding: 20px;
  margin-bottom: 16px;
}

.selection-card h3 {
  margin: 0 0 8px 0;
  color: #003d73;
}

.selection-card .fishing-subtitle {
  margin-bottom: 16px;
}

.territory-block .selection-grid {
  max-width: none;
  margin: 0;
}

@media (max-width: 992px) {
  .territory-block {
    grid-template-columns: 1fr;
  }
}

/* Размещение карточек выбора рядом (две колонки) */
.selection-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 768px) {
  .selection-column {
    grid-template-columns: 1fr;
  }
}

#fishing-map .lake-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Adapt transforms to apply to both image or svg */
#fishing-map .map-board .map-image,
#fishing-map .map-board .lake-svg {
  transform-origin: 0 0;
  will-change: transform;
}

/* Сетка выбора */
.selection-grid {
  max-width: 800px;
  margin: 0 auto;
}

.sectors-grid, .gazebos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 12px;
  margin: 20px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.sector-btn, .gazebo-btn {
  padding: 12px 8px;
  border: 2px solid #00a0ba;
  background: white;
  color: #00a0ba;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.sector-btn:hover, .gazebo-btn:hover {
  background: #00a0ba;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 160, 186, 0.3);
}

.sector-btn.selected, .gazebo-btn.selected {
  background: #34c759;
  border-color: #34c759;
  color: white;
}

.sector-btn.booking, .gazebo-btn.booking {
  background: #ff9800;
  border-color: #ff9800;
  color: white;
  cursor: not-allowed;
}

.sector-btn.booking:hover, .gazebo-btn.booking:hover {
  background: #ff9800;
  transform: none;
  box-shadow: none;
}

.sector-btn.busy, .gazebo-btn.busy {
  background: #ff7676;
  border-color: #ff7676;
  color: white;
  cursor: not-allowed;
}

.sector-btn.busy:hover, .gazebo-btn.busy:hover {
  background: #ff7676;
  transform: none;
  box-shadow: none;
}

/* Кнопки секторов — улучшенный стиль */
#fishing-map .sector {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: linear-gradient(135deg, #00bcd4, #00a0ba);
  color: #fff; font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  box-shadow: 0 6px 16px rgba(0,0,0,0.20);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}
#fishing-map .sector:hover { 
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #00a0ba, #008fa6);
}
#fishing-map .sector.selected {
  background: linear-gradient(135deg, #34c759, #2aa94f);
}
#fishing-map .sector.booking {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

#fishing-map .sector.busy {
  background: linear-gradient(135deg, #ff7676, #e65555);
}

/* Кнопки беседок */
#fishing-map .gazebo {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 48px; height: 32px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.9);
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

#fishing-map .gazebo:hover { 
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

#fishing-map .gazebo.selected {
  background: linear-gradient(135deg, #34c759, #2aa94f);
}

#fishing-map .gazebo.booking {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

#fishing-map .gazebo.busy {
  background: linear-gradient(135deg, #ff7676, #e65555);
}

/* Легенда и подписи */
#fishing-map .map-legend {
  text-align: center;
  margin-top: 10px;
}
.legend-row {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 8px;
}
.legend-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #234;
  background: #eef6fb;
  border: 1px solid #d6e9f5;
}
.legend-free::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #00bcd4; display: inline-block; }
.legend-booking::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff9800; display: inline-block; }
.legend-busy::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #e65555; display: inline-block; }
.legend-selected::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #34c759; display: inline-block; }

.legend-text {
  color: #456;
  margin: 8px 0 12px;
}

/* Tooltip номера сектора */
.sector-tooltip {
  position: absolute;
  pointer-events: none;
  padding: 6px 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  border-radius: 6px;
  transform: translate(-50%, -140%);
  opacity: 0;
  transition: opacity 0.12s ease;
}
.sector:hover ~ #sector-tooltip,
#sector-tooltip.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .sectors-grid, .gazebos-grid {
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 8px;
    padding: 15px;
  }
  
  .sector-btn, .gazebo-btn {
    padding: 10px 6px;
    font-size: 14px;
  }
  
  #fishing-map .sector { width: 36px; height: 36px; font-size: 14px; }
  #fishing-map .gazebo { width: 40px; height: 28px; font-size: 10px; }
  .fishing-subtitle { padding: 0 10px; }
  
  /* Адаптивность для таблицы с рыбами */
  .fish-table-container {
    padding: 20px;
    margin: 20px 0;
  }
  
  .fish-season-tabs {
    flex-direction: column;
    gap: 10px;
  }
  
  .fish-tab {
    padding: 12px 20px;
    justify-content: center;
  }
  
  .fish-table-wrapper {
    overflow-x: auto;
  }
  
  .fish-table {
    min-width: 600px;
    font-size: 14px;
  }
  
  .fish-table th,
  .fish-table td {
    padding: 8px 6px;
  }
  
  .fish-table th:nth-child(3) {
    width: 150px;
  }
  
  .fish-table th:nth-child(4),
  .fish-table th:nth-child(5) {
    width: 80px;
  }
  
  .fish-icon-cell {
    font-size: 16px;
  }
  
  .fish-name {
    font-size: 15px;
  }
  
  .fish-description {
    font-size: 13px;
  }
  
  .fish-size,
  .fish-weight {
    font-size: 13px;
  }
  
  .fish-features {
    font-size: 12px;
  }
  
  .fish-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-card {
    padding: 15px 20px;
  }
  
  .stat-icon {
    font-size: 25px;
    width: 40px;
    height: 40px;
  }
}

/* Секция онлайн-бронирования */
#booking {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  padding: 64px 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.booking-header {
  text-align: center;
  margin-bottom: 28px;
}

.booking-header h2 {
  font-size: 2.2rem;
  color: #1f2d3d;
  margin-bottom: 8px;
  font-weight: 800;
}

.booking-subtitle {
  font-size: 1rem;
  color: #5a6b7b;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.booking-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.feature-card {
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}

.booking-widget-minimal {
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(233, 236, 239, 0.8);
  overflow: hidden;
}

.widget-header {
  text-align: center;
  margin-bottom: 30px;
}

.widget-header h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 600;
}

.widget-header p {
  color: #6c757d;
  font-size: 1.1rem;
}

/* Внутри минимального виджета сам hr-widget растянется по ширине */
.booking-widget-minimal #hr-widget {
  min-height: 0;
}

.booking-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.info-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
}

.info-card h4 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 600;
}

.info-card p {
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.5;
}

.contact-link {
  display: inline-block;
  background: linear-gradient(135deg, #00a0ba, #008fa6);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.contact-link:hover {
  background: linear-gradient(135deg, #008fa6, #007a8a);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 160, 186, 0.3);
  color: white;
  text-decoration: none;
}

.whatsapp-link {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.whatsapp-link:hover {
  background: linear-gradient(135deg, #128c7e, #0f7a6b);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Адаптивность для секции бронирования */
@media (max-width: 768px) {
  #booking {
    padding: 48px 0;
  }
  .booking-header h2 { font-size: 1.8rem; }
  .booking-subtitle { font-size: 0.95rem; padding: 0 16px; }
  .booking-widget-minimal { padding: 16px; }
}

/* Модалка бронирования сектора (переносит стили вашей модалки фото) */
#sectorModal {
  display: none;
  position: fixed;
  z-index: 10000;
  inset: 0;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#sectorModal.active { display: flex; }

#sectorModal .modal-dialog {
  background: #fff;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  position: relative;
}
#sectorModal h3 {
  margin: 0 0 12px;
  color: #003d73;
}
#sectorModal .modal-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
#sectorModal input[type="date"],
#sectorModal input[type="text"] {
  padding: 10px 12px;
  border: 1px solid #d6e3f1;
  border-radius: 8px;
  font-size: 16px;
}
#sectorModal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}
#sectorModal .btn-secondary {
  background: #e0e7ef;
  color: #003d73;
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
#sectorModal .modal-hint {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
  text-align: right;
}
#sectorModal .modal-close {
  position: absolute;
  right: 10px; top: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}
.map-zoom button { background: #00bcd4; border: none; border-radius: 6px; }
.map-zoom button:hover { background: #0097a7; }
#map-date { padding: 8px 10px; border: 1px solid #d6e3f1; border-radius: 8px; }

/* Общая оптимизация изображений */
img { max-width: 100%; height: auto; }

/* Стили для карты Яндекс */
.map {
  margin: 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-width: 800px;
  position: relative;
}

.map iframe {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease;
  width: 100%;
  height: 400px;
}

.map iframe:hover {
  transform: scale(1.02);
}

/* Скрытие ссылок Яндекс */
.map a[style*="position:absolute"] {
  display: none !important;
}

/* Стили для ссылки на карту */
.map-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.map-link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-2px);
}

.map-placeholder {
  background: linear-gradient(135deg, #f8fafd 0%, #e8f4fd 50%, #f0f8ff 100%);
  border: 2px solid #00bcd4;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.1), transparent);
  transition: left 0.5s;
}

.map-link:hover .map-placeholder::before {
  left: 100%;
}

.map-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.map-placeholder h3 {
  color: #003d73;
  font-size: 24px;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.map-placeholder p {
  color: #666;
  font-size: 16px;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.map-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.rating {
  background: linear-gradient(135deg, #00bcd4, #0097a7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.address {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

/* Адаптивность карты для мобильных устройств */
@media (max-width: 768px) {
  .map {
    margin: 20px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .map iframe {
    height: 350px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .map {
    margin: 16px 12px;
    border-radius: 6px;
  }
  
  .map iframe {
    height: 300px;
    border-radius: 6px;
  }
}

@media (max-width: 360px) {
  .map {
    margin: 12px 8px;
  }
  
  .map iframe {
    height: 280px;
  }
}

/* Дополнительные мобильные правки */
@media (max-width: 768px) {
  .header { padding: 12px 0; }
  .header-left .logo-img { 
    height: 48px;
    filter: 
      drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08))
      brightness(1.08)
      contrast(1.03)
      saturate(1.08);
    opacity: 0.98;
    mix-blend-mode: normal;
  }
  .container { width: 92%; }

  .section {
    padding: 36px 0;
    margin: 24px 0;
    border-radius: 10px;
  }

  .hero-overlay { padding: 80px 16px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 18px; }

  .nav a { padding: 10px 14px; font-size: 13px; }

  .center-button { margin: 24px auto; }

  /* Слайдеры компактнее на мобильных */
  .swiper { max-width: 100%; padding: 8px 0; }
  .swiper-slide { height: 220px; }

  /* Цены/карточки – меньше отступы */
  .prices { gap: 16px; margin: 16px 0; }
  .price-card { width: 100%; padding: 16px; }

  /* Сетки выбора – уже заданы, добавим поля */
  .selection-card { padding: 16px; }
  .selection-grid { padding: 0; }
  
  /* Адаптация заголовков секций */
  .section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .section h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }
  
  /* Адаптация текста */
  .section p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Адаптация кнопок */
  .btn-primary {
    padding: 12px 24px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  
  /* Адаптация карточек */
  .card {
    padding: 20px;
    margin: 15px 0;
  }
  
  /* Адаптация таблиц */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Адаптация форм */
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
  }
  
  /* Адаптация модальных окон */
  .modal {
    padding: 20px;
    margin: 10px;
  }
  
  .modal-content {
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
  }
  
  /* Адаптация виджета бронирования */
  #hr-widget {
    padding: 20px 0;
  }
  
  /* Адаптация карты территории */
  .territory-map {
    height: 300px;
  }
  
  /* Адаптация преимуществ */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .advantage-item {
    text-align: center;
    padding: 20px;
  }
  
  /* Адаптация контактов */
  .contact-info {
    text-align: center;
  }
  
  .contact-item {
    margin: 15px 0;
  }
  
  /* Адаптация футера */
  .footer {
    padding: 30px 0;
    text-align: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
  .header { padding: 8px 0; }
  .header-left .logo-img { 
    height: 40px;
    filter: 
      drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1))
      drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06))
      brightness(1.05)
      contrast(1.02)
      saturate(1.05);
    opacity: 0.95;
    mix-blend-mode: normal;
  }
  .container { width: 95%; }

  .section {
    padding: 24px 0;
    margin: 16px 0;
    border-radius: 8px;
  }

  .hero-overlay { padding: 60px 12px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 16px; }

  .nav a { padding: 8px 12px; font-size: 12px; }

  /* Еще более компактные заголовки */
  .section h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  
  .section h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  /* Компактный текст */
  .section p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  /* Компактные кнопки */
  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
    max-width: 250px;
  }
  
  /* Компактные карточки */
  .card {
    padding: 15px;
    margin: 10px 0;
  }
  
  /* Компактные формы */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
    font-size: 14px;
  }
  
  /* Компактные модальные окна */
  .modal {
    padding: 15px;
    margin: 5px;
  }
  
  .modal-content {
    max-width: calc(100vw - 10px);
    max-height: calc(100vh - 20px);
  }
  
  /* Компактная карта территории */
  .territory-map {
    height: 250px;
  }
  
  /* Компактные преимущества */
  .advantage-item {
    padding: 15px;
  }
  
  /* Компактные контакты */
  .contact-item {
    margin: 10px 0;
  }
  
  /* Компактный футер */
  .footer {
    padding: 20px 0;
  }
  
  /* Компактные слайдеры */
  .swiper-slide { height: 180px; }
  
  /* Компактные цены */
  .price-card { padding: 12px; }
  
  /* Компактные сетки выбора */
  .selection-card { padding: 12px; }
  
  /* Компактные кнопки в навигации */
  .nav a {
    min-height: 40px;
    padding: 6px 10px;
  }
}

/* Адаптация для экстремально маленьких экранов */
@media (max-width: 360px) {
  .header { padding: 6px 0; }
  .header-left .logo-img { 
    height: 36px;
    filter: 
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08))
      drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05))
      brightness(1.03)
      contrast(1.01)
      saturate(1.03);
    opacity: 0.92;
    mix-blend-mode: normal;
  }
  .container { width: 98%; }

  .section {
    padding: 20px 0;
    margin: 12px 0;
    border-radius: 6px;
  }

  .hero-overlay { padding: 50px 8px; }
  .hero h1 { font-size: 20px; }
  .hero p { font-size: 14px; }

  .nav a { padding: 6px 8px; font-size: 11px; }

  /* Минимальные заголовки */
  .section h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .section h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  /* Минимальный текст */
  .section p {
    font-size: 13px;
    line-height: 1.4;
  }
  
  /* Минимальные кнопки */
  .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
    max-width: 200px;
  }

/* Красивые кнопки "Забронировать" для мобильной версии */
@media (max-width: 768px) {
  /* Основные стили кнопок "Забронировать" */
  .btn-primary {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00838f 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    box-shadow: 
      0 4px 12px rgba(0, 188, 212, 0.25),
      0 2px 6px rgba(0, 151, 167, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
  }

  /* Эффект свечения при наведении */
  .btn-primary:hover {
    background: linear-gradient(135deg, #00acc1 0%, #00838f 50%, #00695c 100%);
    transform: translateY(-2px);
    box-shadow: 
      0 8px 20px rgba(0, 188, 212, 0.35),
      0 4px 12px rgba(0, 151, 167, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  /* Активное состояние */
  .btn-primary:active {
    transform: translateY(0);
    box-shadow: 
      0 2px 8px rgba(0, 188, 212, 0.3),
      0 1px 4px rgba(0, 151, 167, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  /* Анимация пульсации */
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }

  .btn-primary:hover::before {
    left: 100%;
  }

  /* Иконка для кнопки */
  .btn-primary::after {
    content: '📅';
    font-size: 18px;
    margin-left: 8px;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }

  /* Центрирование кнопок */
  .center-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 16px;
    margin: 32px auto;
  }

  /* Специальные стили для кнопок в секциях */
  .section .center-button .btn-primary {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00838f 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
  }

  /* Кнопки в модальных окнах */
  .modal .btn-primary {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00838f 100%);
    margin-top: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  /* Кнопки для секторов и беседок */
  #sector-book-btn, #gazebo-book-btn {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00838f 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 20px;
    width: 100%;
    max-width: 280px;
  }

  /* Эффект для кнопок в карточках */
  .card .btn-primary {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00838f 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
  }

  /* Анимация загрузки для кнопок */
  .btn-primary.loading {
    position: relative;
    color: transparent;
  }

  .btn-primary.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
  }

  /* Эффект для кнопок в hero секции */
  .hero .btn-primary {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00838f 100%);
    box-shadow: 
      0 6px 16px rgba(0, 188, 212, 0.3),
      0 3px 8px rgba(0, 151, 167, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }

  .hero .btn-primary:hover {
    box-shadow: 
      0 10px 24px rgba(0, 188, 212, 0.4),
      0 5px 12px rgba(0, 151, 167, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}

@media (max-width: 480px) {
  /* Адаптация для очень маленьких экранов */
  .btn-primary {
    padding: 14px 24px;
    font-size: 15px;
    min-height: 52px;
    max-width: 280px;
    border-radius: 10px;
  }

  .btn-primary::after {
    font-size: 16px;
  }

  .center-button {
    padding: 16px 12px;
    margin: 24px auto;
  }
}

@media (max-width: 360px) {
  /* Минимальная адаптация */
  .btn-primary {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 48px;
    max-width: 260px;
    border-radius: 8px;
  }

  .btn-primary::after {
    font-size: 14px;
  }

  .center-button {
    padding: 12px 8px;
    margin: 20px auto;
  }
}
  
  /* Минимальные карточки */
  .card {
    padding: 12px;
    margin: 8px 0;
  }
  
  /* Минимальные формы */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 8px;
    font-size: 13px;
  }
  
  /* Минимальные модальные окна */
  .modal {
    padding: 10px;
    margin: 2px;
  }
  
  .modal-content {
    max-width: calc(100vw - 4px);
    max-height: calc(100vh - 10px);
  }
  
  /* Минимальная карта территории */
  .territory-map {
    height: 200px;
  }
  
  /* Минимальные преимущества */
  .advantage-item {
    padding: 12px;
  }
  
  /* Минимальные контакты */
  .contact-item {
    margin: 8px 0;
  }
  
  /* Минимальный футер */
  .footer {
    padding: 15px 0;
  }
  
  /* Минимальные слайдеры */
  .swiper-slide { height: 160px; }
  
  /* Минимальные цены */
  .price-card { padding: 10px; }
  
  /* Минимальные сетки выбора */
  .selection-card { padding: 10px; }
  
  /* Минимальные кнопки в навигации */
  .nav a {
    min-height: 36px;
    padding: 4px 6px;
  }
  
  /* Скрытие менее важных элементов */
  .hero-description {
    display: none;
  }
  
  /* Компактные флаги языков */
  .language-flags img {
    width: 24px;
    height: 24px;
  }
}
/* === Flat background and section separation overrides === */
:root {
  --page-bg: #f5f7fb;
  --section-border: #e9eef5;
}

body {
  background: var(--page-bg) !important;
  animation: none !important;
}

body::before { content: none !important; }

.section {
  background: #ffffff !important;
  border: 1px solid var(--section-border);
  border-radius: 12px;
  margin: 36px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  backdrop-filter: none;
}

.section:nth-child(even) { background: #ffffff !important; }

#fishing, #pool, #bath, #advantages, #fishing-map, #booking, #cottages, #big-cottages, #contacts {
  background: #ffffff !important;
  animation: none !important;
}

/* Подложка для мобильного меню */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 1000; /* ниже .nav (1001), выше контента */
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Блокировка скролла при открытом меню */
body.nav-open {
  overflow: hidden;
  /* безопасные зоны iOS */
  padding-right: env(safe-area-inset-right);
}

/* Чуть увеличим кликабельную зону ссылок (touch target 44px) */
@media (max-width: 768px) {
  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Чуть уменьшим логотип, чтобы бургер не перекрывался */
  .header-left .logo-img { 
    height: 52px;
    filter: 
      drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12))
      drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08))
      brightness(1.08)
      contrast(1.03)
      saturate(1.08);
    opacity: 0.98;
    mix-blend-mode: normal;
  }
}

/* Небольшой полиш: активный пункт меню */
.nav a.is-active {
  color: #fff;
}
.nav a.is-active::before { opacity: 1; }