body {
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222;
  margin: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('/img/image.jpg');
  background-repeat: repeat;
  background-position: top left;
  background-size: cover;
  filter: blur(4px);
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

header {
  background-color: #121212; /* Более современный темный цвет */
  padding: 25px 20px;
  text-align: center;
  font-size: 2.30rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  user-select: none;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  transition: background-color 0.3s ease;
}

header:hover {
  background-color: #1f1f1f;
}

main {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 30px 60px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

main:hover {
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.15);
}

section {
  margin-bottom: 50px;
  padding: 30px 35px;
  border-bottom: 1px solid #e0e0e0;
}

h2 {
  color: #111;
  margin-bottom: 25px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-bottom: 4px solid #4caf50; /* Яркий акцент */
  padding-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

p, li {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
}

ul {
  list-style: inside disc;
  margin: 20px 0 30px 0;
  padding-left: 10px;
  color: #666;
}

form {
  background-color: #fafafa;
  padding: 35px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

form:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.9rem;
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 25px;
  border: 1.8px solid #ccc;
  border-radius: 12px;
  font-size: 1.1rem;
  background-color: #fff;
  color: #222;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  resize: vertical;
  font-family: 'Montserrat', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #4caf50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
  background-color: #fff;
}

button {
  background-color: #4caf50;
  color: #fff;
  border: none;
  padding: 18px 45px;
  font-size: 1.3rem;
  border-radius: 35px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 1.5px;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.5);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  user-select: none;
  font-family: 'Montserrat', sans-serif;
}

button:hover {
  background-color: #43a047;
  box-shadow: 0 12px 30px rgba(67, 160, 71, 0.7);
  transform: translateY(-3px);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 7px 18px rgba(67, 160, 71, 0.6);
}

.success-message {
  color: #4caf50;
  font-weight: 700;
  margin-top: 25px;
  font-size: 1.2rem;
  text-align: center;
  user-select: none;
  font-family: 'Montserrat', sans-serif;
}

.site-footer {
  background-color: #121212;
  color: #bbb;
  padding: 25px 30px;
  text-align: center;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  user-select: none;
  flex-wrap: wrap;
  font-family: 'Montserrat', sans-serif;
}

.vk-icon-link {
  display: inline-block;
  width: 50px;
  height: 50px;
  color: #4a76a8;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.vk-icon-link:hover,
.vk-icon-link:focus {
  transform: scale(1.1);
  filter: brightness(1.3);
  outline: none;
}

.footer-text {
  color: #ccc;
  font-weight: 500;
  white-space: nowrap;
}

/* Адаптивность */
@media (max-width: 768px) {
  header {
    font-size: 1.8rem;
    padding: 20px 15px;
  }
  main {
    margin: 30px 20px;
    padding: 30px 20px 50px;
  }
  section {
    padding: 25px 20px;
    margin-bottom: 35px;
  }
  h2 {
    font-size: 1.8rem;
  }
  button {
    width: 100%;
    padding: 16px 0;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  header {
    font-size: 1.4rem;
    padding: 15px 10px;
  }
  main {
    margin: 20px 10px;
    padding: 20px 15px 40px;
  }
  section {
    padding: 20px 15px;
    margin-bottom: 25px;
  }
  h2 {
    font-size: 1.4rem;
  }
  button {
    font-size: 1rem;
  }
  .footer-text {
    font-size: 0.9rem;
    white-space: normal;
  }
  .site-footer {
    flex-direction: column;
    gap: 10px;
    padding: 20px 15px;
  }
  .vk-icon-link {
    width: 40px;
    height: 40px;
  }
}
form {
  max-width: 100%;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  max-width: 100%;
  padding: 14px 18px;
  font-size: 1.1rem;
  border: 1.5px solid #bbb;
  border-radius: 8px;
  box-sizing: border-box;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 1rem;
    padding: 10px 12px;
    margin-bottom: 14px;
  }
}
#modalOverlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 20px;
    box-sizing: border-box;
  }

  /* Модальное окно */
  #policyModal {
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    margin: 0 auto;
    padding: 30px 40px;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    overflow-y: auto;
    font-family: Arial, sans-serif;
    color: #333;
  }

  /* Кнопка закрытия */
  #closeModal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    user-select: none;
  }

  #closeModal:hover {
    color: #000;
  }

  /* Заголовки и текст */
  #policyModal h2 {
    margin-top: 0;
    margin-bottom: 15px;
  }
  #policyModal h3 {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  #policyModal p {
    line-height: 1.5;
    font-size: 16px;
  }

  /* Адаптивность */
  @media (max-width: 480px) {
    #policyModal {
      padding: 20px;
      width: 95%;
      max-height: 90vh;
    }
    #closeModal {
      top: 10px;
      right: 15px;
      font-size: 24px;
    }
  }
/* Фон модального окна */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Содержимое модального окна */
.modal-content {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

/* Кнопка закрытия */
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.container {
  text-align: center;
}
.ms_booking {
  display: inline-block;
  padding: 12px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #6a00f4, #00d2ff);
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(106, 0, 244, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
  user-select: none;
}

.ms_booking:hover {
  background: linear-gradient(135deg, #5a00d4, #00b2dd);
  box-shadow: 0 8px 16px rgba(90, 0, 212, 0.6);
  transform: translateY(-2px);
}

.ms_booking:active {
  transform: translateY(1px);
  box-shadow: 0 4px 8px rgba(90, 0, 212, 0.4);
}
