/* =========================
   GLOBAL
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b0b0f;
  color: #fff;
}

/* =========================
   HEADER (3-COLUMN LAYOUT)
========================= */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 10px 16px;

  background: linear-gradient(90deg, #1a0b0b, #2a1200);
  border-bottom: 2px solid #ffcc00;

  position: sticky;
  top: 0;
  z-index: 1000;
}

/* =========================
   BRAND (LEFT)
========================= */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: radial-gradient(circle at top left, #ff3b30, #ffcc00);
  box-shadow: 0 0 18px rgba(255,80,0,0.6);

  font-size: 20px;
}

.brand-text .title {
  font-size: 16px;
  font-weight: 700;
}

.brand-text .subtitle {
  font-size: 12px;
  opacity: 0.7;
}

/* =========================
   MENU (CENTER - DESKTOP)
========================= */
.menu {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.menu a {
  color: #ffcc00;
  text-decoration: none;

  font-size: 13px;

  padding: 6px 10px;
  border: 1px solid rgba(255,204,0,0.25);
  border-radius: 8px;

  transition: 0.2s;
}

.menu a:hover {
  background: rgba(255,204,0,0.1);
  transform: translateY(-1px);
}

/* =========================
   RIGHT SIDE (STATUS + HAMBURGER)
========================= */
.right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* STATUS */
.status {
  display: flex;
  gap: 10px;
  align-items: center;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 6px;

  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 999px;

  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffcc00;
  box-shadow: 0 0 10px #ffcc00;
}

/* =========================
   HAMBURGER (MOBILE)
========================= */
.hamburger {
  display: none;

  font-size: 24px;
  color: #ffcc00;

  background: rgba(255,204,0,0.12);
  border: 1px solid rgba(255,204,0,0.3);

  padding: 6px 10px;
  border-radius: 8px;

  cursor: pointer;
}

/* =========================
   MOBILE MENU (DROP)
========================= */
.mobile-menu {
  display: none;
  flex-direction: column;

  position: absolute;
  top: 70px;
  right: 10px;

  background: #1a0b0b;
  border: 1px solid #ffcc00;

  border-radius: 10px;

  min-width: 200px;

  z-index: 2000;
}

.mobile-menu a {
  color: #ffcc00;
  text-decoration: none;

  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,204,0,0.1);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* =========================
   MAPA
========================= */
.map-container {
  height: calc(100vh - 120px);
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 8px;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
  background: #0b0b0f;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

  .menu {
    display: none;
  }

  .hamburger {
    display: block;
  }

}

/* =========================
   SMALL SCREENS
========================= */
@media (max-width: 480px) {

  .brand-text .title {
    font-size: 14px;
  }

  .brand-text .subtitle {
    font-size: 11px;
  }

  .status-item {
    font-size: 12px;
  }

}


/* =========================
   MOBILE HEADER FIX (2 ROWS)
========================= */
@media (max-width: 900px) {

  .app-header {
    flex-wrap: wrap;
  }

  /* ROW 1: LOGO + HAMBURGER */
  .brand {
    flex: 1;
  }

  .right {
    display: flex;
    align-items: center;
  }

  /* hamburger zawsze po prawej */
  .hamburger {
    display: block;
  }

  /* MENU OFF */
  .menu {
    display: none;
  }

  /* ROW 2: STATUS CENTER */
  .status-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 6px;
  }

  .status {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .status-item {
    font-size: 12px;
  }

}
