﻿/*
 * File: styles/css/baths.css
 * Project: avrora26
 * Role: Styles for public baths page
 */

.baths-body {
  background: #f3f5f6;
}

.baths-page {
  background: transparent;
  color: #1f2937;
  min-height: 100vh;
}

.baths-hero {
  padding: 24px 0 14px;
  background: transparent;
}

.baths-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
  color: #111827;
}

.baths-subtitle {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 16px;
  max-width: 760px;
}

.baths-showcase {
  padding: 10px 0 34px;
}

.baths-showcase__stack {
  display: grid;
  gap: 18px;
}

.bath-feature {
  position: relative;
  min-height: 460px;
  border-radius: 18px;
  overflow: hidden;
  background-image: var(--bath-image);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.bath-feature__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.12) 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.16) 100%);
}

.bath-feature__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bath-feature__capacity {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: #fff;
}

.bath-feature__title {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.06;
}

.bath-feature__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.bath-feature__text {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.bath-feature__price {
  margin: 2px 0 0;
  color: #fff;
  font-weight: 700;
}

.bath-feature__actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bath-feature__gallery {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.bath-feature__gallery a {
  display: block;
  flex: 0 0 auto;
}

.bath-feature__gallery img {
  width: 104px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  display: block;
}

.bath-feature .btn {
  border-radius: 999px;
}

.bath-feature .btn-outline {
  border-color: rgba(255, 255, 255, 0.46);
  color: #fff;
}

.bath-feature .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bath-rules {
  padding: 4px 0 34px;
}

.bath-rules__card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 18px;
}

.bath-rules__card h2 {
  margin: 0 0 12px;
  text-align: left;
  color: #111827;
  font-size: 26px;
}

.bath-rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bath-rules__list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.16);
  padding-bottom: 8px;
}

.bath-rules__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bath-rules__list span {
  color: #1f2937;
  line-height: 1.4;
}

.bath-rules__list strong {
  color: #0f766e;
  white-space: nowrap;
}

.bath-rules__list em {
  color: #475569;
  font-style: normal;
  text-align: right;
}

.bath-rules__note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 6px;
}

.bath-rules__note p {
  margin: 0;
  color: #334155;
}

@media (max-width: 900px) {
  .bath-feature {
    min-height: 420px;
  }

  .bath-feature__content {
    max-width: none;
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .baths-hero {
    padding-top: 10px;
  }

  .bath-feature {
    min-height: 390px;
    border-radius: 14px;
  }

  .bath-feature__title {
    font-size: clamp(26px, 7.5vw, 36px);
  }

  .bath-feature__subtitle {
    font-size: 16px;
  }

  .bath-feature__actions {
    flex-direction: column;
  }

  .bath-feature__actions .btn {
    width: 100%;
  }

  .bath-rules__card {
    padding: 14px;
  }

  .bath-rules__card h2 {
    font-size: 22px;
  }

  .bath-rules__list li {
    flex-direction: column;
  }

  .bath-rules__list strong,
  .bath-rules__list em {
    text-align: left;
    white-space: normal;
  }
}
