/* =========================================
   OMNİBAK - iletisim.css (v16)
   ========================================= */

/* scroll yok */
body.no-scroll-page{
  height: 100vh;
  overflow: hidden;
}

/* hero alanı ekrana sığsın: header(64) + footer(52) */
.hero.hero-simple{
  min-height: calc(100vh - 64px - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.contact-fit{
  width: min(1280px, 94vw);
  padding: 16px 20px;
}

/* ===== Kapsayıcı (glass) ===== */
.contact-container{
  display:flex; flex-wrap:wrap; gap:18px;
  width: 100%;
  margin: 0 auto;
  padding: 18px;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius:16px; border:1px solid rgba(255,255,255,.6);
  box-shadow:0 20px 50px rgba(0,0,0,.22);
  align-items: stretch;
}

.contact-info, .contact-map{ flex:1 1 420px; display:flex; flex-direction:column; }
.contact-info h2{ font-size:1.7rem; margin-bottom:10px; color:var(--brand,#b30000); }

/* ===== Siyah arka tablo ===== */
.contact-card{
  background:#0b0b0e; border:1px solid rgba(255,255,255,0.08);
  border-radius:14px; padding:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.04) inset;
  margin-bottom:12px;
  position: relative;
  padding-right: clamp(120px, 16vw, 220px);
  isolation:isolate;
}

/* ===== Tablo ===== */
.contact-table{
  width:100%; border-collapse:collapse; color:#f1f3f5;
  font-size:15px; line-height:1.45;
}
.contact-table th, .contact-table td{
  text-align:left; padding:10px 12px; vertical-align: middle;
  border-bottom: none !important;
}
.contact-table th{
  width:170px; color:#e2e6ea; font-weight:800;
  white-space: nowrap;
}
.contact-table .icon{ width:16px; height:16px; display:inline-flex; align-items:center; justify-content:center; margin-right:8px; }
.contact-table .icon svg{ width:16px !important; height:16px !important; fill:var(--brand,#b30000) !important; vertical-align:middle; transform:translateY(1px); }

/* Adres: düzenli kır */
#companyAddress{
  display:block;
  line-height: 1.45;
  max-width: 52ch;
}

/* ===== Form ===== */
.contact-form{
  display:flex; flex-direction:column; gap:10px; margin-top:10px;
  position: relative; z-index: 5;
}
.contact-form input, .contact-form textarea{
  width:100%; padding:10px 12px; border:1px solid #bbb; border-radius:10px; font-size:15px;
  background:#fff;
}
.contact-form input:focus, .contact-form textarea:focus{
  border-color:var(--brand,#b30000);
  box-shadow:0 0 0 4px rgba(179,0,0,0.12);
  outline:none;
}
.contact-form button{
  margin-top:2px; padding:10px 14px; border:none; border-radius:10px; background:var(--brand,#b30000);
  color:#fff; font-size:16px; font-weight:800; cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.25);
}
.contact-form button:hover{ background:#ff4d4d; }

/* ===== Harita ===== */
.map-embed{
  position: relative;
  flex: 1 1 auto;
  min-height: 320px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #101015;
  overflow: hidden;
}
.map-embed iframe{
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ===== Yüzen logo ===== */
.contact-logo-floating{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(100px, 13vw, 170px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.28));
  pointer-events: none;
  user-select: none;
}

/* Overlay dokunulamaz */
.contact-page #bgCanvas{ pointer-events: none !important; z-index: 0 !important; }
.contact-page .smoke{ pointer-events: none !important; z-index: 0 !important; }
.contact-page .hero{ position: relative; z-index: 1; }
.contact-page .contact-container,
.contact-page .contact-card,
.contact-page .contact-form,
.contact-page .map-embed{ position: relative; z-index: 4; }

/* Mobil */
@media (max-width:768px){
  .contact-container{ padding:14px; gap:14px; }
  .contact-card{ padding-right: 14px; }
  .contact-logo-floating{ display:none; }
  .map-embed{ min-height: 240px; }
}
/* İletişim tablosundaki tel/mail linkleri mavi olmasın */
.contact-table a[href^="tel:"],
.contact-table a[href^="mailto:"]{
  color: #f1f3f5 !important;      /* yazı rengi (tablo rengi) */
  text-decoration: none !important;
  font-weight: 700;              /* isteğe bağlı */
}

/* Ziyaret edildi rengi de değişmesin */
.contact-table a[href^="tel:"]:visited,
.contact-table a[href^="mailto:"]:visited{
  color: #f1f3f5 !important;
}

/* Hover’da hafif alt çizgi (isteğe bağlı) */
.contact-table a[href^="tel:"]:hover,
.contact-table a[href^="mailto:"]:hover{
  text-decoration: underline;
}
