:root {
	--main-color: #a88700;
	--main-color-hover: #caa716;
	--text-on-main-color: #ffffff;
}

#pfy-contact-button {
	background-color: var(--main-color);
	border-radius: 150px;
	padding: 15px 25px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	justify-content: center;
	transition: all 0.6s ease;
	cursor: pointer;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1000;
}

#pfy-contact-button:hover{
	background-color: var(--main-color-hover);
}

#pfy-contact-button-logo{

}

#pfy-contact-button-text {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 15px;
	color: var(--text-on-main-color);
	margin: 0 !important;
}

#pfy-contact-form-body{
	display: none;
	opacity: 0;
	transform: translateY(100px);
	transition: opacity 0.4s ease, transform 0.4s ease;
	background-color: var(--main-color);
	width: 500px;
	height: 80vh;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1001;
	border-radius: 50px;
	flex-direction: column;
	align-items: center;
	padding: 15px;
	box-sizing: border-box;
}

@media (max-width: 767px) {
  #pfy-contact-form-body {
    width: 100vw!important;
	height: 80vh;
	bottom: 0px;
	right: 0px;
	border-radius: 50px 50px 0 0;
  }
	
  	#pfy-contact-button-logo{
		width: 30px;
	}
	
	#pfy-contact-button-text {
		font-size: 12px;
	}
	
	#pfy-contact-button{
		padding: 8px 20px;
	}
}

/* Gösterme animasyonu */
#pfy-contact-form-body.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Gizleme animasyonu için geçiş efekti uygulansın */
#pfy-contact-form-body.hide {
  opacity: 0;
  transform: translateY(100px);
}

#pfy-contact-form-logo{
	width: 60%;
}

#pfy-contact-form-text {
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 18px;
	color: var(--text-on-main-color);
	text-align: center;
	margin: 15px 0 0 0;
}



/* Form etiketleri */
.wpcf7-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: #f0e6c2;
}

#pfy-contact-form-body .wpcf7{
	width: 80%;
	margin-top: 20px;
}

#pfy-contact-form-body .wpcf7 p{
	margin: 0!important;
}

#pfy-contact-form-body .wpcf7 .wpcf7-response-output{
	margin: 0!important;
	border-color:white;
}

#pfy-contact-close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  color: #a88f00; /* ikon rengi */
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 9999;
}

#pfy-contact-close-button:hover {
  background-color: #f0f0f0;
  color: #333;
}


/* Form alanları */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 15px;
  margin-bottom: 18px;
  font-family: inherit;
  resize: vertical;
  transition: box-shadow 0.3s ease;
}

.wpcf7-form textarea {
  height: 90px;
}

/* Focus efekti */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.8);
  background-color: #fff;
  color: #333;
}

/* Hata mesajları */
.wpcf7-not-valid-tip {
  color: #ff4d4d;
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 10px;
  font-weight: 600;
	display: none!important;
}

/* Gönder butonu */
.wpcf7-form input[type="submit"] {
  background-color: #fff;
  color: var(--main-color);
  border: none;
  padding: 12px 0;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: var(--main-color-hover);
  color: var(--text-on-main-color);;
}