/* Основные цвета сайта */
:root {
  --primary: #FF5F00; /* Апельсиновый неон */
  --accent: #00E3E3; /* Яркий бирюзовый */
  --background: #F3F1EF; /* Мягкий серо-бежевый */
  --text: #2D1B4F; /* Темно-фиолетовый */
  --button: #C7FF00; /* Салатово-лаймовый */
  --white: #ffffff;
  --light-gray: #f8f8f8;
  --gradient-primary: linear-gradient(45deg, var(--primary), var(--accent));
  --gradient-button: linear-gradient(45deg, var(--button), var(--primary));
  --box-shadow: 0 4px 20px rgba(45, 27, 79, 0.1);
}

/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary);
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 15px auto;
  border-radius: 2px;
}

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--button);
  color: var(--text);
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow);
}

.btn:hover {
  background: var(--gradient-button);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(45, 27, 79, 0.2);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

/* Навигация */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  left: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.menu {
  display: flex;
  list-style: none;
}

.menu li {
  margin-left: 30px;
}

.menu a {
  color: var(--text);
  font-weight: 600;
}

.menu a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

/* Hero секция */
.hero {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 150px 0 100px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 0 0 50%;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-image {
  flex: 0 0 45%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* О компании */
.about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 0 0 45%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 0 0 50%;
}

/* Преимущества */
.benefits {
  background-color: var(--light-gray);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(45, 27, 79, 0.15);
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Услуги и цены */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--light-gray);
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 20px 0;
  color: var(--text);
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
}

.service-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(45, 27, 79, 0.1);
}

/* Галерея */
.gallery {
  background-color: var(--light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(45, 27, 79, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* Отзывы */
.testimonials {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  color: var(--primary);
}

/* FAQ */
.faq {
  background-color: var(--light-gray);
}

.accordion {
  list-style: none;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.accordion-title {
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--white);
}

.accordion-item:target .accordion-content {
  max-height: 1000px;
  padding: 0 20px 20px;
}

/* Форма заказа */
.order {
  background-color: var(--white);
}

.order-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--light-gray);
  border-radius: 20px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox-group input {
  margin-right: 10px;
}

.form-submit {
  text-align: center;
}

/* Контакты и футер */
.contact {
  background: var(--gradient-primary);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-item {
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.contact-item h4 {
  margin-bottom: 10px;
}

footer {
  background-color: var(--text);
  color: var(--white);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-desc {
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  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(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-popup p {
  margin-right: 20px;
}

.cookie-popup-hidden {
  display: none;
}

/* Responsive */
@media (max-width: 992px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-content,
  .about-content {
    flex-direction: column;
  }
  
  .hero-text,
  .about-text,
  .hero-image,
  .about-image {
    flex: 0 0 100%;
    margin-bottom: 30px;
  }
  
  .benefits-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .benefits-grid,
  .services-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: var(--box-shadow);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  
  .menu.active {
    transform: translateY(0);
  }
  
  .menu li {
    margin: 10px 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .cookie-popup {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-popup p {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Danke page */
.thank-you {
  text-align: center;
  padding: 150px 0;
}

.thank-you h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Стили для дополнительных страниц */
.page-header {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 120px 0 60px;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
}

.page-content {
  padding: 60px 0;
  background-color: var(--white);
}

.page-content .container {
  max-width: 900px;
}

.page-content h2 {
  color: var(--primary);
  margin: 30px 0 20px;
}

.page-content p,
.page-content ul,
.page-content ol {
  margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
  padding-left: 20px;
}

/* Стили для активного пункта меню */
.menu a.active {
  color: var(--primary);
  position: relative;
}

.menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
} 