/* ========================================
   СТИЛИ СТРАНИЦЫ КОНТАКТОВ
   ======================================== */

.contacts-header {
  text-align: center;
  margin: 30px 0;
}

.contacts-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  color: #666;
  font-size: 18px;
  line-height: 1.6;
}

/* Контактная информация */
.contact-info-section {
  margin: 40px 0;
}

.contact-details {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.contact-item {
  margin-bottom: 20px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item i {
  width: 30px;
  height: 30px;
  background: #b0ff00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c2c2c;
  font-weight: bold;
}

.contact-item strong {
  color: #2c2c2c;
  min-width: 100px;
}

/* Форма обратной связи */
.contact-form-section {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 40px 0;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c2c2c;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #2c2c2c;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #b0ff00;
  box-shadow: 0 0 0 3px rgba(176, 255, 0, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group .required {
  color: #ff4444;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit .button {
  background: #b0ff00;
  color: #2c2c2c;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.form-submit .button:hover {
  background: #9ee600;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(176, 255, 0, 0.3);
}

/* Сообщения формы */
#form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

#form-message .success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#form-message .error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#form-message .loading {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Карта */
.map-section {
  margin: 40px 0;
  text-align: center;
}

.map-container {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  color: #666;
  font-size: 18px;
}

/* Время работы */
.working-hours {
  background: linear-gradient(135deg, #2c2c2c, #444);
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}

.working-hours h3 {
  color: #b0ff00;
  margin-bottom: 20px;
  border-bottom-color: #b0ff00;
}

.working-hours .hours-list {
  list-style: none;
  padding: 0;
}

.working-hours .hours-list li {
  padding: 8px 0;
  border-bottom: 1px solid #444;
}

.working-hours .hours-list li:last-child {
  border-bottom: none;
}

.working-hours .hours-text {
  font-size: 18px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Социальные сети */
.social-links {
  text-align: center;
  margin: 30px 0;
}

.social-links h3 {
  margin-bottom: 20px;
  color: #2c2c2c;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2c2c2c;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: bold;
}

.social-button:hover {
  background: #b0ff00;
  color: #2c2c2c;
  transform: translateY(-2px);
}

/* Адаптивность для страницы контактов */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-section {
    padding: 30px 20px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .social-buttons {
    flex-direction: column;
    align-items: center;
  }

  .social-button {
    width: 200px;
    justify-content: center;
  }
}
