/* Общие настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

/* Хедер */
.header {
  background-color: #1d1f33;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeInDown 1s ease-in-out;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  height: 60px;
}

.company-info h1 {
  margin: 0;
  font-size: 24px;
}

.company-info p {
  font-size: 14px;
  color: #ccc;
}

.navbar a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #ffcc00;
}

/* Общие стили для секций */
section {
  padding: 60px 20px;
  text-align: center;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}

p {
  max-width: 900px;
  margin: 10px auto;
  font-size: 18px;
  animation: fadeIn 1.5s ease-in-out;
}

/* Фото команды и магазина */
.team-photo, .store-photo {
  width: 80%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  margin: 20px 0;
  animation: zoomIn 1.2s ease;
}

/* Почему выбирают нас */
.reasons {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.reason {
  background-color: #fff;
  padding: 20px;
  border-left: 5px solid #1d1f33;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  animation: slideInLeft 1s ease forwards;
}

.reason h3 {
  margin-bottom: 10px;
  color: #1d1f33;
}

/* Отзывы */
.testimonials {
  background-color: #f0f0f0;
  padding: 60px 20px;
}

.testimonial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px auto;
  max-width: 800px;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  animation: fadeInUp 1s ease;
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-content h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

/* Форма */
.contact-form form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeIn 1.2s ease;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  resize: none;
}

.contact-form button {
  padding: 12px;
  background-color: #1d1f33;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #ffcc00;
  color: #1d1f33;
}

/* Футер */
.footer {
  background-color: #1d1f33;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
}

.footer a {
  color: #ffcc00;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  color: #000;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  z-index: 999;
  animation: fadeInUp 1s ease-in-out;
}

.cookie-banner button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  background-color: #1d1f33;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cookie-banner button:hover {
  background-color: #ffcc00;
  color: #1d1f33;
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .reasons {
    flex-direction: column;
  }

  .testimonial {
    flex-direction: column;
    text-align: center;
  }

  .navbar {
    margin-top: 20px;
  }

  .logo-container {
    flex-direction: column;
    text-align: center;
  }
}
