/* Основные стили */
:root {
  --primary-bg-start: #ffedd5;
  --primary-bg-end: #ffe6f0;
  --text-color: #0f172a;
  --accent-color-1: #a855f7;
  --accent-color-2: #10b981;
  --block-bg-1: #f0fdfa;
  --block-bg-2: #fdf6e3;
  --border-radius: 1rem;
  --box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background: linear-gradient(135deg, var(--primary-bg-start), var(--primary-bg-end));
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Ссылки */
a {
  color: var(--accent-color-1);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color-2);
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color-1);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--accent-color-2);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Секции */
section {
  padding: 4rem 0;
  min-height: 50vh;
}

.section-inner {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

/* Шапка */
header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

/* Навигация */
nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero секция */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 0;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* О компании */
.about {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-img {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transform: translateX(-50px);
  opacity: 0;
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 0.3s;
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  flex: 1;
  transform: translateX(50px);
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}

/* Преимущества */
.features {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background-color: var(--block-bg-1);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.3s; }
.feature-item:nth-child(3) { animation-delay: 0.5s; }

.feature-item:hover {
  transform: translateY(-10px);
  background-color: var(--block-bg-2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color-1);
}

/* Услуги */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--block-bg-2);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.2s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.6s; }

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  padding: 1.5rem;
}

.price {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--accent-color-1);
  margin-top: 0.5rem;
}

/* Галерея */
.gallery {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Отзывы */
.testimonials {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-item {
  background-color: var(--block-bg-1);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.testimonial-item:nth-child(1) { animation-delay: 0.2s; }
.testimonial-item:nth-child(2) { animation-delay: 0.4s; }
.testimonial-item:nth-child(3) { animation-delay: 0.6s; }

.testimonial-item:before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: 0;
  left: 20px;
  color: rgba(0, 0, 0, 0.1);
  line-height: 1;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: bold;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

.faq-question {
  background-color: var(--block-bg-2);
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--accent-color-1);
  color: white;
}

.faq-answer {
  background-color: white;
  padding: 1rem;
  display: none;
}

.faq-item:target .faq-answer {
  display: block;
  animation: fadeIn 0.5s ease-out;
}

/* Форма заказа */
.order-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--block-bg-1);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-color-1);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
  transform: translateY(-2px);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.submit-btn {
  background-color: var(--accent-color-1);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: bold;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--accent-color-2);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Подвал */
footer {
  background-color: var(--text-color);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  color: var(--accent-color-2);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ddd;
}

.footer-links a:hover {
  color: var(--accent-color-2);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--block-bg-1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  animation: slideInUp 0.5s ease-out;
}

.cookie-text {
  margin-right: 1rem;
}

/* Благодарственная страница */
.thank-you {
  text-align: center;
  padding: 4rem 0;
  animation: fadeIn 1s ease-out;
}

.thank-you h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color-1);
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Медиа-запросы */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about {
    flex-direction: column;
  }
  
  .about-img, .about-content {
    transform: none;
    opacity: 1;
    animation: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .cookie-popup {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-inner {
    padding: 1.5rem;
  }
} 