/* --- RESET & PODSTAWOWE --- */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
  padding-top: 140px; /* miejsce na topbar */
}

/* --- TOPBAR & NAWIGACJA --- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  font-weight: bold;
}

.nav-links a:hover {
  background-color: #ffd700;
  color: #000;
  border-radius: 4px;
}

.topbar .nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

/* Hamburger (masz już <button class="nav-toggle"><span/><span/><span/></button>) */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:space-between;
  width:32px;
  height:22px;
  background:transparent;
  border:0;
  cursor:pointer;
  z-index:1001; /* ponad panelem */
  margin-left: auto;
}
.nav-toggle span{
  display:block;
  height:3px;
  width:100%;
  background:#fff; /* zmień na #fff, jeśli topbar jest ciemny */
  border-radius:2px;
  transition:transform .25s ease, opacity .25s ease;
}

/* Domyślnie linki w linii (desktop) */
.nav-links{
  display:flex;
  gap:20px;
}

/* MOBILE: panel wysuwany z prawej */
@media (max-width: 768px){
  .nav-toggle{ display:flex; }

  .nav-links{
    position:fixed;
    top:0;
    right:-100%;
    width:280px;
    height:100dvh;
    padding:80px 24px 24px;
    display:flex;
    flex-direction:column;
    gap:14px;
    background:#111;
    box-shadow: -12px 0 28px rgba(0,0,0,.35);
    transition:right .3s ease;
    z-index:1000;
  }
  .nav-links a{
    color:#fff;
    text-decoration:none;
    font-size:1.1rem;
    padding:10px 0;
  }
  .nav-links.open{ right:0; }
}

/* --- SEKCJE --- */
section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

h2 {
  color: #ffd700;
  margin-bottom: 20px;
}

/* --- O NAS --- */
#onas {
  background-color: #111;
  color: #fff;
}

/* --- USŁUGI --- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.service-box {
  border: 2px solid #ffd700;
  background-color: #000;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-box .bialy-naglowek {
  margin: 0 0 10px;
}

.service-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 2px solid #ffd700;
}

/* --- FORMULARZ WYCENY --- */
#wycena form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
}

#wycena input,
#wycena textarea,
#wycena select {
  padding: 10px;
  border: 1px solid #ccc;
  width: 100%;
}

#wycena input[type="submit"] {
  background-color: #ffd700;
  border: none;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
}

/* --- STOPKA --- */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #111;
  padding: 40px 20px;
}

.footer-column {
  flex: 1 1 200px;
  margin: 10px;
  color: #ccc;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-logo img {
  max-width: 120px;
  margin-bottom: 10px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ffd700;
}

.footer-contact p,
.footer-contact a {
  margin: 5px 0;
  color: #ccc;
  text-decoration: none;
}

.footer-social a {
  margin-right: 10px;
}

.footer-social img {
  width: 24px;
  height: 24px;
}

/* --- KMT VIEWER & COMPARE --- */
.kmt-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s ease;
  z-index: 10;
}

.kmt-button:hover {
  background: rgba(0,0,0,0.8);
}

.kmt-prev { left: 10px; }
.kmt-next { right: 10px; }

/* KMT VIEWER SPECIFIC */
.kmt-viewer {
  position: relative;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

/* KMT COMPARE SPECIFIC */
.kmt-compare-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

/* --- RESPONSYWNOŚĆ PRZYCISKÓW --- */
@media (max-width: 768px) {
  .kmt-button {
    font-size: 2.4rem;
    padding: 14px 18px;
  }
}
.kmt-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s ease;
}
.kmt-prev { left: 10px; }
.kmt-next { right: 10px; }
.kmt-button:hover { background: rgba(0,0,0,0.8); }