/* -------------------- RESET -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: black;
  color: white;
  overflow-x: hidden;
}

/* -------------------- HEADER -------------------- */
.header {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* -------------------- NAV -------------------- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6%;
  height: 80px;
}

nav img {
  width: 150px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul {
  list-style: none;
}

.nav-links ul li {
  display: inline-block;
  padding: 8px 12px;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-links ul li a:hover {
  color: #aaa;
}

nav .fa {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* -------------------- GALERIA -------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 32px;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* -------------------- LIGHTBOX -------------------- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Strzałki */
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transition: color 0.3s;
}

.lightbox .prev:hover,
.lightbox .next:hover {
  color: #aaa;
}

.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}

/* -------------------- MEDIA QUERIES -------------------- */
@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    transition: 0.5s;
    padding-top: 60px;
  }

  .nav-links ul li {
    display: block;
    margin: 20px 0;
  }

  nav .fa {
    display: block;
  }
}
