
/* Базовые стили */
:root {
  --primary: #e63946;
  --secondary: #1d3557;
  --light: #f1faee;
  --dark: #222;
  --gray: #6c757d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #f8f9fa;
}

/* Шапка */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s;
}

.social-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.social-btn img {
  width: 24px;
  height: 24px;
}

.btn-book {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-book:hover {
  background: #c1121f;
  transform: translateY(-2px);
}

/* Бургер-меню */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-line {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  transition: all 0.3s;
}

.menu-toggle.active .menu-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Навигация */
.main-nav {
  display: flex;
  justify-content: center;
  background: #333;
  padding: 15px;
  transition: all 0.3s;
}

.main-nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--primary);
}

/* Герой-секция */
.hero {
  position: relative;
  height: 60vh;
  max-height: 600px;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 100%;
  padding: 0 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.8rem;
}

/* Секции */
.section {
  padding: 60px 5%;
}

.section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--secondary);
}

/* Услуги */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-item p {
  padding: 15px;
  text-align: center;
  margin: 0;
  font-weight: 600;
}

/* Форма записи */
.booking-section {
  background: #f1f1f1;
}

.booking-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.booking-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.btn-submit {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background: #c1121f;
}

/* Прайс */
.prices-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.price-category {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.price-category h3 {
  color: var(--primary);
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.price-list {
  list-style: none;
  padding: 0;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #eee;
}

.price-list li:last-child {
  border-bottom: none;
}

.service-name {
  color: var(--dark);
}

.service-price {
  font-weight: 600;
  color: var(--primary);
}

/* Контакты */
.contacts-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Карта */
.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
}

/* Кнопка звонка */
.call-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.3s;
}

.call-button:hover {
  transform: scale(1.1);
  background: #218838;
}

/* Адаптивность */
@media (max-width: 992px) {
  .contacts-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: #222;
    padding: 20px;
    z-index: 999;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 40px 20px;
  }
}

@media (max-width: 576px) {
  .top-bar {
    padding: 10px;
  }
  
  .social-icons {
    gap: 10px;
  }
  
  .btn-book {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .call-button {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

