@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #222;
}

nav a.active {
  font-weight: bold;
  border-bottom: 2px solid #000;
}

header {
  background: #fafafa;
  border-bottom: 1px solid #ddd;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.logo img {
  height: 60px;
  max-height: 80px;
}
nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #333;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}

nav a:hover,
nav a.active {
  border-color: #000;
}

.container {
  width: 100%;
  max-width: none;
  padding: 0 5vw;
  box-sizing: border-box;
}
.hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
  margin: 1rem 0 2rem 0; /* dodany margines górny */
  border-radius: 1rem;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  transition: color 0.5s ease, background-color 0.5s ease, text-shadow 0.5s ease;
}
.hero-overlay.dark {
  color: white;
  background: rgba(0, 0, 0, 0.4);
}

.hero-overlay.light {
  color: black;
  background: rgba(255, 255, 255, 0.5);
  text-shadow: none;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
}

.info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 40px;
  gap: 20px;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  background: #f5f5f5; /* jasne tło dla całego wiersza */
  padding: 2rem;
  border-radius: 10px;
}

.info-box {
  background-color: white; /* wyraźne białe boksy na tle .info-row */
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1 1 300px;
}

.info-box:nth-child(1) {
  text-align: left;
}

.info-box:nth-child(2) {
  text-align: right;
}


footer {
  text-align: center;
  margin-top: 60px;
  padding: 20px;
  background: #f8f8f8;
  font-size: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  padding: 20px;
}

.tile img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.tile img:hover {
  transform: scale(1.03);
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.modal.show {
  display: flex;
}

#diskChart {
  max-width: 300px;
  max-height: 300px;
  margin: 0 auto;
  display: block;
}
.cennik-grupa h3 {
  margin-top: 2rem;
  color: #444;
}

.cennik-grupa ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.cennik-grupa ul ul {
  padding-left: 1.5rem;
  margin-top: 0.3rem;
  margin-bottom: 0.8rem;
  list-style-type: disc;
}
.uslugi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.usluga {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 200px;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
padding-bottom: 1rem;   /* odstęp od dolnej krawędzi */
 align-items: flex-end;  /* przyciąga tekst do dołu */
}

.usluga::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.usluga span {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
  text-align: center;
}
.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: 0 2rem;
}

nav.nav-centered {
  display: flex;
  align-items: center;
  justify-content: flex-start;  /* Ustaw logo + menu przy lewej stronie */
  gap: 2rem;                   /* Odstęp między logo a linkami */
}

nav.nav-centered .nav-section {
  display: flex;
  gap: 1.5rem;
}

nav.nav-centered .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

nav.nav-centered .logo img {
  height: 60px;
  max-height: 70px;
}
@media (max-width: 768px) {
  nav.nav-centered {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  nav.nav-centered .nav-section {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  nav.nav-centered .logo {
    margin: 0.5rem 0;
  }

  nav.nav-centered a {
    margin-left: 0;
  }
}
.hero-overlay.bottom-left {
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  padding: 2rem;
}
