/**
 * Ortak Bileşenler CSS
 * Her sayfada kullanılan modal, navigasyon vb.
 */

/* =============================================
   MAP MODAL - Harita Modal
   ============================================= */
#mapModal .modal-dialog {
  max-width: 100%;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

#mapModal .modal-content {
  height: 100vh;
  border-radius: 0;
}

#mapModal .modal-body {
  height: calc(100vh - 60px);
}

#mapModal .modal-backdrop.show {
  opacity: 0.8;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar-nav .nav-item:first-child:not(.dropdown) {
  margin-left: 40px;
}

/* =============================================
   MODAL CLOSE BUTTON
   ============================================= */
.btn-modal-close {
  position: relative;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.btn-modal-close i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 2px;
  background-color: #111;
  display: block;
  transition: all 0.3s ease;
}

.btn-modal-close i:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn-modal-close i:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-modal-close:hover i {
  background-color: #ff0000;
}

/* =============================================
   FOOTER - SEO Links
   ============================================= */
.footer-links ul li a {
  display: block;
  padding: 2px 0;
  color: #555;
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s ease;
}

.footer-links ul li a:hover {
  color: #dc2626;
  text-decoration: underline;
}

.footer-links h5 {
  font-size: 1.1rem;
  letter-spacing: .4px;
}

/* =============================================
   NOTIFICATION MODAL
   ============================================= */
.notification-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-modal__body {
  position: relative;
  background: #fff;
  border: none;
  border-radius: 0;
  overflow: hidden;
  width: auto;
  max-width: 320px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.notification-modal.show .notification-modal__body {
  opacity: 1;
  transform: scale(1);
}

.notification-modal__body .close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .7;
  border: none;
  background: transparent;
}

.notification-modal__body .close:hover {
  opacity: 1;
  color: #dc3545;
}

.notif-img {
  display: block;
  width: 100%;
  height: auto;
}

/* =============================================
   QUICK CONTACT FORM
   ============================================= */
/* Honeypot field - !important gerekli (güvenlik) */
#quickContact input[name="website"],
.form-honeypot input[name="website"] {
  display: none !important;
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* =============================================
   INLINE STYLES - Taşınan stiller
   ============================================= */

/* Kesfet sayfası - Hero h2 renk */
.kesfet-hero-h2,
.kesfet-hero-h2 span {
  color: #002e43;
}

/* Video container - Responsive iframe wrapper */
.video-responsive-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
}

.video-responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Arama sayfası - Border bottom */
.search-result-divider {
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

/* Projeler sayfası - Modal stilleri */
.popup-modal.project-status {
  display: none;
}

.popup-modal.project-status.show {
  display: flex;
}

.popup-modal__body.w-100.map-confirm-modal {
  max-width: 400px;
  margin: auto;
}

.popup-modal__body.w-100.project-status-modal {
  max-width: 900px;
  margin: auto;
}

/* Stance number positioning */
.stance-number {
  position: absolute;
  top: var(--top, 0);
  left: var(--left, 0);
}

/* İletişim formu - Honeypot field */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* Loading text */
.text-loading {
  display: none !important;
}

.text-loading.show {
  display: inline !important;
}

/* Send text - varsayılan olarak görünür */
.text-send {
  display: inline;
}

/* Popup modals - Genel */
.popup-modal {
  display: none;
}

.popup-modal.show {
  display: flex;
}


