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

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.7;
  font-size: 1.05rem;
}

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

/* Header styles */
:root {
  --bg-color: #0b502a;
  --darker-bg: #09622b;
  --text-color: #3d3d3d;
  --glass-color: rgba(9, 121, 9, 0.374);
  --border-color: rgba(21, 92, 13, 0.4);
  --shadow-color: rgba(35, 115, 13, 0.2);
}

.header {
  background: var(--glass-color);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 15px var(--shadow-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  /* color: var(--text-color); */
  color: #f5f7fa;
}

.nav a {
  /* color: var(--text-color); */
  color: #f5f7fa;
  text-decoration: none;
  margin-left: 2rem;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
}

.nav a:hover {
  color: #a78b6d; /* Цвет при наведении */
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #a78b6d;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Hero section */
.hero {
  background: linear-gradient(
      rgba(255, 255, 255, 0.6),
      rgba(255, 255, 255, 0.6)
    ),
    url("hero-massage.jpg") no-repeat center center/cover;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
}

.hero-content {
  background-color: rgba(255, 255, 255, 0.92);
  color: #333;
  padding: 2.5rem;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  text-align: center;
  line-height: 1.3;
}

.hero-text {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.hero-list {
  margin: 1.5rem 0 1.5rem 2rem;
}

.hero-list li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background-color: rgba(9, 121, 9, 0.374);
  border-radius: 50%;
}

/* Services section */
.services {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: #2c3e50;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #f39c12;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}

.service-card:hover .service-image {
  transform: scale(1.03);
}

.service-info {
  padding: 1.8rem;
}

.service-info h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.4rem;
}

.service-description {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-price {
  font-weight: bold;
  color: #220a08;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.book-btn {
  background-color: rgba(9, 121, 9, 0.374);
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.book-btn:hover {
  background-color: rgba(9, 121, 9, 0.374);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(230, 126, 34, 0.3);
}

/* About section */
.about {
  padding: 5rem 0;
  background-color: #f5f7fa;
}

.about-content {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Footer styles */
.footer {
  background-color: #2c3e50;
  color: white;
  padding: 4rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-info h3,
.footer-hours h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-info h3::after,
.footer-hours h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #f39c12;
}

.footer p {
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Animation classes */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero {
    min-height: 60vh;
  }

  .hero-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    text-align: center;
  }

  .nav {
    margin-top: 1.2rem;
  }

  .nav a {
    margin: 0 0.8rem;
    display: inline-block;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-content {
    padding: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: auto;
    padding: 100px 0 40px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
