:root {
  --primary-color: #FF4081;
  --secondary-color: #FF80AB;
  --accent-color: #FF2D55;
  --dark-color: #333;
  --light-color: #f4f4f4;
  --white-color: #fff;
  --success-color: #4CAF50;
  --error-color: #FF5252;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--light-color);
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white-color);
  padding: 30px 0;
  text-align: center;
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow);
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

header p {
  max-width: 800px;
  margin: 15px auto 0;
  font-size: 1.1em;
  opacity: 0.9;
  padding: 0 20px;
}

section {
  background-color: var(--white-color);
  margin: 25px 0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

/* Контактная информация */
.contact-info {
  margin-bottom: 30px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.2);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.required::after {
  content: "*";
  color: #e74c3c;
  margin-left: 5px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.btn {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white-color);
  border: none;
  padding: 14px 25px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  margin-top: 10px;
}

.btn:hover {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 45, 85, 0.3);
}

.contact-additional {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 18px;
}

/* Футер */
footer {
  background: linear-gradient(135deg, var(--dark-color), #222);
  color: var(--white-color);
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px 10px 0 0;
  margin-top: 30px;
}

footer p {
  margin: 5px 0;
}

footer nav {
  margin-top: 20px;
}

footer a {
  color: var(--white-color);
  text-decoration: none;
  margin: 0 10px;
  position: relative;
  transition: var(--transition);
}

footer a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

footer a:hover {
  color: var(--accent-color);
}

footer a:hover:after {
  width: 100%;
}

/* Кнопка согласия с cookie */
#cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-color);
  color: var(--white-color);
  padding: 20px 25px;
  border-radius: 10px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

#cookie-popup button {
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 20px;
  transition: var(--transition);
  font-weight: 600;
}

#cookie-popup button:hover {
  background: #FF2D55;
  transform: scale(1.05);
}

/* Стили для модальных окон */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: #fff;
  max-width: 450px;
  width: 90%;
  border-radius: 10px;
  padding: 30px;
  position: relative;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0,0,0,0.3);
  transform: translateY(-20px);
  transition: transform 0.4s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #888;
  transition: color 0.2s;
}

.close-modal:hover {
  color: #333;
}

.modal-icon {
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon {
  background-color: rgba(76, 175, 80, 0.1);
}

.error-icon {
  background-color: rgba(255, 82, 82, 0.1);
}

.modal h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #333;
}

.modal p {
  margin-bottom: 25px;
  color: #666;
  font-size: 16px;
}

.modal-btn {
  min-width: 120px;
}

@keyframes checkmark {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

.success-icon svg path:nth-child(2) {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: checkmark 0.8s ease-in-out forwards 0.4s;
}

/* Публикации */
.publicaciones {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.publicacion {
  flex: 1;
  margin: 10px;
  background-color: #eaeaea;
  padding: 10px;
  text-align: center;
  min-width: 280px;
}

.publicacion img {
  max-width: 100%;
  height: auto;
}

.resena {
  margin-bottom: 20px;
}

/* Изображения */
img {
  max-width: 100%;
  height: auto;
}
a {
 color: var(--primary-color);
}
/* Адаптивные стили */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  #cookie-popup {
    flex-direction: column;
    padding: 15px;
  }

  #cookie-popup button {
    margin-top: 15px;
    margin-left: 0;
    width: 100%;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .publicaciones {
    flex-direction: column;
  }
}