@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- STRUKTURA --- */
body {
  font-family: 'Inter', sans-serif;
  color: #fff;
  min-height: 100vh;
  background: linear-gradient(135deg, #000 10%, #ffef00 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- NAWIGACJA --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0a0a0a;
  padding: 15px 50px;
  border-bottom: 2px solid #222;
  flex-wrap: wrap; /* ważne dla mobile */
}

.navbar .brand {
  color: #d7b300;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.navbar .brand strong {
  color: #ffef00;
}

.navbar .links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.navbar .links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: lowercase;
  transition: 0.2s;
  padding: 8px 12px;
  border-radius: 5px;
}

.navbar .links a:hover {
  color: #ffef00;
  text-shadow: 0 0 6px #ffef00;
}

.navbar .links a.active {
  color: #ffef00;
}

/* --- GŁÓWNA CZĘŚĆ --- */
.main {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  padding: 80px;
  flex-grow: 1;
  flex-wrap: wrap; /* aby elementy układały się pionowo na telefonach */
  text-align: center;
}

/* --- FOTO --- */
.photo img {
  width: 280px;
  height: auto;
  border-radius: 20px;
  border: 2px solid #ffef00;
  box-shadow: 0 0 30px rgba(255, 239, 0, 0.3);
  max-width: 100%;
}

/* --- OPIS --- */
.description {
  background-color: rgba(0, 0, 20, 0.9);
  border: 1px solid #ffff00;
  border-radius: 15px;
  padding: 25px 30px;
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}

.description h2 {
  color: #ffef00;
  text-align: center;
  margin-bottom: 15px;
}

.description p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #fff9b0;
}

/* --- STOPKA --- */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a0a0a;
  padding: 25px 15px;
}

.footer .icons {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer img {
  width: 35px;
  height: 35px;
  filter: brightness(0) invert(1);
  transition: 0.25s;
}

.footer img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px #ffef00);
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 1024px) {
  .main {
    padding: 60px 40px;
    gap: 40px;
  }

  .navbar {
    padding: 15px 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .navbar .links {
    justify-content: center;
    width: 100%;
  }

  .main {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }

  .description {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }

  .navbar .brand {
    font-size: 1rem;
  }

  .navbar .links a {
    font-size: 0.9rem;
    margin: 3px 0;
  }

  .photo img {
    width: 200px;
  }

  .description {
    font-size: 0.9rem;
    padding: 20px;
  }

  .footer img {
    width: 28px;
    height: 28px;
  }
}
