/**
 * contact_2.htm — two-column guestbook form + title (included fragment).
 */

.contact-form {
  width: 100%;
  position: static;
  background: none;
  padding: 40px 30px;
  border-radius: 12px;
}

.contact-title {
  color: #111;
  text-align: center;
  margin-bottom: 32px;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form label {
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
  display: block;
  font-size: 0.85rem;
}

.contact-form .required {
  color: #000;
  margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  background: #fafbfc;
  color: #111;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #667eea;
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.contact-form .row-flex {
  display: flex;
  gap: 10px;
}

.contact-form .row-flex .form-group {
  flex: 1;
  margin-bottom: 0;
}

.contact-form textarea {
  min-height: 80px;
  resize: vertical;
  color: #111;
}

.contact-form .whatsapp-hint {
  font-size: 11px;
  margin-top: 3px;
  color: #888;
  display: block;
  transition: color 0.2s;
}

.contact-form .whatsapp-hint.valid {
  color: #28a745;
}

.contact-form .whatsapp-hint.invalid {
  color: #dc3545;
}

.contact-form button[type="submit"] {
  width: 100%;
  background: #000000;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 4px;
  padding: 10px 0;
  margin-top: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contact-form .form-layout {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.contact-form .form-left {
  flex: 1;
}

.contact-form .form-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form .form-right .form-group {
  margin-bottom: 20px;
}

.contact-form .form-right .form-group:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .contact-form .form-layout {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form .form-right {
    justify-content: flex-start;
  }

  .contact-form .row-flex {
    flex-direction: column;
    gap: 0;
  }
}
