/* ===== ОБНОВЛЕННЫЙ СТИЛЬ САЙТА СТОЛЫПИНОЙ ОЛЬГИ ===== */

/* Цветовая палитра */
:root {
  --primary: #e6b3c7;
  --primary-light: #f7cad0;
  --primary-extra-light: #fdf1f5;
  --secondary: #a78ec3;
  --dark: #3a3a3a;
  --gray: #666;
  --light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Общие настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito", "Arial", sans-serif;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Текст и заголовки */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

p {
  margin-bottom: 1rem;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Навигация */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 5px 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-item {
  margin-left: 30px;
}

.navbar-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--primary);
}

.navbar-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.navbar-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition);
  transform-origin: center;
}

/* Hero секция */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  
  /* Попробуем разные пути */
  background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
    url('./assets/img/hero.jpg') center/cover no-repeat,
    url('/assets/img/hero.jpg') center/cover no-repeat,
    url('img/hero.jpg') center/cover no-repeat,
    #e6b3c7;
  
  color: white;
  text-align: center;
  position: relative;
}


.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Секции */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  margin: 15px auto;
}

.section-bg-light {
  background-color: var(--primary-extra-light);
}

/* О мастере */
.about {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content {
  flex: 1;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.feature {
  flex: 1 1 200px;
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

/* Галерея работ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Услуги */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 15px 0;
}

/* Контакты */
.contact-hero {
  height: 50vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/img/contact-bg.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.contact-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-item h3 {
  margin-bottom: 15px;
}

.contact-link {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 50px;
}

/* Форма записи */
.booking-form {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 179, 199, 0.3);
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.time-slot {
  padding: 8px 15px;
  background: var(--primary-extra-light);
  border: 1px solid var(--primary-light);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.time-slot:hover,
.time-slot.active {
  background: var(--primary);
  color: white;
}

/* Отзывы */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 5rem;
  color: var(--primary-light);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 5px;
}

.testimonial-info p {
  margin: 0;
  color: var(--gray);
  font-size: 0.9rem;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--primary-extra-light);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-toggle {
  font-size: 1.2rem;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Подвал */
.footer {
  background: var(--dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  display: inline-block;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Социальные иконки */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Мобильная адаптация */
@media (max-width: 992px) {
  .about {
    flex-direction: column;
  }
  
  .about-image,
  .about-content {
    flex: none;
    width: 100%;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }
  
  .navbar-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 999;
    height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .navbar-item {
    margin: 15px 0;
    width: 100%;
    text-align: center;
  }
  
  .navbar-link {
    display: block;
    padding: 12px 20px;
    font-size: 1.1rem;
  }
  
  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .services,
  .gallery,
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .booking-form {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}