/* ==========================================================================
   Section: Recreation / SPA & Recovery (Sport Life Style)
   ========================================================================== */

.recreation-section {
  position: relative;
  width: 100%;
  height: clamp(560px, calc(100vh - var(--header-height, 80px)), 850px);
  min-height: 560px;
  background-color: #0E0E0E;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .recreation-section {
    height: calc(100vh - var(--header-height, 80px));
    height: calc(100dvh - var(--header-height, 80px));
    min-height: 480px;
  }
}

.recreation__services {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: none !important;
}

/* 100% чистый WebGL Canvas без затемняющих масок */
.recreation__photos {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background-image: url('../assets/images/recreation/recreation-steam-room.jpg');
  background-size: cover;
  background-position: center;
}

.recreation-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Центральный блок названий */
.recreation__names {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: auto;
  user-select: none;
}

@media (max-width: 768px) {
  .recreation__names {
    padding: 0;
  }
}

.recreation__names-list {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  cursor: grab;
}

.recreation__names-list:active {
  cursor: grabbing;
}

/* Надписи шрифтом Playfair Display с прозрачной заливкой и белым контуром (stroke) */
.recreation__name-item {
  font-family: var(--font-family-serif), 'Playfair Display', Georgia, serif;
  font-size: clamp(52px, 6.8vw, 110px);
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.02em;
  padding: 0 45px;
  margin: 0;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  
  /* 100% непрозрачность, заливка прозрачная, только stroke */
  opacity: 1;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.88);
  
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-text-fill-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-text-stroke 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .recreation__name-item {
    font-size: clamp(38px, 9vw, 56px);
    padding: 0 24px;
    -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0.9);
  }
}

/* Активный пункт и hover: 100% белый цвет (сплошная заливка) */
.recreation__name-item.is-selected,
.recreation__name-item:hover {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  -webkit-text-stroke: 0px transparent;
  transform: scale(1.02);
}
