/* Основные стили для всего сайта */
:root {
  --primary-color: #f5b935;
  --secondary-color: #8e6c16;
  --background-color: #ffffff;
  --text-color: #333333;
  --light-gray: #f8f8f8;
  --border-color: #e5e5e5;
  --accent-color: #d4af37;
  --footer-bg: #f5f5f5;
  --header-bg: #fcfcfc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Общие стили контейнеров */
.block-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

/* Кнопки */
.button-main {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.button-main:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button-serv {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: 10px;
}

.button-serv:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Шапка сайта */
.header-lay {
  background-color: var(--header-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.logoImg img {
  height: 50px;
  margin-right: 10px;
}

.logoTitle h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.nav-header {
  display: flex;
  list-style: none;
}

.nav-header li {
  margin: 0 15px;
}

.nav-header li a {
  color: var(--text-color);
  font-weight: 500;
}

.nav-header li a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 2px 0;
  transition: all 0.3s ease;
}

.nav-panel {
  display: none;
}

/* Заголовок с контентом и слайдером */
.header-content {
  padding: 60px 0;
  text-align: center;
}

.header-content h2 {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.8rem;
}

.header-content p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.header-slider {
  max-width: 100%;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.header-slide {
  min-width: 100%;
}

.header-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* О нас секция */
.about-us {
  padding: 60px 0;
  text-align: center;
}

.about-us h2 {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.about-us h2:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.about-us p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Показ блоков (табы) */
.show-block {
  padding: 40px 0;
}

.show-block-menu {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.menu-button {
  padding: 12px 24px;
  background-color: var(--light-gray);
  border: none;
  border-radius: 25px;
  margin: 0 10px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.menu-button:hover, .menu-button:focus {
  background-color: var(--primary-color);
  color: white;
}

.content > div {
  display: none;
}

.content > div:first-child {
  display: grid;
}

/* Карточки отелей */
.serv {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.serv-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.serv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.serv-img {
  height: 200px;
  overflow: hidden;
}

.serv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.serv-card:hover .serv-img img {
  transform: scale(1.05);
}

.serv-content {
  padding: 20px;
}

.serv-content-title {
  color: var(--text-color);
  font-weight: 600;
}

.serv-content-title h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.serv-content p {
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

/* Наша команда */
.qurteam {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

.qurteam-card {
  text-align: center;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.qurteam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.qurteam-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
}

.qurteam-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qurteam-card h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.qurteam-card p {
  color: var(--text-color);
  font-size: 0.9rem;
}

/* Галерея */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-img {
  border-radius: 10px;
  overflow: hidden;
  height: 200px;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-img:hover img {
  transform: scale(1.05);
}

/* История */
.our-history {
  padding: 60px 0;
  text-align: center;
  background-color: var(--light-gray);
  border-radius: 10px;
  margin: 40px 0;
}

.our-history h2 {
  margin-bottom: 20px;
}

.our-history p {
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Статья */
.article-cont {
  padding: 40px 0;
}

.article-cont-title {
  text-align: center;
  margin-bottom: 30px;
}

.article-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-block-images {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.article-block-content {
  padding: 30px;
}

.article-block-content p {
  margin-bottom: 15px;
}

.article-block-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

/* Слоган */
.slogan {
  padding: 60px 0;
  text-align: center;
  background-color: var(--light-gray);
  border-radius: 10px;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slogan h2 {
  max-width: 700px;
  margin-bottom: 30px;
}

.slogan-img {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.slogan-img img {
  width: 100%;
  height: auto;
}

/* Статистика */
.our-stats {
  padding: 60px 0;
}

.our-stats-title {
  text-align: center;
  margin-bottom: 40px;
}

.our-stats-title h5 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.our-stats-title h2 {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.5rem;
}

.our-stats-box {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

.our-stats-card {
  text-align: center;
  padding: 30px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.our-stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.our-stats-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.our-stats-card h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.our-stats-card p {
  color: var(--text-color);
}

/* Партнеры */
.partners-lay {
  background-color: var(--light-gray);
  padding: 40px 0;
}

.partners {
  text-align: center;
}

.partners-title {
  margin-bottom: 30px;
}

.partners-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.partners-img {
  width: 150px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.partners-img img {
  max-width: 100%;
  max-height: 100%;
}

/* Форма бронирования */
.form-container {
  background-color: var(--light-gray);
  border-radius: 10px;
  box-sizing: border-box;
  padding: 30px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-info label {
  font-weight: 600;
  color: var(--text-color);
}

.form-one {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 20px;
}

.input-form {
  transition: 0.2s ease;
  color: var(--text-color);
  background-color: white;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 16px;
  line-height: 1.2;
  width: 100%;
}

.form-info select {
  transition: 0.2s ease;
  color: var(--text-color);
  background-color: white;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 16px;
  line-height: 1.2;
  width: 100%;
}

.input-form:focus, .form-info select:focus {
  border: 1px solid var(--primary-color);
  outline: none;
}

.form-class {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-pozi {
  flex: 1;
  min-width: 200px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check-input {
  width: 18px;
  height: 18px;
}

.check {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Контакты */
.conacts-block {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.conacts {
  text-align: center;
}

.contacts-title {
  margin-bottom: 30px;
}

.contacts-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contacts-card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  min-width: 300px;
}

.contacts-card h5 {
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Футер */
.footer {
  padding: 40px 0;
  background-color: var(--footer-bg);
  text-align: center;
}

.footer-politic {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-politic a {
  color: var(--text-color);
  font-size: 0.9rem;
}

.footer-bottom {
  color: var(--text-color);
  font-size: 0.9rem;
}

/* Cookie баннер */
#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 500px;
  background-color: white;
  color: var(--text-color);
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  border-top-right-radius: 10px;
}

#consent-banner .buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

#consent-banner button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
}

#consent-banner button:hover {
  background-color: var(--secondary-color);
}

/* FAQ секция */
.faq-section {
  padding: 60px 0;
}

.faq-item {
  margin-bottom: 20px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 15px 20px;
  background-color: var(--light-gray);
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.faq-answer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

/* Страница отеля */
.hotel-detail {
  padding: 40px 0;
}

.hotel-header {
  text-align: center;
  margin-bottom: 40px;
}

.hotel-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.hotel-description {
  margin-bottom: 40px;
}

.hotel-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  background-color: var(--light-gray);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Адаптивный дизайн */
@media (max-width: 992px) {
  .header-content h2 {
    font-size: 1.6rem;
  }
  
  .article-block {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-header {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .nav-panel.active {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  .nav-panel ul {
    list-style: none;
  }
  
  .nav-panel ul li {
    margin-bottom: 15px;
  }
  
  .form-class {
    flex-direction: column;
  }
  
  .our-stats-title h2 {
    font-size: 1.3rem;
  }
  
  #consent-banner {
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .article-block {
    flex-direction: row;
  }
  
  .article-block-images {
    width: 40%;
    max-height: none;
    height: auto;
  }
  
  .article-block-content {
    width: 60%;
  }
  
  #consent-banner {
    flex-direction: row;
    justify-content: space-between;
  }
  
  #consent-banner .buttons {
    margin-top: 0;
  }
}
