/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
  color: #222;
}
/* --- MENU --- */
nav {
  background: #212529;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: sticky;
  top: 0;
  z-index: 9999;
}
nav .logo {
  color: #f8f9fa;
  font-weight: 700;
  font-size: 1.2rem;
  user-select: none;
  cursor: default;
  letter-spacing: 1px;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
nav ul li a {
  color: #f8f9fa;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
nav ul li a:hover,
nav ul li a.active {
  background-color: #ffc107;
  color: #212529;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 25px;
  height: 20px;
  justify-content: center;
}
.menu-toggle span {
  background: #f8f9fa;
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.tabs form {
  flex: 1 1 220px;
  max-width: 220px;
}

.tabs button {
  width: 100%;
  background: #e0e0e0;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-align: center;
}

.tabs button:hover:not(.active) {
  background-color: #d3d3d3;
}

.tabs button.active {
  background-color: #ffc107;
  color: #212529;
  cursor: default;
}

/* Na bardzo małych ekranach zakładki pionowo */
@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tabs form {
    max-width: 100%;
  }
}
 

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 50px;
    right: -100%;
    background: #212529;
    height: calc(100vh - 50px);
    width: 200px;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem;
    gap: 1rem;
    transition: right 0.3s ease;
  }
  nav ul.show {
    right: 0;
  }
  .menu-toggle {
    display: flex;
  }
}
main {
  max-width: 960px;
  margin: 20px auto;
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgb(0 0 0 / 0.1);
}
		.tbl-qa{margin:auto;width: 100%;font-size:0.9em;background-color: #f5f5f5;}
		.tbl-qa th.table-header {padding: 5px;text-align: left;padding:10px;}
		.tbl-qa .table-row td {padding:10px;background-color: #FDFDFD;vertical-align:top;}

/* --- RODO Modal --- */
#rodo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 37, 41, 0.7); /* ciemnoszare półprzezroczyste tło pasujące do menu */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
#rodo-modal {
  background: #f8f9fa; /* jasne tło jak strona */
  color: #212529;       /* ciemny tekst */
  padding: 20px 25px;
  border-radius: 10px;
  max-width: 520px;     /* szerszy modal */
  width: 90%;           /* responsywny na małych ekranach */
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  text-align: center;
}
#rodo-modal .rodo-label {
  font-weight: 700;
  font-size: 1.5rem;
  color: #212529;       /* ciemny tekst */
  background: #ffc107;   /* akcent jak w menu */
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  display: inline-block;
}
#rodo-modal .rodo-content p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  text-align: left;
}
#rodo-modal .rodo-content a {
  color: #ffc107;       /* podkreślony link w kolorze akcentu */
  text-decoration: underline;
}
#rodo-modal .rodo-content button {
  background: #ffc107;   /* przycisk w kolorze akcentu */
  color: #212529;        /* ciemny tekst */
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}
#rodo-modal .rodo-content button:hover {
  background: #e0a800;   /* ciemniejszy odcień przy hover */
}
/* --- FOOTER --- */
footer {
  background: #212529;       /* ciemne tło jak menu */
  color: #f8f9fa;            /* biały tekst */
  padding: 15px 20px;
  margin-top: 30px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}
.footer-left {
  font-weight: 600;
  font-size: 1rem;
}
.footer-right a {
  color: #f8f9fa;
  text-decoration: none;
  margin-left: 15px;
  font-weight: 500;
  transition: color 0.3s;
}
.footer-right a:hover {
  color: #ffc107; /* akcent jak w menu */
}

/* Responsywność stopki */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-right a {
    margin-left: 0;
    margin-right: 10px;
  }
}

input[type="text"] {
  padding: 8px;
  width: 250px;
  max-width: 100%;
  border: 1px solid #ccc;
  border-radius: 3px;
}
button {
  padding: 8px 15px;
  background-color: #212529;
  color: #f8f9fa;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #ffc107;
  color: #212529;
}
.error-message {
  color: red;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  section[style*="display: flex"] {
    flex-direction: column !important;
    align-items: center;
  }

  section[style*="display: flex"] > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  section[style*="display: flex"] #main-photo {
    height: auto !important;
    aspect-ratio: 1/1;
  }

  section[style*="display: flex"] #gallery-thumbs {
    flex-wrap: wrap;
  }
}
#report-form input,
#report-form textarea,
#report-form button {
    box-sizing: border-box;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.tabs form {
  flex: 1 1 220px;
  max-width: 220px;
}

.tabs button {
  width: 100%;
  background: #e0e0e0;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-align: center;
}

.tabs button:hover:not(.active) {
  background-color: #d3d3d3;
}

.tabs button.active {
  background-color: #ffc107;
  color: #212529;
  cursor: default;
}

/* Na bardzo małych ekranach zakładki pionowo */
@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tabs form {
    max-width: 100%;
  }
}
.sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.sector-tile {
    background: #212529;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}
.sector-tile:hover { background-color: #ffc107; color: #212529; }
.sector-tile.active { background-color: #ffc107; color: #212529; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
}
.place-btn {
    position: relative;
    background-color: #e0e0e0;
    border-radius: 6px;
    padding: 6px 8px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none;
    color: #000;
}
.place-btn:hover { background-color: #b0c4de; }

/* Tooltip */
.place-btn .tooltip {
    visibility: hidden;
    opacity: 0;
    width: 220px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 6px 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s;
    font-size: 11px;
    white-space: normal;
}
.place-btn .tooltip img {
    width: 100%;
    max-height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
}
.place-btn .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.place-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
}



form.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form.contact-form label {
  font-weight: 600;
}
form.contact-form input[type="text"],
form.contact-form input[type="email"],
form.contact-form textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 100%;
  max-width: 400px;
  resize: vertical;
  font-family: inherit;
  font-size: 1rem;
}
form.contact-form button {
  width: max-content;
  padding: 10px 20px;
  background-color: #212529;
  color: #f8f9fa;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
form.contact-form button:hover {
  background-color: #ffc107;
  color: #212529;
}
.message-success {
  color: green;
  margin-top: 20px;
  font-weight: 700;
}
.message-error {
  color: red;
  margin-top: 20px;
  font-weight: 700;
}
























.w-3 {
    width: .75rem;
}

nav {
  background: #212529;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: sticky;
  top: 0;
  z-index: 9999;
}
nav .logo {
  color: #f8f9fa;
  font-weight: 700;
  font-size: 1.2rem;
  user-select: none;
  cursor: default;
  letter-spacing: 1px;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
nav ul li a {
  color: #f8f9fa;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
nav ul li a:hover,
nav ul li a.active {
  background-color: #ffc107;
  color: #212529;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 25px;
  height: 20px;
  justify-content: center;
}
.menu-toggle span {
  background: #f8f9fa;
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 50px;
    right: -100%;
    background: #212529;
    height: calc(100vh - 50px);
    width: 200px;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem;
    gap: 1rem;
    transition: right 0.3s ease;
  }
  nav ul.show {
    right: 0;
  }
  .menu-toggle {
    display: flex;
  }
}
main {
  max-width: 960px;
  margin: 20px auto;
  background: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgb(0 0 0 / 0.1);
}
h2 {
  margin-bottom: 0.5rem;
}
img {
  max-width: 100%;
  height: auto;
/*   border: 1px solid #ccc;*/
  margin: 10px 0;
  border-radius: 4px;
}
.info-box {
  background: #f9f9f9;
  padding: 15px;
  margin: 20px 0;
  border-left: 4px solid #999;
  border-radius: 4px;
}

form {
  margin: 20px 0;
}
input[type="text"] {
  padding: 8px;
  width: 250px;
  max-width: 100%;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.error-message {
  color: red;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  section[style*="display: flex"] {
    flex-direction: column !important;
    align-items: center;
  }

  section[style*="display: flex"] > div {
    width: 100% !important;
    max-width: 100% !important;
  }

  section[style*="display: flex"] #main-photo {
    height: auto !important;
    aspect-ratio: 1/1;
  }

  section[style*="display: flex"] #gallery-thumbs {
    flex-wrap: wrap;
  }
}
#report-form input,
#report-form textarea,
#report-form button {
    box-sizing: border-box;
}

/* Statusy nagrobków */
.place-btn.status-reserved {
    background-color: #ffc107 !important; /* żółty dla zarezerwowanych */
    color: #000 !important;
}

.place-btn.status-empty {
    background-color: #6c757d !important; /* szary dla pustych */
    color: #fff !important;
}