/* ============================================================
   Havayolu Portalı — Ana Ekran + Menü + iframe
   Tema: tam ekran uçak görseli üzerinde yarı saydam menü
   ============================================================ */

* , *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Ana ekran: tam ekran uçak görseli ---------- */
.ana-ekran {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.gorsel-arkasi {
  position: absolute;
  inset: 0;
  background: url('../assets/img/ucak-arkaplan.jpg') center / cover no-repeat;
}

/* Hafif karartma: logoların okunması için */
.gorsel-arkasi::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 20, 40, 0.35) 0%,
    rgba(10, 20, 40, 0.10) 45%,
    rgba(10, 20, 40, 0.30) 100%);
}

/* ---------- Üst menü ---------- */
.menu-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 20px 24px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.65) 70%, rgba(255, 255, 255, 0));
}

.menu-logolar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Havayolu logo butonları */
.logo-btn {
  display: grid;
  place-items: center;
  width: 148px;
  height: 76px;
  padding: 12px 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-btn img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-btn:hover,
.logo-btn:focus-visible {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  outline: none;
}

.logo-btn:active {
  transform: translateY(-1px) scale(0.99);
}

/* ---------- iframe ekranı ---------- */
.iframe-ekran {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.iframe-ekran[hidden] { display: none; }

.iframe-ust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: #f4f6fb;
  border-bottom: 1px solid #e4e7ec;
  flex-shrink: 0;
}

.geri-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.geri-btn:hover {
  background: #eef2f7;
  border-color: #9aa4b2;
}

.iframe-baslik {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
}

#site-iframe {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}

/* Yükleme göstergesi */
.yukleniyor {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
}

.yukleniyor[hidden] { display: none; }

.yukleniyor-spinner {
  width: 46px;
  height: 46px;
  border: 4px solid #e4e7ec;
  border-top-color: #2f6bff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .menu-bar { padding: 14px 12px; }
  .logo-btn { width: 118px; height: 62px; }
}
