@charset "utf-8";
/* CSS Document */

/* SAYFA BAŞINA DÖN BUTONU */

#scrollTopBtn {
  position: fixed;
  right: 25px;
  bottom: 90px;
  z-index: 2060;

  width: 50px;
  height: 50px;

  border: 2px solid #D3D5DB;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;
}

/* Görsel */
#scrollTopBtn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Hover */
#scrollTopBtn:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 11px rgba(0,0,0,0.2);
}

/* Aktif olunca */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}


/*  ------ BİZE ULAŞIN BUTONU -------  */

.contact-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2070;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

}

/* ANA BUTON */
.contact-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #EFEFEF;

  background: #4a6177;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  text-align: center;

  cursor: pointer;
  box-shadow: 0 3px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.contact-main:hover {
  transform: scale(1.05);
}

/* AÇILAN CONTAINER */
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;

  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;

  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  right: 70px; /* butondan sola doğru çıkar */
  bottom: 0;
}

/* BUTONLAR */
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; 
  padding: 10px 16px;
  border-radius: 20px;
	border: 1px solid #e8ebec;
  font-family: 'Quicksand', sans-serif;
  color: #fff;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;

  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, 
              opacity 0.3s ease, 
              box-shadow 0.3s ease,
              filter 0.3s ease;

  opacity: 0;
  transform: translateX(20px);
	
}
.contact-btn svg {
  flex-shrink: 0;
  opacity: 0.95;
}
.contact-btn:hover {
  filter: brightness(1.1);
}
.contact-btn .icon {
  font-size: 16px;
  display: flex;
  align-items: center;
}
/* RENKLER */
.contact-btn.email { background: linear-gradient(
    190deg,
    #D8B862 0%,
    #C8A548 50%,
    #A88633 100%
); }
.contact-btn.form-btn{ background: linear-gradient(
    190deg,
    #D8B862 0%,
    #C8A548 50%,
    #A88633 100%
);}
.contact-btn.phone { background: linear-gradient(
    190deg,
    #D8B862 0%,
    #C8A548 50%,
    #A88633 100%
); }
.contact-btn.whatsapp { background: linear-gradient(
    -180deg,
    #42df7b 0%,
    #25D366 50%,
    #1ea851 100%
); }

/* 🔥 AÇILMA DURUMLARI (TEK YERDEN KONTROL) */

.contact-fab:is(:hover, .active) .contact-options {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.contact-fab:is(:hover, .active) .contact-btn {
  opacity: 1;
  transform: translateX(0);
}

/* stagger efekt */
.contact-fab:hover .contact-btn:nth-child(1),
.contact-fab.active .contact-btn:nth-child(1) {
  transition-delay: 0.05s;
}
.contact-fab:hover .contact-btn:nth-child(2),
.contact-fab.active .contact-btn:nth-child(2) {
  transition-delay: 0.1s;
}
.contact-fab:hover .contact-btn:nth-child(3),
.contact-fab.active .contact-btn:nth-child(3) {
  transition-delay: 0.15s;
}

.contact-fab {
  position: fixed;
}

.contact-options {
  position: absolute;
  right: 70px;
  bottom: 0;
}

.contact-fab::before {
  content: "";
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 120px;
  height: 120px;
}

/* MODAL OVERLAY */

.contact-modal-overlay{
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,.45);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 5000;

  opacity: 0;
  visibility: hidden;

  transition: all .35s ease;
}

/* AKTİF */

.contact-modal-overlay.active{
  opacity: 1;
  visibility: visible;
}

/* MODAL */

.contact-modal-box{
  width: 92%;
  max-width: 520px;
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(.96);
  transition: all .35s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
	font-family: "Quicksand", sans-serif;
}

/* açılış animasyonu */

.contact-modal-overlay.active .contact-modal-box{
  transform: translateY(0) scale(1);
}

/* kapat */

.contact-modal-close{
  position: absolute;

  top: 18px;
  right: 18px;

  width: 38px;
  height: 38px;

  border: none;
  border-radius: 50%;

  background: #f4f4f4;

  cursor: pointer;

  font-size: 24px;
  line-height: 1;

  transition: all .25s ease;
}

.contact-modal-close:hover{
  background: #e9e9e9;
  transform: rotate(90deg);
}

/* içerik */

.contact-modal-content h2{
  font-size: 2rem;
  margin-bottom: 12px;
  color: #1f2937;
}

.contact-modal-content p{
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* form */

.form-group{
  margin-bottom: 20px;
}

.form-group label{
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group textarea{
  width: 100%;
  border: 1px solid #d7dce2;
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  transition: all .25s ease;
}

.form-group input:focus,
.form-group textarea:focus{
  border-color: #99d3fc;
  box-shadow: none !important;
}
.form-group input:hover{
  border-color: #99d3fc;
  box-shadow: none !important;
}


/* checkbox */

.form-check-area{
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin-bottom: 24px;
}

.form-check-area label{
  font-size: .95rem;
  line-height: 1.5;
}

/* gönder */

.modal-submit-btn{
  border: none;

  background: #4a6177;
  color: #fff;

  padding: 14px 26px;

  border-radius: 12px;

  font-weight: 600;

  cursor: pointer;

  transition: all .3s ease;
}

.modal-submit-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(74,97,119,.25);
}




/* mobil */

@media(max-width:768px){

  .contact-modal-box{
    padding: 30px 22px;
    border-radius: 20px;
  }

  .contact-modal-content h2{
    font-size: 1.7rem;
  }

}

