body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.kafelek {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #000;
  overflow: hidden;
  box-sizing: border-box;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.2;
}

.content {
  position: relative;
  z-index: 1;
  padding: 60px 1%;
}

/* MENU */

.menu-wrapper {
  background: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 80px;
  position: relative;
}

.menu li {
  margin: 0 20px;
}

.menu li.logo {
  transform: translateY(20px);
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  padding: 10px;
  background: white;
  border-radius: 5px;
}

.menu li.logo img {
  height: 60px;
}

.menu a {
  text-decoration: none;
  color: #72c165;
  background: white;
  padding: 10px 15px;
  border-radius: 5px;
  transition: 0.3s;
}

.menu a:hover {
  background: #72c165;
  color: white;
}

//* O MNIE */
#.kafelek .content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.column {
  flex: 1 1 45%;
  max-width: 50%;
  background: rgba(255, 255, 255, 0.8);
}

.column.image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Dla urządzeń mobilnych - jedna pod drugą */
@media (max-width: 768px) {
  .two-columns {
    flex-direction: column;
  }

  .column {
    max-width: 100%;
  }
}
}
/* MEDYCYNA */
.med-columns {
  text-align: center;
}

.medycyna-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}

.medycyna-item {
  flex: 1 1 calc(25% - 30px);
  background: rgba(255,255,255,0.8);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* KONTAKT */
#mapa-szara {
  width: 100%;
  height: 400px;
  background: #ccc;
  margin-bottom: 20px;
}
#kontakt strong {
  color: #72c165;
}
/* STOPKA */
footer {
  background: #fff;
  padding: 20px;
 /* width: 100%;*/
  margin-top: auto;
}

.footer-line {
  height: 4px;
  background: #72c165;
  width: 100%;
  margin-bottom: 20px;
}

.footer-content p {
  text-align: right;
  margin: 0;
}

/* OVERLAY POLITYKI */
#polityka-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  overflow-y: auto;
  z-index: 1000;
  padding: 2rem;
}

.polityka-container {
  max-width: 800px;
  margin: auto;
  background: #fff;
  color: #222;
  padding: 2rem;
  border-radius: 10px;
}

.polityka-container h1,
.polityka-container h2 {
  color: #216e42;
}

.polityka-container button {
  float: right;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: #216e42;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.polityka-container ul {
  padding-left: 1.2rem;
}

#zamknij-overlay {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 24px;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  color: #000;
  padding: 20px;
  z-index: 10001;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #72c165;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

#cookie-banner button {
  background: #72c165;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-left: 10px;
  cursor: pointer;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 1024px) {
  .medycyna-item {
    flex: 1 1 calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .two-columns {
    flex-direction: column;
  }
  .menu {
    flex-wrap: wrap;
  }
  .menu li {
    flex: 1 1 33%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  #o-mnie .two-columns {
    flex-direction: column;
  }

  #o-mnie .two-columns .column {
    max-width: 100%;
    flex: 1 1 100%;
  }
}
@media (max-width: 600px) {
  .medycyna-item {
    flex: 1 1 100%;
  }
  .menu li {
    flex: 1 1 100%;
  }
}