/* Reset stylów */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* --- Nagłówek --- */
header {
  background-color: #065f46;
  color: #ffffff;
  padding: 2vh 0;
  width: 100%;
}

header .container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  height: 8vh;
  max-height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 3vw;
  flex-wrap: wrap;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.6em 1em;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-size: 1rem;
}

/* Podświetlenie aktywnej zakładki */
nav a.active {
  background-color: #d1fae5;
  color: #065f46;
  font-weight: bold;
}

nav a:hover {
  background-color: #d1fae5;
  color: #065f46;
}

/* --- Sekcja hero --- */
.hero {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('zdjecie_glowna.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 60vh;
  text-align: center;
  color: white;
}

/* usunięte ciemne tło */
.hero-overlay {
  padding: 4vh 6vw;
  max-width: 85%;
}

.hero h1 {
  font-size: 3vw;
  font-weight: bold;
  margin-bottom: 1vh;
  text-shadow: 0 0.4vw 0.8vw rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.6vw;
  margin-bottom: 2vh;
  text-shadow: 0 0.4vw 0.8vw rgba(0, 0, 0, 0.5);
}

/* --- Przycisk kontaktowy (na stronie głównej) --- */
.call-button {
  display: inline-block;
  background-color: #facc15;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 1em 2em;
  border-radius: 0.6em;
  margin-top: 2vh;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0.4em 1em rgba(0, 0, 0, 0.2);
  line-height: 1.4;
}

.call-button:hover {
  background-color: #eab308;
  transform: translateY(-0.2em);
  box-shadow: 0 0.6em 1.2em rgba(0, 0, 0, 0.25);
}

.call-button strong {
  display: block;
  font-size: 1.1rem;
  color: #064e3b;
  margin-top: 0.3em;
}

/* --- Przycisk mapy (kontakt) --- */
.map-button {
  display: inline-block;
  background-color: #facc15;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 0.8em 1.6em;
  border-radius: 0.6em;
  margin: 1vh 0 2vh 0;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0.4em 1em rgba(0, 0, 0, 0.15);
}

.map-button:hover {
  background-color: #eab308;
  transform: translateY(-0.15em);
  box-shadow: 0 0.6em 1.2em rgba(0, 0, 0, 0.2);
}

/* --- Linki kontaktowe --- */
.contact-link {
  color: #065f46;
  text-decoration: none;
  font-weight: bold;
}

.contact-link:hover {
  text-decoration: underline;
}

/* --- Lista godzin otwarcia --- */
.hours {
  list-style: none;
  margin-top: 1vh;
}

.hours li {
  margin: 0.3em 0;
}

/* --- Nadpisanie globalnych sekcji --- */
section.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* --- Pozostałe sekcje --- */
section {
  width: 90%;
  max-width: 1000px;
  margin: 5vh auto;
}

.content-box {
  background: #ffffff;
  border-radius: 1vw;
  box-shadow: 0 0.3vw 1vw rgba(0, 0, 0, 0.1);
  padding: 4vw;
}

section h2 {
  font-size: 2vw;
  color: #065f46;
  margin-bottom: 1vh;
}

section h3 {
  font-size: 1.4rem;
  color: #065f46;
  margin-top: 2vh;
}

section p {
  margin-bottom: 2vh;
  font-size: 1.1rem;
}

/* --- Kafelki --- */
.features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3vw;
  flex-wrap: wrap;
  margin: 6vh auto;
  width: 90%;
  max-width: 1000px;
}

.feature-tile {
  background-color: #d1fae5;
  color: #064e3b;
  border-radius: 1vw;
  padding: 4vh 6vw;
  text-align: center;
  box-shadow: 0 0.4vw 1vw rgba(0, 0, 0, 0.1);
  flex: 1 1 40%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-tile:hover {
  transform: translateY(-0.5vh);
  box-shadow: 0 0.8vw 1.6vw rgba(0, 0, 0, 0.15);
}

.feature-tile .value {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1vh;
}

.feature-tile .label {
  font-size: 1rem;
  color: #065f46;
  font-weight: 500;
}

/* --- Stopka --- */
footer {
  background-color: #065f46;
  color: white;
  padding: 2vh 0;
  text-align: center;
  font-size: 1rem;
}

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

/* --- Responsywność --- */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }

  .hero h1 {
    font-size: 6vw;
  }

  .hero p {
    font-size: 3.8vw;
  }

  .call-button,
  .map-button {
    font-size: 0.9rem;
    padding: 0.8em 1.6em;
  }

  .feature-tile {
    flex: 1 1 80%;
    padding: 6vh 8vw;
  }

  section h2 {
    font-size: 5vw;
  }
}
/* --- Ujednolicona stopka dla wszystkich stron --- */
footer {
  background-color: #065f46;
  color: white;
  padding: 3vh 0;
  text-align: center;
  font-size: 1rem;
}

/* Struktura z logo i informacjami kontaktowymi */
.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3vw;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-info,
.footer-contact {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-info strong,
.footer-contact strong {
  color: #d1fae5;
}

.footer-contact a {
  color: #d1fae5;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Dla mniejszych ekranów */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo img {
    height: 50px;
    margin-bottom: 1em;
  }
}
/* --- BLOG --- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin-top: 2em;
}

.blog-post {
  display: flex;
  gap: 2em;
  background: #ffffff;
  border-radius: 1vw;
  box-shadow: 0 0.3vw 1vw rgba(0, 0, 0, 0.1);
  padding: 2em;
  align-items: center;
}

.blog-post img {
  width: 200px;
  height: auto;
  border-radius: 10px;
}

.blog-info h3 {
  color: #065f46;
  margin-bottom: 0.5em;
}

.blog-info p {
  color: #333;
  margin-bottom: 0.5em;
}

.read-more {
  color: #065f46;
  font-weight: bold;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.blog-image {
  width: 100%;
  border-radius: 1vw;
  margin: 2vh 0;
}

.back-link {
  display: inline-block;
  margin-top: 1em;
  color: #065f46;
  text-decoration: none;
  font-weight: bold;
}

.back-link:hover {
  text-decoration: underline;
}

/* === Poprawiona wersja mobilna sekcji BLOG === */
@media (max-width: 768px) {
  .blog-list {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    padding: 0 1em;
  }

  .blog-post {
    flex-direction: column;
    align-items: center;
    text-align: left;
    padding: 1.5em;
  }

  .blog-post img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1em;
  }

  .blog-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5em;
    text-align: center;
  }

  .blog-info p {
    font-size: 1rem;
    margin-bottom: 0.8em;
    line-height: 1.5;
    text-align: center;
  }

  .read-more {
    display: inline-block;
    text-align: center;
    color: #065f46;
    font-weight: bold;
    text-decoration: none;
    margin-top: 0.5em;
  }

  .read-more:hover {
    text-decoration: underline;
  }
}

/* Dla bardzo małych ekranów (np. iPhone SE) */
@media (max-width: 480px) {
  .blog-post {
    padding: 1em;
  }

  .blog-info h3 {
    font-size: 1.1rem;
  }

  .blog-info p {
    font-size: 0.95rem;
  }
}

/* === Certyfikat w sekcji hero === */
.certyfikat-logo {
  position: absolute;
  bottom: 3%;
  right: 3%;
  width: 180px;
  height: auto;
  z-index: 5;
}

/* Ustawienie pozycji i wielkości na mniejszych ekranach */
@media (max-width: 1024px) {
  .certyfikat-logo {
    width: 150px;
    bottom: 2%;
    right: 2%;
  }
}

@media (max-width: 768px) {
  .certyfikat-logo {
    width: 140px;
    bottom: 1.5%;
    right: 1.5%;
  }
}

@media (max-width: 480px) {
  .certyfikat-logo {
    width: 120px;
    bottom: 1.5%;
    right: 1.5%;
  }
}


