/* === ГЛОБАЛЬНЫЕ СТИЛИ === */
:root {
  --primary: #b36b99;
  --secondary: #d4a7c7;
  --light: #f8f5f7;
  --dark: #2c2c2c;
  --gray: #e0e0e0;
  --success: #4caf50;
  --warning: #ff9800;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
}

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

/* === ШАПКА === */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo img {
  max-width: 200px;
  height: auto;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 1.5rem;
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.phone-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

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

/* === БАННЕР === */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* === КНОПКИ === */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #9a5a85;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* === УСЛУГИ === */
.services {
  padding: 4rem 0;
  background: var(--light);
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--gray);
}

.service-list li:last-child {
  border-bottom: none;
}

/* === ПРАЙС === */
.price {
  padding: 4rem 0;
}

.price h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.price-table th,
.price-table td {
  padding: 1rem;
  text-align: left;
}

.price-table th {
  background: var(--primary);
  color: white;
}

.price-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* === ГАЛЕРЕЯ === */
.gallery {
  padding: 4rem 0;
  background: var(--light);
}

.gallery h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-container {
  display: flex;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  height: 400px;
  position: relative;
}

.gallery-item {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

.gallery-nav button {
  background: var(--primary);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

/* === ОТЗЫВЫ === */
.reviews {
  padding: 4rem 0;
}

.reviews h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.review-card {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.review-card cite {
  display: block;
  margin-top: 0.75rem;
  font-style: italic;
  color: #666;
}

.review-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.review-links a {
  color: var(--primary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray);
  border-radius: 5px;
  transition: var(--transition);
}

.review-links a:hover {
  background: var(--primary);
  color: white;
}


/* === КОНТАКТЫ === */
.contact {
  padding: 4rem 0;
  background: white;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f0f0;
  color: var(--dark);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--gray);
  border-radius: 8px;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* === ФУТЕР === */
.footer {
  background: var(--dark);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer a {
  color: #ccc;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .gallery-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-link {
    text-align: center;
  }

  .gallery-nav {
    flex-wrap: wrap;
  }
}
/* === HERO СЛАЙДЕР === */
.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  color: white;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.hero-bg-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-bg-item.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.hero-text-wrapper {
  background: rgba(0, 0, 0, 0.4); /* полупрозрачный чёрный фон */
  padding: 2rem 2.5rem;
  border-radius: 16px;
  max-width: 700px;
  backdrop-filter: blur(4px); /* если поддерживается */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero .subtitle {
  font-size: 1.4rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Точки управления */
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}

.hero-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dots .dot.active {
  background: white;
  transform: scale(1.3);
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero {
    height: 380px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero .subtitle {
    font-size: 1.2rem;
  }
  .hero-text-wrapper {
    padding: 1.5rem;
  }
}