/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #111;
  color: #fff;
  line-height: 1.6;
}

/* Pasek nawigacji */
header {
  background: #000;
  color: #fdd835;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #fdd835;
}

/* Hamburger */
.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  background: url("img/glowne.jpg") no-repeat center center;
  background-size: cover;   /* wypełnia cały ekran */
  color: #fff;
  text-align: center;
  height: 100vh;            /* pełna wysokość ekranu */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 20px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* przyciemnienie */
}

.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  color: #FFD700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero .btn {
  display: inline-block;
  background: #FFD700;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.hero .btn:hover {
  background: #000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

/* Sekcje */
.section {
  padding: 100px 40px;
  text-align: center;
}

.section h2 {
  font-size: 30px;
  margin-bottom: 25px;
  color: #fdd835;
}

/* Usługi */
.cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.card {
  background: #222;
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

.card .icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fdd835;
}

/* Projekty */
.gallery .images {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.gallery img {
  width: 30%;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

/* Ikony w kartach */
.card .icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fdd835;
}

/* Kontakt */
.kontakt-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

.kontakt .dane, 
.kontakt form {
  flex: 1;
  min-width: 280px;
  background: #222;
  padding: 25px;
  border-radius: 10px;
}

.kontakt input, 
.kontakt textarea {
  padding: 12px;
  border: none;
  border-radius: 5px;
  width: 100%;
  margin-bottom: 15px;
}

.kontakt button {
  border: none;
  cursor: pointer;
  background: #FFD700;
  color: #000;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  transition: 0.3s;
}

.kontakt button:hover {
  background: #000;
  color: #FFD700;
  border: 2px solid #FFD700;
}

/* Stopka */
footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

/* Responsywność */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #000;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
  }

  nav ul.active {
    display: flex;
  }

  .burger {
    display: block;
  }

  .hero h1 {
    font-size: 28px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 350px;
  }

  .kontakt-container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 20px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}