/* --- Reset i podstawowe style --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #f5f5f5; color: #333; }

/* --- Nagłówek --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg,#1e90ff,#00bfff);
  color: white;
  padding: 15px 20px;
  position: relative;
}

header h1 {
  font-size: 24px;
  font-weight: 700;
}

.menu-toggle {
  display: block;
  font-size: 28px;
  cursor: pointer;
}

/* --- Menu rozwijane --- */
nav {
  display: none; /* domyślnie ukryte */
  flex-direction: column;
  background: linear-gradient(180deg,#1e90ff,#00bfff);
  position: absolute;
  top: 60px;
  right: 0;
  width: 180px;
  padding: 10px;
  border-radius: 0 0 0 12px;
  z-index: 10;
}

nav a {
  display: block;
  padding: 8px 0;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}
/* --- Układ kolumn --- */
.container {
  display: flex;
  flex-direction: row; /* kolumny obok siebie */
  gap: 15px;
  max-width: 95%;
  margin: 20px auto;
}

/* Lewa kolumna (węższa) */
.left-column {
  flex: 1;  /* proporcja szerokości */
  font-size: 14px; /* mniejsza czcionka */
}

/* Prawa kolumna (szersza) */
.main-column {
  flex: 2;  /* proporcja szerokości */
}

.left-column, .main-column {
  padding: 15px;
  border-radius: 12px;
}


.left-column, .main-column {
  padding: 15px;
  border-radius: 12px;
}

.left-column {
  background: #e0f0ff;
  min-height: 150px;
}

.main-column {
  background: #ffffff;
  min-height: 200px;
}

.main-column img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 12px;
}

/* --- Przycisk --- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(90deg,#1e90ff,#00bfff);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- Media query dla telefonów --- */
@media (max-width: 480px) {
  header h1 {
    font-size: 20px;
  }
  .menu-toggle {
    font-size: 26px;
  }
  nav {
    width: 160px;
    top: 55px;
  }
  .container {
    gap: 10px;
  }
  .main-column, .left-column {
    padding: 10px;
  }
}