@font-face {
    font-family: 'Yellowtail';
    src: url('../fonts/Yellowtail/Yellowtail-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans SC';
    src: url('../fonts/Noto_Sans_SC/NotoSansSC-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/Noto_Sans/NotoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

a {
    text-decoration: none;
    color: black;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    zoom: 80%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.logo {
    font-family: "Yellowtail", cursive;
    font-size: 80px;
    margin-top: 20px;
    text-align: center;
    color: black;
    text-decoration: none;
}


.under_logo {
    font-size: 13px;
    margin-top: -20px;
    text-align: center;
    color: black;
    font-weight: bold;
    font-family: 'Noto Sans SC', sans-serif;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.location {
    font-family: 'Noto Sans SC';
    text-align: center;
    margin: auto;
    padding: auto;
    margin-bottom: 20px;
}

.menu {
    text-align: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
    transition: all 0.4s ease;
}

.menu.sticky {
    padding: 10px 15px;
    background-color: 	#EFFFFA;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 40% 40%;
    border: 2px solid grey;
}

.menu a {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding: 8px 20px; 
    font-weight: bold;
    text-decoration: none;
}

.description {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    display: flex;
    justify-content: center;
    align-items: center;
}

.description p {
    width: 700px;
    text-align: center;
    font-size: 34px;
    font-weight: normal;
    line-height: 1.2;
    color: #212529;
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

.contact {
    background-color: #B6DADA; 
}

.contact p {
    text-align: center;
    font-size: 30px;
    font-family: "Noto Sans";
    font-weight: 550;
}

.social_media {
    text-align: center;
}

.description_service {
    font-family: 'Noto Sans';
    display: flex;
    justify-content: center;
    align-items: center;
}

.description_service p {
    width: 950px;
    text-align: left;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5;
    color: #212529;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 15px;
}

.slider {
    position: relative;
    width: 950px;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 15px;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider_track {
    display: flex;
    transition: transform 0.8s;
}

.slide {
    flex: 0 0 100%;
    height: 500px;
}

.prev, .next {
    position: absolute; /* Позволяет располагать кнопки поверх слайдов */
    top: 50%; /* Размещаем по вертикали по центру */
    transform: translateY(-50%); /* Сдвигаем кнопки вверх на половину их высоты */
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон кнопок */
    color: white; /* Белый цвет текста */
    border: none; /* Убираем границы */
    padding: 10px; /* Отступы внутри кнопки */
    cursor: pointer; /* Изменяем курсор на указатель */
    font-size: 18px; /* Размер шрифта */
    font-weight: bold; /* Делаем текст жирным */
    z-index: 2; /* Размещаем кнопки выше всех элементов */
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.price_list {
    font-family: 'Noto Sans';
    font-size: 22px;
    width: 950px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 15px;
}

.price_grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.price_grid p {
    text-align: left;
    max-width: 70%;           /* ограничиваем ширину */
}

.price {
    text-align: right;
    font-weight: 700;
}

.minides {
    text-align: left;
    color: grey;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 24px;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0.5); /* полупрозрачный чёрный фон */
  color: rgba(255, 255, 255, 0.9);      /* почти белая стрелка */
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;                    /* круглая кнопка */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  line-height: 1;
}

#myBtn:hover {
  background-color: rgba(0, 0, 0, 0.8);  /* темнее при наведении */
  transform: translateY(-3px);           /* лёгкий подъём */
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
  #myBtn {
    width: 45px;
    height: 45px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
}


/* ================= МОБИЛЬНАЯ АДАПТАЦИЯ КАЛЕНДАРЯ ================= */
@media (max-width: 768px) {
  body { zoom: 100% !important; overflow-x: hidden; }

  .logo { font-size: 58px; margin-top: 15px; }
  .under_logo { font-size: 16px; margin-top: 0; margin-bottom: 12px; letter-spacing: 0; }
  .location { font-size: 17px; margin-bottom: 12px; }

  .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 8px 5px;
  }
  .menu a { font-size: 17px; padding: 9px 12px; }
  .menu.sticky { border-radius: 0 0 15px 15px; padding: 6px 10px; }

  .description p, .description_service p {
    width: 95%;
    max-width: 100%;
    padding: 0 10px;
  }
  .description p { font-size: 23px; }
  .description_service p { font-size: 21px; }
  .contact p { font-size: 24px; }

  .slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 15px;
    border-radius: 8px;
    overflow: hidden;
  }
  .slider_track { display: flex; transition: transform 0.8s ease-in-out; }
  .slide {
    flex: 0 0 100%;
    min-width: 0;
    width: 100%;
    height: 300px;
    position: relative;
  }
  .slider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
  }
  .prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 12px;
    font-size: 16px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 10;
  }
  .prev { left: 8px; }
  .next { right: 8px; }

  .price_list {
    width: 95%;
    max-width: 100%;
    font-size: 16px;
    margin: 0 auto 15px;
    padding: 0 5px;
  }
  .price_grid {
    flex-wrap: wrap;
    align-items: baseline;
    padding: 10px 0;
    gap: 6px;
  }
  .price_grid p {
    max-width: 75%;
    flex: 1 1 auto;
  }
  .price {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .minides { font-size: 13px; margin-top: 4px; }
}

@media (max-width: 480px) {
  .logo { font-size: 48px; }
  .slide { height: 250px; }
  
  .price_grid { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 4px; 
  }
  .price_grid p { max-width: 100%; text-align: left; }
  .price { text-align: left; margin-top: -2px; }
}

.post_section {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.post_section{
    display:flex;
    justify-content:center;
    margin:30px 15px;
}

.post_form{
    width:100%;
    max-width:420px;
    display:flex;
    flex-direction:column;
    gap:15px;
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.post_form input,
.post_form select,
.post_form button{
    width:100%;
    padding:14px;
    border-radius:10px;
    font-size:16px;
}

.full_name,
.contacts{
    border:1px solid #ccc;
}

.sign_up_button{
    background:#B6DADA;
    border:none;
    cursor:pointer;
    transition:.25s;
}

.sign_up_button:hover{
    transform:translateY(-2px);
}

.data_select, .time_select, .service_select, .sign_up_button, .duration_select {
    padding: 10px;
    width: auto;
    height: auto;
    font-family: "Noto Sans SC";
    background-color: #B6DADA;
    border: none;
}

.full_name, .contacts {
    padding: 10px;
    width: auto;
    height: auto;
    border: 1.5px solid grey;
}

.table_dashboard {
    border: 1.5px solid grey;
}

.table_dashboard td {
    text-align: center;
    width: 150px;
    height: 60px;
    padding: 10px;
}

.form_dashboard table {
    font-size: 30px;
    width: 40%;
}

.form_dashboard input {
    width: 100%;
    height: 40px;
}

.submit_button {
    padding: 10px;
}

@media (max-width:768px){
    .post_form{
        max-width:none;
        padding:18px;
        border-radius:12px;
    }

    .post_form input,
    .post_form select,
    .post_form button{
        font-size:18px;
        padding:16px;
        min-height:52px;
    }
}
@media (max-width: 768px) {
    .post_form {
        gap: 16px;
    }

    .post_form input,
    .post_form select,
    .post_form button {
        font-size: 18px;
        line-height: 1.25;
    }

    .data_select,
    .time_select,
    .service_select,
    .duration_select {
        font-size: 18px;
        min-height: 52px;
    }

    .full_name,
    .contacts {
        font-size: 18px;
        min-height: 52px;
    }

    .sign_up_button {
        min-height: 54px;
        font-size: 19px;
        font-weight: 600;
    }
}

.error {
    background: #ffdddd;
    color: #b00000;
    padding: 15px;
    margin: 15px auto;
    text-align: center;
    border-radius: 10px;
    max-width: 500px;
}