:root {
  --primary-color: #FF8C00;       /* Сочный оранжевый - как спелое манго */
  --secondary-color: #FF4500;     /* Яркий красно-оранжевый - как папайя */
  --accent-color: #FF1493;        /* Насыщенный розовый - как драконий фрукт */
  --dark-color: #4B0082;          /* Глубокий индиго - как ежевика */
  --light-color: #FFF8DC;         /* Кремовый - как кокосовое молоко */
  --white-color: #fff;            /* Белый - как сахарная пудра */
  --success-color: #00FA9A;       /* Зеленая мята - как свежий лайм */
  --error-color: #FF3333;         /* Красный - как сладкая клубника */
  --shadow: 0 4px 15px rgba(255, 140, 0, 0.2); /* Тропическая тень */
  --transition: all 0.4s ease-out;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-color);
  color: #333;
  line-height: 1.6;
  background-image: url('https://via.placeholder.com/1920x1080'); /* Здесь можно разместить фоновую текстуру с тропическими фруктами */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.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 30px 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://via.placeholder.com/300x200'); /* Текстура с тропическими фруктами */
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
  max-width: 800px;
  margin: 15px auto 0;
  font-size: 1.1em;
  opacity: 0.9;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

section {
  background-color: var(--white-color);
  margin: 25px 0;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--primary-color);
}

section:before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: url('https://via.placeholder.com/150x150'); /* Декоративный элемент фрукта */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
}

section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  font-size: 1.8em;
  position: relative;
}

section h2:after {
  content: '🍹'; /* Эмодзи коктейля */
  position: absolute;
  right: 0;
  top: 0;
}

.contact-info {
  margin-bottom: 30px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
  transition: var(--transition);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 15px;
  font-size: 16px;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.9);
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2);
  outline: none;
  transform: translateY(-2px);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
  border-radius: 15px;
}

.required::after {
  content: "*";
  color: var(--error-color);
  margin-left: 5px;
  font-size: 1.2em;
}

.btn {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white-color);
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  margin-top: 15px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn:hover {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transform: translateY(-5px);
  box-shadow: 0 7px 20px rgba(255, 140, 0, 0.3);
}

.btn:hover:before {
  left: 100%;
}

.contact-additional {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px dashed var(--primary-color);
  position: relative;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

footer {
  background: linear-gradient(135deg, var(--dark-color), #330066);
  color: var(--white-color);
  text-align: center;
  padding: 30px 20px;
  border-radius: 30px 30px 0 0;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://via.placeholder.com/300x200'); /* Текстура с тропическими фруктами */
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

footer p {
  margin: 5px 0;
  position: relative;
  z-index: 1;
}

footer nav {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--white-color);
  text-decoration: none;
  margin: 0 15px;
  position: relative;
  transition: var(--transition);
  font-weight: 600;
}

footer a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  transition: var(--transition);
  border-radius: 10px;
}

footer a:hover {
  color: var(--accent-color);
}

footer a:hover:after {
  width: 80%;
}

#cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
  color: var(--white-color);
  padding: 20px 25px;
  border-radius: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

#cookie-popup button {
  background: var(--accent-color);
  color: var(--white-color);
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  border-radius: 50px;
  margin-left: 20px;
  transition: var(--transition);
  font-weight: 600;
  letter-spacing: 1px;
}

#cookie-popup button:hover {
  background: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 0, 130, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--light-color);
  max-width: 450px;
  width: 90%;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transform: translateY(-20px);
  transition: transform 0.4s ease;
  border: 2px solid var(--primary-color);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--accent-color);
  transition: color 0.2s;
  z-index: 5;
}

.close-modal:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.modal-icon {
  margin: 0 auto 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.success-icon {
  background-color: rgba(0, 250, 154, 0.15);
  border: 3px solid var(--success-color);
}

.error-icon {
  background-color: rgba(255, 51, 51, 0.15);
  border: 3px solid var(--error-color);
}

.modal h3 {
  margin: 0 0 15px;
  font-size: 28px;
  color: var(--dark-color);
  font-weight: 700;
}

.modal p {
  margin-bottom: 25px;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.modal-btn {
  min-width: 150px;
  padding: 12px 25px;
  border-radius: 50px;
}

@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;
  stroke-width: 5;
}

.publicaciones {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.publicacion {
  flex: 1;
  margin: 10px;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 20, 147, 0.1));
  padding: 20px;
  text-align: center;
  min-width: 280px;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 140, 0, 0.3);
}

.publicacion:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.2);
}

.publicacion img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.publicacion:hover img {
  transform: scale(1.05);
}

.resena {
  margin-bottom: 30px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.resena:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

a {
  color: var(--primary-color);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

a:hover {
  color: var(--accent-color);
}

a:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

a:hover:before {
  width: 100%;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  #cookie-popup {
    flex-direction: column;
    padding: 20px;
  }

  #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: 15px;
  }

  .publicaciones {
    flex-direction: column;
  }

  header h1 {
    font-size: 2em;
  }

  section h2 {
    font-size: 1.5em;
  }
}
:root {
  --primary-color: #FF8C00;       /* Сочный оранжевый - как спелое манго */
  --secondary-color: #FF4500;     /* Яркий красно-оранжевый - как папайя */
  --accent-color: #FF1493;        /* Насыщенный розовый - как драконий фрукт */
  --dark-color: #4B0082;          /* Глубокий индиго - как ежевика */
  --light-color: #FFF8DC;         /* Кремовый - как кокосовое молоко */
  --white-color: #fff;            /* Белый - как сахарная пудра */
  --success-color: #00FA9A;       /* Зеленая мята - как свежий лайм */
  --error-color: #FF3333;         /* Красный - как сладкая клубника */
  --shadow: 0 4px 15px rgba(255, 140, 0, 0.2); /* Тропическая тень */
  --transition: all 0.4s ease-out;
  --glow: 0 0 15px rgba(255, 140, 0, 0.5); /* Золотистое свечение */
  --tropical-pattern: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,140,0,0.1)" stroke-width="2"/></svg>');
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--light-color);
  color: #333;
  line-height: 1.6;
  background-image: var(--tropical-pattern), url('https://via.placeholder.com/1920x1080'); /* Здесь можно разместить фоновую текстуру с тропическими фруктами */
  background-attachment: fixed;
  background-size: 200px 200px, cover;
  background-position: center;
  animation: bg-scroll 60s linear infinite;
  position: relative;
  overflow-x: hidden;
}

@keyframes bg-scroll {
  0% { background-position: 0 0, center; }
  100% { background-position: 200px 200px, center; }
}

/* Добавляем плавающие пузырьки для коктейльного эффекта */
body:before,
body:after {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: -1;
}

body:before {
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 5%),
              radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 5%),
              radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 8%);
  animation: bubble 20s ease-in-out infinite alternate;
}

body:after {
  background: radial-gradient(circle at 65% 15%, rgba(255, 140, 0, 0.05) 0%, rgba(255, 140, 0, 0) 10%),
              radial-gradient(circle at 10% 40%, rgba(255, 20, 147, 0.05) 0%, rgba(255, 20, 147, 0) 10%),
              radial-gradient(circle at 90% 90%, rgba(255, 140, 0, 0.05) 0%, rgba(255, 140, 0, 0) 15%);
  animation: bubble 25s ease-in-out infinite;
}

@keyframes bubble {
  0% { background-position: 0 0, 0 0, 0 0; }
  50% { background-position: 30px -30px, -20px 20px, 10px -10px; }
  100% { background-position: 0 0, 0 0, 0 0; }
}

.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 30px 30px;
  box-shadow: var(--shadow), 0 0 30px rgba(255, 20, 147, 0.2);
  position: relative;
  overflow: hidden;
}

header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://via.placeholder.com/300x200'); /* Текстура с тропическими фруктами */
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
  animation: pulse 8s ease-in-out infinite;
}

/* Добавляем конфетти-эффект в заголовке */
header:after {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 50px;
  background: repeating-linear-gradient(
    45deg,
    var(--primary-color) 0,
    var(--primary-color) 10px,
    var(--secondary-color) 10px,
    var(--secondary-color) 20px,
    var(--accent-color) 20px,
    var(--accent-color) 30px
  );
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  animation: confetti-slide 15s linear infinite;
}

@keyframes confetti-slide {
  0% { transform: translateY(-50px); }
  20% { transform: translateY(0); }
  80% { transform: translateY(0); }
  100% { transform: translateY(-50px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.2; }
}

header h1 {
  margin: 0;
  font-size: 2.5em;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px var(--accent-color);
  display: inline-block;
  background-image: linear-gradient(to right, var(--primary-color), var(--accent-color), var(--primary-color));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

header p {
  max-width: 800px;
  margin: 15px auto 0;
  font-size: 1.1em;
  opacity: 0.9;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

section {
  background-color: var(--white-color);
  margin: 25px 0;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--primary-color);
  transition: all 0.5s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), var(--glow);
  border-left: 5px solid var(--accent-color);
}

section:before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: url('https://via.placeholder.com/150x150'); /* Декоративный элемент фрукта */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
  transition: all 0.8s ease;
}

section:hover:before {
  transform: rotate(10deg) scale(1.2);
  opacity: 0.15;
}

section:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: all 0.5s ease;
}

section:hover:after {
  opacity: 1;
  animation: glistening 2s linear infinite;
}

@keyframes glistening {
  0% { background-position: -500px -500px; }
  100% { background-position: 500px 500px; }
}

section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  font-size: 1.8em;
  position: relative;
}

section h2:after {
  content: '🍹'; /* Эмодзи коктейля */
  position: absolute;
  right: 0;
  top: 0;
}

.contact-info {
  margin-bottom: 30px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-color);
  transition: var(--transition);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 15px;
  font-size: 16px;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.9);
  background-image: linear-gradient(120deg, rgba(255, 140, 0, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 20, 147, 0.2), 0 5px 15px rgba(255, 140, 0, 0.1);
  outline: none;
  transform: translateY(-2px);
  background-image: linear-gradient(120deg, rgba(255, 20, 147, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.form-control::placeholder {
  color: rgba(51, 51, 51, 0.5);
  transition: var(--transition);
}

.form-control:focus::placeholder {
  opacity: 0.7;
  transform: translateX(10px);
}

.form-group {
  position: relative;
}

.form-group:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10px;
  width: 20px;
  height: 20px;
  background-image: radial-gradient(circle, var(--primary-color) 0%, transparent 60%);
  opacity: 0;
  transition: all 0.5s ease;
}

.form-group:hover:after {
  opacity: 0.5;
  transform: scale(1.5);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
  border-radius: 15px;
}

.required::after {
  content: "*";
  color: var(--error-color);
  margin-left: 5px;
  font-size: 1.2em;
}

.btn {
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
  color: var(--white-color);
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  margin-top: 15px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn:after {
  content: '🍹';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 7px 20px rgba(255, 140, 0, 0.3), 0 0 15px rgba(255, 20, 147, 0.3);
  padding-right: 45px;
}

.btn:hover:before {
  left: 100%;
  animation: sheen 1s forwards;
}

.btn:hover:after {
  font-size: 18px;
  opacity: 1;
}

@keyframes sheen {
  0% {
    transform: skewX(-15deg) translateX(0);
    opacity: 0.4;
  }
  100% {
    transform: skewX(-15deg) translateX(600px);
    opacity: 0;
  }
}

.contact-additional {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px dashed var(--primary-color);
  position: relative;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
  position: relative;
  overflow: hidden;
  animation: float 3s ease-in-out infinite;
}

.contact-icon:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
  transition: all 0.5s ease;
  opacity: 0;
}

.contact-item:hover .contact-icon:before {
  opacity: 1;
  animation: ripple 1.5s ease-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes ripple {
  0% { transform: scale(0.5); opacity: 0.3; }
  100% { transform: scale(1); opacity: 0; }
}

footer {
  background: linear-gradient(135deg, var(--dark-color), #330066);
  color: var(--white-color);
  text-align: center;
  padding: 30px 20px;
  border-radius: 30px 30px 0 0;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://via.placeholder.com/300x200'); /* Текстура с тропическими фруктами */
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

footer p {
  margin: 5px 0;
  position: relative;
  z-index: 1;
}

footer nav {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

footer a {
  color: var(--white-color);
  text-decoration: none;
  margin: 0 15px;
  position: relative;
  transition: var(--transition);
  font-weight: 600;
}

footer a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  transition: var(--transition);
  border-radius: 10px;
}

footer a:hover {
  color: var(--accent-color);
}

footer a:hover:after {
  width: 80%;
}

#cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
  color: var(--white-color);
  padding: 20px 25px;
  border-radius: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 20px rgba(255, 140, 0, 0.3);
  animation: slide-up 0.5s ease-out forwards, pulse-border 3s infinite;
  backdrop-filter: blur(5px);
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border-image-slice: 1;
}

@keyframes slide-up {
  from { transform: translate(-50%, 100px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes pulse-border {
  0%, 100% { border-color: var(--primary-color); }
  50% { border-color: var(--accent-color); }
}

#cookie-popup button {
  background: var(--accent-color);
  color: var(--white-color);
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  border-radius: 50px;
  margin-left: 20px;
  transition: var(--transition);
  font-weight: 600;
  letter-spacing: 1px;
}

#cookie-popup button:hover {
  background: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 0, 130, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--light-color);
  max-width: 450px;
  width: 90%;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transform: translateY(-20px);
  transition: transform 0.4s ease;
  border: 2px solid var(--primary-color);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: var(--accent-color);
  transition: color 0.2s;
  z-index: 5;
}

.close-modal:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}

.modal-icon {
  margin: 0 auto 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.success-icon {
  background-color: rgba(0, 250, 154, 0.15);
  border: 3px solid var(--success-color);
}

.error-icon {
  background-color: rgba(255, 51, 51, 0.15);
  border: 3px solid var(--error-color);
}

.modal h3 {
  margin: 0 0 15px;
  font-size: 28px;
  color: var(--dark-color);
  font-weight: 700;
}

.modal p {
  margin-bottom: 25px;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.modal-btn {
  min-width: 150px;
  padding: 12px 25px;
  border-radius: 50px;
}

@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;
  stroke-width: 5;
}

.publicaciones {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.publicacion {
  flex: 1;
  margin: 10px;
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 20, 147, 0.1));
  padding: 20px;
  text-align: center;
  min-width: 280px;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 140, 0, 0.3);
}

.publicacion:before {
  content: '🍓';
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 60px;
  opacity: 0.1;
  transform: rotate(-30deg);
  transition: all 0.5s ease;
}

.publicacion:nth-child(2n):before {
  content: '🍍';
}

.publicacion:nth-child(3n):before {
  content: '🥭';
}

.publicacion:nth-child(4n):before {
  content: '🍉';
}

.publicacion:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.2), var(--glow);
}

.publicacion:hover:before {
  transform: rotate(0deg) scale(1.2);
  opacity: 0.2;
}

.publicacion img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  filter: saturate(1.1) brightness(1.05);
}

.publicacion:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15), 0 0 15px rgba(255, 20, 147, 0.2);
  filter: saturate(1.3) brightness(1.1);
}

.publicacion:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.publicacion:hover:after {
  transform: scaleX(1);
  animation: rainbow 2s linear infinite;
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.resena {
  margin-bottom: 30px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.resena:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

a {
  color: var(--primary-color);
  transition: var(--transition);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

a:hover {
  color: var(--accent-color);
}

a:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition);
}

a:hover:before {
  width: 100%;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  #cookie-popup {
    flex-direction: column;
    padding: 20px;
  }

  #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: 15px;
  }

  .publicaciones {
    flex-direction: column;
  }

  header h1 {
    font-size: 2em;
  }

  section h2 {
    font-size: 1.5em;
  }
}