@import url('index-small.css');

.contact-content {
  padding: 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contact-info h2,
.contact-form-container h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info > p,
.contact-form-container > p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.contact-item p {
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-item a {
  color: var(--text-dark);
}

.contact-item a:hover,
.contact-item a:focus {
  color: var(--secondary);
  opacity: 1;
}

.social-links-large {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-links-large a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: #F5F5F5;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.social-links-large a:hover,
.social-links-large a:focus {
  background: var(--gradient-warm);
  color: white;
  opacity: 1;
  transform: translateX(4px);
}

.contact-form {
  background-color: white;
  padding: 40px 28px;
  border: 2px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.contact-form:hover {
  box-shadow: var(--shadow-warm);
  border-color: var(--border-warm);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group .required {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
  border-radius: 6px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(210, 105, 30, 0.12);
  transform: translateY(-1px);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--error);
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 4px;
  min-height: 20px;
}

.form-status {
  padding: 16px;
  margin-top: 16px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background-color: #E8F5E9;
  color: var(--success);
  border: 1px solid var(--success);
}

.form-status.error {
  background-color: #FFEBEE;
  color: var(--error);
  border: 1px solid var(--error);
}