/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка и навигация */
.header {
  position: fixed;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 999;
  transition: top 0.3s ease-in-out;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

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

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-size: 18px;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff6f61;
}

/* Бургер-меню */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Анимация бургера */
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Скрытие меню на мобильных */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0;
    height: 100vh;
    top: 0;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links li {
    margin: 50px 0;
  }

  .nav-links.nav-active {
    transform: translateX(0);
  }

  .burger {
    display: flex;
  }

  /* Добавлено для предотвращения прокрутки при открытом меню */
  .nav-active {
    overflow: hidden;
  }
}

/* Герой-секция */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
  font-size: 24px;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-services {
  list-style: none;
  color: #fff;
  margin-bottom: 30px;
}

.hero-services li {
  font-size: 18px;
  margin-bottom: 5px;
}

.hero-button {
  padding: 15px 30px;
  font-size: 18px;
  background-color: #ff6f61;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-button:hover {
  background-color: #d85b53;
}

/* Секции услуг */
.usls-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 60px 0;
  background-color: #f5f5f5;
}

.usl {
  width: 300px;
  margin: 20px;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  width: 100%;
  padding: 20px;
  text-align: center;
}

.overlay h3 {
  margin-bottom: 10px;
}

.overlay .btn {
  padding: 10px 20px;
  background-color: #ff6f61;
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s;
}

.overlay .btn:hover {
  background-color: #d85b53;
}

/* Подарочные сертификаты */
.gift-certificates-section {
  padding: 100px 0;
  background-image: url('cert.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.gift-certificates-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.gift-certificates-section .container {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.gift-certificates-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}

.gift-certificates-text {
  font-size: 18px;
  margin-bottom: 40px;
}

.section-button {
  padding: 15px 30px;
  font-size: 18px;
  background-color: #ff6f61;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.section-button:hover {
  background-color: #d85b53;
}

/* Отзывы */
.reviews-section {
  padding: 60px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

.reviews-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.reviews-item {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
}

.review-text {
  font-size: 18px;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  text-align: right;
  font-size: 16px;
  font-weight: 700;
}

/* Контакты */
.contacts-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.contacts-list {
  list-style: none;
  margin-bottom: 20px;
}

.contacts-list li {
  font-size: 18px;
  margin-bottom: 10px;
}

.contacts-list span {
  font-weight: 700;
}

.contact-label {
  font-size: 24px;
  margin: 30px 0;
}

.contact-phone {
  font-size: 24px;
  color: #ff6f61;
  text-decoration: none;
}

.contact-phone:hover {
  text-decoration: underline;
}

.map-container {
  margin: 30px 0;
  border: 2px solid #ccc;
}

/* Подвал */
.footer {
  padding: 20px 0;
  background-color: #333;
  color: #fff;
  text-align: center;
}

/* Анимации */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos] {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-text {
    font-size: 18px;
  }

  .section-title {
    font-size: 28px;
  }

  .gift-certificates-title {
    font-size: 28px;
  }

  .nav-links {
    width: 100%;
  }
}

.privacy-content {
  padding: 100px 0;
}

.privacy-content h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.privacy-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.privacy-content p,
.privacy-content ul {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.privacy-content ul {
  list-style-type: disc;
  padding-left: 20px;
}

.privacy-content a {
  color: #ff6f61;
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}
.reviews-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reviews-item {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.reviews-item:hover {
  background-color: #e2e2e2;
}

.review-text {
  font-size: 18px;
  margin-bottom: 15px;
  font-style: italic;
}

.review-author {
  font-size: 16px;
  font-weight: bold;
  text-align: right;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination a {
  text-decoration: none;
  padding: 10px 20px;
  margin: 0 5px;
  background-color: #ff6f61;
  color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.pagination a:hover {
  background-color: #d85b53;
}

.pagination a.active {
  background-color: #ff5733;
  cursor: default;
}


.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer p {
  font-size: 16px;
  margin-bottom: 20px;
}

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

.footer .footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer .footer-links a:hover {
  color: #ff6f61;
}

.footer .footer-socials {
  margin-top: 20px;
}

.footer .footer-socials a {
  color: #fff;
  font-size: 20px;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer .footer-socials a:hover {
  color: #ff6f61;
}

.footer .footer-bottom {
  font-size: 14px;
  margin-top: 30px;
  color: #bbb;
}

@media (max-width: 768px) {
  .footer .footer-links {
    flex-direction: column;
  }

  .footer .footer-links a {
    margin: 10px 0;
  }

  .footer .footer-socials {
    margin-top: 20px;
  }
}
/* Обновление для корректного отображения на мобильных устройствах */
@media (max-width: 768px) {
  .privacy-content {
    padding: 60px 20px;
  }

  .privacy-content h2 {
    font-size: 28px;
  }

  .privacy-content h3 {
    font-size: 20px;
  }
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.9);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  z-index: 1000;
  flex-wrap: wrap;
}

.cookie-consent p {
  margin: 0;
  font-size: 14px;
  flex: 1 1 auto;
}

.cookie-consent button {
  background-color: #ff6f61;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-left: 20px;
  border-radius: 5px;
  cursor: pointer;
  flex: 0 0 auto;
}

.cookie-consent button:hover {
  background-color: #d85b53;
}

@media (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent button {
    margin: 10px 0 0 0;
  }
}