/* === RESET I OGÓLNE === */
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #0a0a0a url("theme.jpg") center/cover no-repeat fixed;
  color: #fff;
  scroll-behavior: smooth;
}

h1, h2, h3 {
  margin: 0 0 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: #ffd400;
  transition: color 0.3s ease;
}
a:hover {
  color: #fff;
}

/* === HEADER === */
.hero {
  text-align: center;
  padding: 30px 20px 20px;
  background: rgba(0, 0, 0, 0.7);
}

.logo {
  width: 180px;
  max-width: 100%;
  margin-bottom: 10px;
}

.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.nav a {
  font-weight: 600;
  color: #ffd400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav a:hover::after {
  width: 100%;
}
.nav a::after {
  content: "";
  display: block;
  height: 2px;
  background: #ffd400;
  transition: 0.3s;
  width: 0;
  margin-top: 4px;
}

/* === SEKCJE === */
.card {
  background: rgba(17, 17, 17, 0.95);
  border-radius: 16px;
  padding: 40px;
  width: 90%;
  max-width: 900px;
  margin: 60px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.card h2 {
  color: #ffd400;
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
}

.card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
  text-align: center;
}

/* === AKTUALNOŚCI === */
.news-grid {
  display: grid;
  gap: 30px;
  justify-items: center;
}

.news-item {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  width: 100%;
  max-width: 800px;
}

.news-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.news-item img {
  width: 50%;
  height: auto;
  object-fit: contain;
  background: #000;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.news-content {
  padding: 20px;
  text-align: left;
}

.news-content h3 {
  color: #ffd400;
  margin-bottom: 10px;
}

.news-content p {
  color: #ccc;
  margin-bottom: 10px;
}

.show-more-btn {
  display: block;
  margin: 20px auto 0;
  background: #ffd400;
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  transition: 0.3s;
}
.show-more-btn:hover {
  background: #ffea5c;
}

/* === GALERIA === */
.gallery {
  background: rgba(17, 17, 17, 0.95);
  border-radius: 16px;
  padding: 40px;
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.gallery h2 {
  color: #ffd400;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  object-fit: cover;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.lightbox img:hover {
  transform: scale(1.03);
}

.lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  cursor: pointer;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  transition: background 0.3s ease;
}

.lightbox .close-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* === FORMULARZ KONTAKTOWY === */
.contact {
  background: rgba(17, 17, 17, 0.95);
  border-radius: 16px;
  padding: 40px;
  max-width: 700px;
  margin: 40px auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.contact h2 {
  color: #ffd400;
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
}

.contact-form button {
  background: #ffd400;
  color: #000;
  border: none;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  background: #ffea5c;
  transform: translateY(-2px);
}

.email-info {
  margin-top: 12px;
  color: #bbb;
  font-size: 0.95rem;
}

/* === PARTNERZY === */
.partners {
  background: rgba(0, 0, 0, 0.6);
  padding: 50px 20px;
  text-align: center;
}

.partners h2 {
  color: #ffd400;
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow: hidden;
  padding: 10px 20px;
}

.partners-logos img {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.9);
  opacity: 0.85;
  transition: all 0.25s ease;
}

.partners-logos img:hover {
  filter: grayscale(0%) brightness(1.2) contrast(1.1);
  opacity: 1;
  transform: translateY(-6px) scale(1.04);
}

.partners-logos img[alt="Partner 1"] { height: 115px; } /* Cuesoul */
.partners-logos img[alt="Partner 2"] { height: 90px; }
.partners-logos img[alt="Partner 3"] { height: 95px; }
.partners-logos img[alt="Partner 4"] { height: 95px; }
.partners-logos img[alt="Partner 5"] { height: 88px; }
.partners-logos img[alt="Partner 6"] { height: 80px; } /* Vaxel */
.partners-logos img[alt="Partner 7"] { height: 85px; } /* Metropol */

/* === SOCIAL MEDIA === */
#social {
  background: rgba(17, 17, 17, 0.95);
  padding: 40px 20px;
  text-align: center;
}

#social h2 {
  color: #ffd400;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.socials a {
  background: #ffd400;
  color: #000;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  transition: 0.25s;
}

.socials a:hover {
  background: #ffea5c;
  transform: translateY(-2px);
}

/* === STOPKA === */
footer {
  background: #000;
  color: #888;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 1100px) {
  .partners-logos {
    flex-wrap: wrap;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .card, .contact, .gallery {
    padding: 25px;
    width: 95%;
    margin: 40px auto;
  }
  .gallery-grid img {
    height: auto;
  }
  .partners-logos img {
    height: 65px;
  }
  .partners-logos img[alt="Partner 1"] { height: 80px; }
}
/* === LANGUAGE SWITCH === */
.language-switch {
  position: absolute;
  top: 25px;
  right: 25px;
  font-weight: 700;
  color: #ffd400;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: default;
}

.lang-option {
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-option:hover {
  color: #fff;
}

.lang-option.active {
  text-decoration: underline;
  color: #fff;
}
/* Naprawa widoczności produktów w merch.html */
.gallery .news-item {
  opacity: 1 !important;
  transform: none !important;
}
/* --- MERCH POPRAWKI --- */

/* Zdjęcia produktów – pełne proporcje bez przycinania */
.gallery .news-item img {
  width: 100%;
  height: auto;
  object-fit: contain !important;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery .news-item img:hover {
  transform: scale(1.03);
}

/* Lightbox styl */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.lightbox .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}
