/* --- style.css (pełny plik) --- */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HERO */
.hero {
  position: relative;
  height: 50vh;
  background: url('https://images.unsplash.com/photo-1502877338535-766e1452684a?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* HEADER / NAV */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo {
  height: 90px;
}
nav {
  display: flex;
  gap: 1rem;
}
.hamburger {
  display: none;
  font-size: 2rem;
  background: black;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}

/* Pasek kontaktowy */
.contact-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  color: #fff;
}
.contact-bar a {
  color: #00ffaa;
}
.contact-bar .socials {
  display: flex;
  gap: 1rem;
}
.contact-bar .socials img {
  width: 24px;
  height: 24px;
  display: block;
}

/* HERO title */
.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70%;
  text-align: center;
}
.hero-title {
  font-size: 3.5rem;
  color: #00ffaa;
  text-shadow: 0 0 15px rgba(0,255,170,0.8);
  margin: 0;
}

/* Dropdown menu */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: black;
  min-width: 200px;
  z-index: 1;
}
.dropdown-content a {
  color: white;
  padding: 0.5rem 1rem;
  display: block;
}
.dropdown-content a:hover {
  background: #111;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: black;
    position: absolute;
    top: 80px;
    right: 0;
    width: 220px;
    padding: 1rem;
    gap: 0.5rem;
  }
  nav a {
    color: white;
  }
  nav.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .contact-bar {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
    padding: 0.6rem;
  }
}

/* Sekcja usług */
.cards-section {
  padding: 2rem;
}
.section-title {
  font-size: 2.5rem;
  color: #00ffaa;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0,255,170,0.6);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.card {
  background: #222;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,255,170,0.06);
}
.card h3 {
  margin-top: 0;
}
.card a {
  color: #00ffaa;
  font-weight: bold;
  transition: color 0.3s;
}
.card a:hover {
  color: #0ff;
}

/* Sekcje tekstowe */
.text-section {
  padding: 2rem;
  text-align: center;
}
.text-section h2 {
  font-size: 2.5rem;
  color: #00ffaa;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0,255,170,0.6);
}

/* Galeria - zamieniona na siatkę (zgodnie z Twoim życzeniem) */
.gallery {
  background-color: #000;
  padding: 50px 0;
  text-align: center;
}
.gallery h2 {
  font-size: 2.5rem;
  color: #00ffaa;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(0,255,170,0.6);
}

/* Galeria w formie siatki */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid rgba(0,255,170,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: #0b0b0b;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  max-height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,255,170,0.06);
  border-color: rgba(0,255,170,0.35);
}
.gallery-item:focus,
.gallery-item:active {
  outline: none;
  transform: translateY(-4px);
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}
#lightbox.active {
  display: flex;
}
.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
#lightbox .close {
  position: fixed;
  top: 24px;
  right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 2100;
  transition: color 0.15s ease;
}
#lightbox .close:hover {
  color: #00ffaa;
}

/* Dodatkowe responsywne poprawki galerii */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .gallery-item img {
    height: 200px;
    object-fit: cover;
  }
}

/* Footer */
footer {
  background: #111;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Utility: element pojawiający się przy IntersectionObserver */
.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-service-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #333;
    border-radius: 12px;
    line-height: 1.7;
    font-size: 1.1rem;
    color: #f9f9f9;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.section-service-content h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    border-left: 4px solid #c9a227; /* złoty akcent */
    padding-left: 0.6rem;
}

.section-service-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.section-service-content ul {
    margin: 0 0 1.5rem 1.2rem;
    padding-left: 1rem;
    list-style: none;
}

.section-service-content ul li {
    margin-bottom: 0.6rem;
    padding-left: 1.8rem;
    position: relative;
}

.section-service-content ul li::before {
    content: "✔";
    color: #c9a227; /* złoty detal */
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Koniec pliku */
