/* =====================================================
   ORTAK CTA BUTONU (TELEFON + FORM)
===================================================== */
.ae-cta-btn,
.ae-open-form,
.ae-tel-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--color-primary);
  color: var(--color-dark-text);
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

/* Hover */
.ae-cta-btn:hover,
.ae-open-form:hover,
.ae-tel-link:hover {
  opacity: 0.92;
}

/* =====================================================
   FORM – SADE VE GÜVENLİ
===================================================== */
form.ae-tel-form {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  max-width: 360px;
}

.hero form.ae-tel-form {
  max-width: 420px;
}

/* Input */
form.ae-tel-form input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;
  margin-bottom: 12px;
}

/* Gönder butonu */
form.ae-tel-form button {
  width: 100%;
  padding: 12px;
  background: var(--color-primary);
  color: var(--color-dark-text);
  border-radius: 8px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  transition: box-shadow .2s ease, transform .1s ease;
}

form.ae-tel-form button:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}

/* Başarı mesajı */
.ae-form-success {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* =====================================================
   FORM AÇ / KAPA
===================================================== */
.ae-form-hidden {
  display: none;
  margin-top: 12px;
}

.ae-form-hidden.is-open {
  display: block;
}

/* =====================================================
   HEADER (MASAÜSTÜ)
===================================================== */
header .ae-form-hidden {
  display: none;
}

/* =====================================================
   MOBİL SABİT CTA
===================================================== */
.ae-mobile-call {
  display: none;
}

@media (max-width: 768px) {
  .ae-mobile-call {
    display: block;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: var(--color-primary);
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
  }

  /* Mobilde açılan form butonun üstünde */
  #ae-form-mobile.is-open {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 9999;
  }
}

@media (min-width: 769px) {
  .ae-mobile-call {
    display: none !important;
  }
}

/* =========================================
   HEMEN ARA – WHATSAPP İLE AYNI İNCE ÇERÇEVE
========================================= */
.ae-tel-link {
  border: 2px solid var(--color-dark-text);
}

/* Hover */
.ae-tel-link:hover {
  border-color: rgba(255,255,255,1);
}

/* HERO Buton Ortak Stil */
.semt-hero .ae-tel-link,
.semt-hero .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    margin-right: 16px;
    margin-top: 14px;
    font-size: 15px;
    border: none;
}

/* Hemen Ara */
.semt-hero .ae-tel-link {
    background:#e30613;
    color:#fff;
    box-shadow:0 6px 14px rgba(227,6,19,0.25);
}

/* WhatsApp */
.semt-hero .btn-outline {
    background:#25D366 !important;
    color:#fff !important;
    border:none !important;
    box-shadow:0 6px 14px rgba(37,211,102,0.25);
}

/* Hover */
.semt-hero .ae-tel-link:hover,
.semt-hero .btn-outline:hover {
    transform: translateY(-1px);
}
