/* =====================================
   İLETİŞİM FORMU MODAL
===================================== */

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.contact-modal {
  background: var(--surface);
  border: 1px solid var(--line-bright);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 214, 10, 0.1);
}

.contact-modal-overlay.active .contact-modal {
  transform: translateY(0) scale(1);
}

.contact-modal-header {
  padding: 2rem 2rem 0;
  position: relative;
}

.contact-modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--yellow-soft);
  border: 1px solid var(--line-bright);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.contact-modal-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse 2s infinite;
}

.contact-modal h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.contact-modal h2 .yellow-text { color: var(--yellow); }

.contact-modal-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text-muted);
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.contact-modal-close:hover {
  background: var(--yellow);
  color: var(--bg);
  border-color: var(--yellow);
  transform: rotate(90deg);
}

.contact-modal-body {
  padding: 0 2rem 2rem;
}

.product-info-tag {
  background: var(--yellow-soft);
  border: 1px solid var(--line-bright);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.product-info-tag strong {
  color: var(--yellow);
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.form-field {
  margin-bottom: 0.85rem;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-field label .required {
  color: var(--yellow);
  margin-left: 0.2rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  transition: all 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(255, 214, 10, 0.03);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

/* Honeypot - gizli alan */
.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--yellow);
  color: var(--bg);
  border: none;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 8px 25px rgba(255, 214, 10, 0.3);
}

.form-submit-btn:hover:not(:disabled) {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255, 214, 10, 0.4);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-submit-btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(13, 13, 13, 0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.form-submit-btn.loading .spinner { display: block; }
.form-submit-btn.loading .btn-text { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: none;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.form-alert.show { display: flex; }

.form-alert.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6EE7B7;
}

.form-alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

.form-footer-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.5;
}

.form-footer-note a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
}

/* =====================================
   WHATSAPP FLOATING BUTTON
===================================== */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s;
  animation: wa-pulse 2s infinite;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid #25D366;
  border-radius: 50%;
  opacity: 0;
  animation: wa-ring 2s infinite;
}

.whatsapp-float:hover {
  background: #1FAD53;
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.whatsapp-float .wa-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: #34373E;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  border: 1px solid var(--line-bright);
}

.whatsapp-float .wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #34373E;
}

.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  right: 80px;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7); }
}

@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Mobil */
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 54px;
    height: 54px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  
  .whatsapp-float .wa-tooltip { display: none; }
  
  .contact-modal {
    border-radius: 20px;
    max-height: 95vh;
  }
  
  .contact-modal-header { padding: 1.5rem 1.5rem 0; }
  .contact-modal-body { padding: 0 1.5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
