@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@600;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --bg-left:      #ffffff;
  --bg-right:     #0d1e3a;
  --border-panel: #0d1e3a;

  --stat-bg:      #0d1e3a;
  --clock-bg:     #0d1e3a;
  --clock-border: #ffffff;
  --caption-bg:   #0d1e3a;

  --text-title:   #0d1e3a;
  --text-body:    #1a1a1a;
  --text-muted:   #6b7280;
  --text-caption: #f1f5f9;
  --text-caption2:#94a3b8;

  --font:  'Inter', 'Segoe UI', Arial, sans-serif;
  --mono:  'JetBrains Mono', 'Courier New', monospace;

  --radius:    6px;
  --radius-sm: 4px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  background: var(--bg-left);
  color: var(--text-body);
  font-family: var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== SCREEN LAYOUT ===== */
.screen {
  display: flex;
  width: 100vw;
  height: 100vh;
  min-height: 560px;
}

/* ===== LEFT PANEL ===== */
.panel-left {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  padding: 36px 52px 24px 52px;
  background: var(--bg-left);
  border-right: 2px solid var(--border-panel);
  overflow: hidden;
}

.panel-left-top {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* ===== TITLE + CLOCK ROW ===== */
.title-clock-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

/* ===== MAIN TITLE ===== */
.main-title {
  font-size: clamp(28px, 3.8vw, 54px);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--text-title);
  margin-bottom: 0;
  flex: 1;
}

/* ===== STAT BOX ===== */
.stat-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--stat-bg);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  width: fit-content;
  margin-bottom: 0;
}

.stat-hours {
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  font-family: var(--mono);
}

.stat-pilots {
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
  font-family: var(--mono);
}

.stat-label {
  font-size: clamp(9px, 0.85vw, 12px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #93c5fd;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ===== PARAGRAPHS ===== */
.paragraphs {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 10px 0 6px;
}

/* ===== INFO TEXT ===== */
.info-text {
  font-size: clamp(14px, 1.45vw, 20px);
  line-height: 1.85;
  color: var(--text-body);
  text-align: justify;
  font-weight: 400;
}

.info-text strong {
  color: var(--text-title);
  font-weight: 900;
  font-size: 1.1em;
}

/* ===== FOOTER NOTE ===== */
.footer-note {
  flex-shrink: 0;
  font-size: clamp(9px, 0.75vw, 11px);
  color: var(--text-muted);
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
  letter-spacing: 0.01em;
}

/* ===== RIGHT PANEL ===== */
.panel-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-right);
  overflow: hidden;
  padding-top: 10px;
  gap: 10px;
}

/* ===== MINI CLOCKS (sol panel – başlığın sağ üst köşesi) ===== */
.mini-clock-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  flex-shrink: 0;
  align-self: flex-start;
  background: var(--stat-bg);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
}

.mini-clock-unit {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.mini-clock-val {
  font-family: var(--mono);
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.mini-clock-lbl {
  font-size: clamp(6px, 0.52vw, 8px);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #93c5fd;
  text-transform: uppercase;
}

.mini-clock-sep {
  color: rgba(255,255,255,0.2);
  font-size: 12px;
  line-height: 1;
}

/* ===== CONTENT CARDS ===== */
.content-card {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  margin: 0 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 8px 40px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  background: #0d1e3a;
}

.content-card:last-child {
  margin-bottom: 12px;
}

.card-label {
  flex-shrink: 0;
  font-size: clamp(8px, 0.65vw, 10px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #93c5fd;
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-photo-frame {
  flex: 0 0 72%;
  position: relative;
  overflow: hidden;
  background: #0a1628;
  border-bottom: 1.5px solid rgba(255,255,255,0.12);
  min-height: 0;
}

/* "Fotoğraf yok" placeholder – diagonal desen */
.card-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.03) 0px,
      rgba(255,255,255,0.03) 1px,
      transparent 1px,
      transparent 12px
    );
  pointer-events: none;
  z-index: 0;
}

/* "Fotoğraf yok" merkez ikonu */
.card-photo-frame::after {
  content: '📷';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 2vw, 28px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 1;
}

/* Boş src → gizle, placeholder görünsün */
.card-photo[src=''],
.card-photo:not([src]) { opacity: 0; }

.card-caption {
  flex: 1;
  min-height: 0;
  background: #071528;
  padding: 10px 14px 12px;
  border-top: 2px solid rgba(59,130,246,0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
  overflow: hidden;
}

.card-title {
  font-size: clamp(10px, 1.0vw, 14px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  font-size: clamp(9px, 0.8vw, 12px);
  color: #cbd5e1;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .screen {
    flex-direction: column;
    overflow-y: auto;
    height: auto;
  }
  .panel-left {
    padding: 28px 24px;
    border-right: none;
    border-bottom: 2px solid var(--border-panel);
    min-height: 50vh;
  }
  .content-card {
    margin: 0 10px;
    min-height: 200px;
  }
  .content-card:last-child { margin-bottom: 10px; }
  .mini-clock-row { font-size: 90%; }
}
