@font-face {
  font-family: "font-main";
  src: url(assets/font/Ubuntu-Medium.ttf);
  font-weight: bold;
}

@font-face {
  font-family: "font-main";
  src: url(assets/font/Ubuntu-Light.ttf);
  font-weight: medium;
}

:root {
  --color-brand: rgb(165, 58, 62);
  --color-brand-deep: rgb(117, 32, 34);
  --color-accent-soft: rgb(247, 227, 228);
  --site-bar-min-h: 56px;
  --scroll-offset: 88px;
}

html {
  font-family: "font-main", Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

body::after {
  content: "";
  background: url('assets/media/bg-pink-flowers.jpg');
  background-repeat: repeat;
  opacity: .2;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -1;
}

.content {
  background-color: rgb(255, 255, 255);
  line-height: 1.7;
  z-index: 20;
  opacity: 1;
  top: 0px;
  max-width: 900px;
  padding: 20px;
  color: rgb(70, 70, 70);
  box-shadow: 0px 0px 20px 1px rgba(227, 227, 227, 0.4);
}
.center_absolute {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.center_relative {
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.center_relative-inline {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

a {
  text-decoration: none;
  color: #af4f53;
}

a:hover {
  color: #9cf;
}

input {
  font-size: 20px;
  font-family: "font2";
  width: 200px;
  padding: 10px;
  margin: 5px;
  border: 2px solid #ddeffe;
  border-radius: 2px;
  text-align: center;
}

input[type=submit] {
  font-size: 20px;
  background-color: #8ba4b8;
  color: #ebf2f7;
}

.table-container {
  width: 80%;
  margin: 50px auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th, td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ddd;
}

table th {
  background-color: rgb(200, 89, 92);
  color: #a53a3e;
}

table td {
  background-color: #fff7f857;
}

table td:first-child, th:first-child {
  text-align: left;
}

table tr:hover {
  background-color: #f1f1f1;
}

video {
  width: 100%;
  border-radius: 10px;
  background-color: rgb(0, 0, 0);
}

audio {
  width: 100%;
}

.audio-item {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
}

.gallery {
  display: inline-block;
  position: relative;
  padding: 1px;
  margin: 25px;
  height: 150px;
  box-shadow: 0px 0px 10px -5px #555;
  border-radius: 3px;
}

.voucher {
  width: 200px;
  opacity:.8;
  animation: shakeAndPause 5s infinite ease-in-out;
  animation-delay: 1s;
}

.grayscale {
  filter: grayscale(80%);
  -webkit-filter: grayscale(80%);
}

.effect-rotate:hover {
  transition: transform .2s;
  transform:
    scale(1.1) rotate(-2deg) translate(0px, 0px);
}

@keyframes shakeAndPause {
  0%, 20% {
      transform: rotate(0deg) translateX(0);
  }
  5% {
      transform: rotate(10deg) translateX(-5px);
  }
  10% {
      transform: rotate(-10deg) translateX(5px);
  }
  15% {
      transform: rotate(10deg) translateX(-5px);
  }
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
}
.price-table th, .price-table td {
  border: 2px solid #ffffff;
  padding: 6px;
  text-align: center;
  font-size: 0.9em;
}
.price-table th {
  background-color: #fff3f4;
  
}
.price-table td:first-child {
  text-align: center;
  
  text-decoration: none;
}
.price-table td:first-child a {
  color: rgb(165 58 63);
}
.price-table td:first-child a:hover {
  color: #9cf;
}
@media (max-width: 600px) {
  .price-table { font-size: 14px; }
  .price-table th, .price-table td { padding: 8px 4px; }
}

.site-top {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px 16px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  min-height: 90px;
  box-sizing: border-box;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  overflow: visible;
  transition: padding 0.3s ease, min-height 0.3s ease;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

body.is-scrolled .site-top {
  padding: 7px 16px 9px;
  min-height: 44px;
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 920px;
}

.site-nav .nav_item {
  display: block;
}

.site-nav .nav_item a {
  display: block;
  padding: 10px 14px;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 10px;
  background: rgba(40, 12, 14, 0.52);
  border: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, color 0.2s ease, padding 0.3s ease, font-size 0.3s ease;
}

body.is-scrolled .site-nav .nav_item a {
  padding: 10px 20px;
  font-size: 1.1em;
}

.site-nav .nav_item a:hover {
  color: #fff;
  background: rgba(165, 58, 62, 0.75);
}

@media (max-width: 768px) {
  .site-top {
    justify-content: center;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-top::-webkit-scrollbar {
    display: none;
  }

  .site-nav {
    gap: 4px;
    max-width: none;
    justify-content: center;
    padding: 0 6px;
    flex-shrink: 0;
  }

  .site-nav .nav_item {
    flex: 0 0 auto;
  }

  .site-nav .nav_item a {
    padding: 10px 8px;
    font-size: 0.7em;
    white-space: nowrap;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(40, 12, 14, 0.75);
  }

  body.is-scrolled .site-nav .nav_item a {
    padding: 10px 8px;
    font-size: 0.75em;
  }
}

.header.hero-banner {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: clamp(300px, 48vw, 440px);
  padding: clamp(88px, 14vw, 120px) 24px 52px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 28px);
  background: transparent;
}

.header.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/media/bg-massage.webp") center / cover no-repeat;
  z-index: -1;
}

.header.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(94, 23, 25, 0.35) 0%,
    rgba(165, 58, 62, 0.15) 45%,
    rgba(40, 12, 14, 0.5) 100%
  );
  pointer-events: none;
}

.hero-logo {
  position: relative;
  line-height: 0;
  z-index: 1;
}

.hero-logo img {
  display: block;
  max-width: min(240px, 88vw);
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 30px;
  border: 8px solid rgba(211, 144, 145, 0.28);
  box-shadow: 0 0 24px 12px rgba(94, 23, 25, 0.45);
  opacity: 0.9;
}

.hero-tagline {
  position: relative;
  margin: 0;
  max-width: 520px;
  text-align: center;
  font-size: 1.3em;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d6cdcd;
  text-shadow: 0px 3px 8px rgba(0, 0, 0, 0.95);
  z-index: 1;
  line-height: 2em;
}

.block {
    display: block;
    margin-bottom: 50px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 10px;
    scroll-margin-top: var(--scroll-offset);
}

.block_title {
    z-index: 20;
    text-align: center;
    font-size: 1.4em;
    font-weight: bold;
    padding: 1em;
    border-radius: 0px 0px 0 0;
    color: rgb(165 58 62);
    border-radius: 20px;
    border-color: rgb(255, 255, 255);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.block_subtitle {
    text-align: center;
    z-index: 20;
    font-size: 1.3em;
    padding: 0.5em 0;
    margin: 0.5em;
    color: rgb(165, 58, 62);
    border-radius: 5px;
}

#masaze .massage-item[id] {
    scroll-margin-top: var(--scroll-offset);
}

.block_content p {
    background-color: rgb(255, 255, 255);
    font-size: 1em;
    text-align: center;
    
}

.block_content img {
    max-width: 300px;
    margin: 10px 0 10px 0;
    border-radius: 35px;
}

#masaze .massage-item {
  margin-bottom: 40px;
}

#masaze .massage-item:last-child {
  margin-bottom: 0;
}

#masaze .massage-item-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#masaze .massage-item-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#masaze .massage-item-title {
  width: 100%;
}

#masaze .massage-item-img {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 10px;
}

#masaze .massage-item-right {
  width: 100%;
}

#masaze .massage-item-right p {
  background-color: rgb(255, 255, 255);
  font-size: 1em;
  text-align: justify;
  margin: 1em;
}

#masaze .massage-item-right .block_price {
  text-align: center;
  margin-top: 0;
}

@media (min-width: 769px) {
  #masaze .massage-item-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin: 50px 50px;
  }

  #masaze .massage-item-left {
    flex: 0 0 auto;
    width: min(300px, 38vw);
    max-width: 300px;
  }

  #masaze .massage-item-img {
    max-width: 100%;
  }

  #masaze .massage-item-right {
    flex: 1 1 auto;
    min-width: 0;
    }

  #masaze .massage-item-right p {
    text-align: justify;  
  }

  #masaze .massage-item-right .block_price {
    text-align: right;
    margin: 1em;
    
  }
}

.block_price {
    font-size: 1em;
    font-weight: bold;
    color: rgb(165 58 62);
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.block_price p {
    text-align: center;
}

.footer {
    z-index: 50;
    top: 0px;
    padding: 20px 0px 20px 0px;
    background-color: rgb(165, 58, 62);
    color: rgb(255, 255, 255);
    scroll-margin-top: var(--scroll-offset);
}

.footer p {
    text-align: center;
    font-size: 1em;
}

.footer a {
    color: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: bold;
}

.footer img {
    width: 20px;
    margin: 10px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 30px;
}

.footer a:nth-child(1) img {
    animation: shakeAndPause 3s infinite ease-in-out;
    animation-delay: 0s;
}

.footer a:nth-child(2) img {
    animation: shakeAndPause 3s infinite ease-in-out;
    animation-delay: 1.5s; 
}

.footer iframe {
    border: 0;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}
