/* Resetowanie domyślnych marginesów i czcionek */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #0d0d0d;
  color: #f1f1f1;
  line-height: 1.6;
}

/* ====== Nagłówek (Header) ====== */
header#home {
  background: linear-gradient(to bottom right, #0d0d0d, #1c1c1c);
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

header h1 {
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #fff;
}

header h3 {
  font-weight: 300;
  color: #ccc;
}

header span {
  color: #00b8ff;
}

/* ====== Nawigacja ====== */
#nav-wrap {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  padding: 10px 0;
  z-index: 999;
}

#nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
}

#nav li a {
  color: #ddd;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in;
}

#nav li a:hover,
#nav li.current a {
  color: #00b8ff;
}

/* ====== Sekcja About ====== */
#about {
  padding: 80px 0;
  background-color: #141414;
}

#about h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #00b8ff;
}

#about p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #ddd;
  font-size: 1rem;
  line-height: 1.7;
}

.profile-pic {
  display: block;
  margin: 20px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00b8ff;
}

/* ====== Sekcja Resume ====== */
#resume {
  background: #0d0d0d;
  padding: 80px 0;
}

#resume h1 span {
  color: #00b8ff;
}

#resume .item {
  margin-bottom: 30px;
}

#resume .info {
  font-style: italic;
  color: #bbb;
}

/* ====== Sekcja Portfolio ====== */
#portfolio {
  background-color: #141414;
  padding: 80px 0;
  text-align: center;
}

#portfolio h1 {
  color: #00b8ff;
  margin-bottom: 40px;
}

#portfolio img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

#portfolio img:hover {
  transform: scale(1.03);
}

/* ====== Stopka ====== */
footer {
  background: #0d0d0d;
  text-align: center;
  padding: 40px 0;
  font-size: 0.9rem;
  color: #888;
}

footer a {
  color: #00b8ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.social-links i {
  font-size: 1.4rem;
  color: #00b8ff;
  transition: color 0.3s ease;
}

.social-links i:hover {
  color: #fff;
}

/* ====== Responsywność ====== */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  #nav {
    flex-direction: column;
    gap: 10px;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
  }

  #about p {
    padding: 0 15px;
  }
}
