/* Plik główny CSS (main.css) */ 
@import url('../cookie/cookie.css');
body {
  position: relative;
  z-index: 0;
  /*background-image: url('../images/tlo.png');*/
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

/* Efekt półprzezroczystego nakładania */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-image: url('../images/tlo.png'); /* Jeśli chcesz dodatkowy efekt */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.1;
  z-index: -1;
}

/* Nagłówki */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', sans-serif;
  font-weight: normal;
  text-transform: uppercase;
}

/* Tekst */
body, p, li {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

.opisy_index p {
  color: #222;
}

a:focus, button:focus {
  outline: 2px solid #F5C314;
  outline-offset: 2px;
}

.visually-hidden-focusable {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 0.5em;
  background: #F5C314;
  z-index: 1000;
}

/* 🟡 Nagłówek */
#naglowek {
  background-color: #F5C314;
  color: #000;
  opacity: 0.8;
}

#naglowek img {
  width: 100px;
}

/* 🔲 Menu */
#menu {
  background-color: #000;
  padding: 5px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#menu.navbar-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 5px;
  padding: 0;
  list-style: none;
}

#menu .nav-item {
  position: relative;
}

#menu .nav-item:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  color: #F5C314;
  font-weight: bold;
}

#menu .nav-link {
  position: relative;
  text-decoration: none;
  color: #fff !important;
  font-weight: bold;
  padding: 3px 6px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

#menu .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: #F5C314;
  transition: width 0.3s ease;
}

#menu .nav-link:hover::after {
  width: 100%;
}

/* ☰ Hamburger */
.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  width: 30px;
  height: 3px;
  background-color: #F5C314;
  position: relative;
  display: block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  width: 30px;
  height: 3px;
  background-color: #F5C314;
  position: absolute;
  left: 0;
}

.navbar-toggler-icon::before {
  top: -10px;
}

.navbar-toggler-icon::after {
  top: 10px;
}

h1.h6 {
  font-weight: bold;
}

/* 👣 Stopka */
#stopka {
  background: #000;
  color: #fff;
}

footer a {
  text-decoration: none;
  color: #FFF;
}

footer a:hover {
  color: #F5C314;
}

/* Fokus i hover */
.nav-link:focus,
.nav-link:hover {
  outline: 0px solid #F5C314;
  outline-offset: 0px;
  text-decoration: none;
}

a:focus, a:hover {
  outline: 1px solid #F5C314;
  outline-offset: 1px;
  text-decoration: none;
}

/* 🖼️ Galeria */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.thumbnail {
  width: 150px;
  height: auto;
  border: 2px solid #ccc;
  border-radius: 5px;
  transition: transform 0.3s, border-color 0.3s;
}

.thumbnail:hover {
  transform: scale(1.1);
  border-color: #555;
}

#lightboxImage {
  max-width: 90%;
  max-height: 80vh;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  margin-bottom: 10px;
  object-fit: contain;
}

#closeBtn {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 12px;
  border: none;
  font-size: 1.2em;
  cursor: pointer;
}

#lightbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  touch-action: pan-y;
}

#controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.gallery-btn {
  background: none;
  border: none;
  font-size: 2em;
  cursor: pointer;
  margin: 0 10px;
  transition: opacity 0.3s;
}

.gallery-btn:hover,
#closeBtn:hover {
  opacity: 0.8;
}
iframe {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
a[href^="mailto"] {
  text-decoration: none !important;
  color: #222;
}
#email_color a[href^="mailto"] {
  text-decoration: none !important;
  color: #fff;
}


/* 📱 Responsywność */
@media (max-width: 960px) {
  #menu .nav-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 600px) {
  #controls {
    flex-direction: column;
    align-items: center;
  }
}



