* {
  margin: 0;
  box-sizing: border-box;
  color: #e0cba8;
  font-family: sans-serif;
}

body {
  background-color: #1e1e1e;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background-color 0.3s ease;
  z-index: 1000;
  background-color: #252525;
}

header.scrolled {
  background-color: rgba(0, 0, 0, 0.1);
}

#logo-napis {
  display: flex;
  align-items: center;
  gap: 50px;
}

#napis {
  font-size: 25px;
  font-weight: bold;
  color: #dd914c;
  white-space: nowrap;
}

#logo {
  width: 100px;
  height: auto;
}

#menu {
  display: flex;
  gap: 30px;
}

#menu a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s;
}

#menu a:hover {
  background-color: #3a3a3a;
  color: #dd914c;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 140, 80, 0.2);
  cursor: pointer;
}

#menu a i {
  font-size: 18px;
}

main {
  width: 100%;
}

#main-kontener {
  display: flex;
  width: 100%;
}

#opis {
  width: 100%;
  background-color: #2a2a2a;
  text-align: center;
  padding: 40px 20px;
}

#opis h2 {
  margin-bottom: 15px;
}

#kontener-div {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 30px;
}

#social-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 0 40px;
}

.social-box {
  flex: 1;
  max-width: 300px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.social-box i {
  font-size: 1.5em;
}

.social-box:hover {
  color: #ccc;
}

.obz {
  width: 200px;
  font-size: 18px;
}

.obz i {
  font-size: 50px;
  opacity: 0.9;
  margin-bottom: 10px;
}

#hero {
  width: calc(100% - 40px);
  height: 1050px;
  margin: 20px auto;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: opacity 1s ease-in-out;
}

#hero button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.1);
  color: #e0cba8;
  border: none;
  padding: 12px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#hero button:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

#leftBtn {
  left: 20px;
}

#rightBtn {
  right: 20px;
}

article {
  text-align: center;
  width: 100%;
  padding: 40px 0;
  background-color: #2a2a2a;
}

#aktualnosci {
  max-height: 900px;
  overflow-y: scroll;
}

.aktualnosci-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 85%;
  margin: 0 auto;
  height: 700px;
  padding: 20px;
}

.aktualnosc-box {
  background-color: #333;
  padding: 20px;
  border-radius: 10px;
  width: calc(33% - 20px);
}

.aktualnosc-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.aktualnosc-box h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.aktualnosc-box p {
  font-size: 16px;
  color: #c7b299;
}
.Licznik_wyjazdów
{
  text-align: center;
}
table {
  width: 50%;
  margin: 40px auto;
  border-collapse: collapse;
  background-color: #333;
  color: #e0cba8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 140, 80, 0.2);
}

th,td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #bbb;
}

thead {
  background-color: #252525;
}

tr:hover {
  background-color: #3a3a3a;
}

.sprzet-box {
  display: flex;
  background-color: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 140, 80, 0.2);
  margin: 40px auto;
  max-width: 1000px;
}

.sprzet-img {
  width: 300px;
  height: 200px;
  object-fit: cover;
}

.sprzet-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sprzet-content h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 24px;
  
}

.sprzet-content p {
  font-size: 16px;
  line-height: 1.6;
}

footer {
  width: 100%;
  height: 50px;
  text-align: center;
  padding-top: 10px;
  background-color: #252525;
}

.historia {
  max-width: 900px;
  margin: 0 auto;
  background-color: #3a3a3a;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(217, 176, 140, 0.4);
}

.historia h2 {
  font-size: 2rem;
  margin-bottom: 5px;
  border-bottom: 2px solid #d9b08c;
  padding-bottom: 8px;
  text-align: center;
}

.historia h4 {
  font-weight: 400;
  font-size: 1.2rem;
  color: #e6c9a1;
  text-align: center;
  margin: 0 0 20px 0;
}

.historia .text {
  margin-bottom: 18px;
  text-align: justify;
}

.historia img {
  max-width: 100%;
  margin: 30px auto;
  display: block;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(217, 176, 140, 0.5);
}

.autor {
  float: right;
}

ul
{
  padding-left: 150px;
}
 li {
  display: flex;
  align-items: center;  /* wyśrodkowanie ikonki i tekstu w pionie */
  gap: 6px;             /* odstęp między ikonką a tekstem */
}

/* MEDIA QUERY */

@media (max-width: 768px) {
  header {
    position: relative;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
    height: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  #logo-napis {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }

  #logo {
    width: 60px;
  }

  #napis {
    font-size: 14px;
  }

  #menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 8px;
    justify-items: center;
  }

  #menu a {
    font-size: 14px;
    padding: 5px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    text-align: center;
  }

  #kontener-div {
    flex-direction: column;
    gap: 20px;
  }

  .obz {
    width: 100%;
    font-size: 16px;
  }

  #social-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
  }

  .aktualnosc-box,
  .sprzet-box {
    width: 100%;
    flex-direction: column;
  }

  .aktualnosc-box img,
  .sprzet-img {
    width: 100%;
    height: auto;
  }

  .sprzet-content {
    padding: 15px;
  }

  #hero {
    height: 400px;
  }

  #leftBtn,
  #rightBtn {
    font-size: 20px;
    padding: 8px;
  }

}




