@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.text {
	margin: 0 auto 50px;
	line-height: 1.6;
	font-size: 1.1em;
}
.text li {
  margin-bottom: 8px;      
  padding-left: 1.2em;      
  position: relative;      
  list-style: none;     
}

.text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;              
  width: 6px;          
  height: 6px;         
  background-image: url('/grafika/stala/li.gif');
  background-size: contain;
  background-repeat: no-repeat;
}

body, html {
  height: 100%;
  font-family: 'Poppins', sans-serif;
}

h1,h2 {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}
h3 {
  font-size: 1.9em;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
  color: #333;
}
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.heropod {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
}

.top-bar {
  display: flex;
  margin-top: 110px;
  justify-content: center;
  z-index: 1000;
  position: relative;
}

.logo a:hover img {
	opacity: 0.8;
	transition: transform 0.3s ease, filter 0.3s ease;
}

/* Flagi językowe */
.language-switcher {
	display: flex;
	gap: 12px;
	padding-left: 20px;
}

.language-switcher .flag img {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(60%);
  cursor: pointer;
  border-radius: 4px;
}

.language-switcher .flag.active img {
  filter: brightness(100%);
}

.language-switcher .flag:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(100%) drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.logo {
	padding: 0;
	background-color: transparent;
}



@keyframes slideInFromTop {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 3;
  animation: fadeIn 2s ease forwards;
  opacity: 0;
  max-width: 90%;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  color: white;
}
@media (max-width: 720px) {
    .hero-text {top: 55%;}
	 .hero-text h1 { font-size: 2em;}
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    padding: 60px 5%;
    background-color: #ffffff; /* białe tło */
    justify-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); /* mocniejszy cień */
    border-radius: 20px;
    margin: 40px auto; /* odstęp od innych sekcji, by cień był widoczny */
    max-width: 1200px; /* opcjonalnie ograniczenie szerokości dla estetyki */
}
.info-box {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: translateY(50px);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay);
}
.info-box .img-container {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}
.info-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.4s ease;
}
.info-box h3 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1.3); /* większe na start */
	margin: 0;
	font-size: 1.5em; /* większy rozmiar bazowy */
	color: #fff;
	z-index: 2;
	transition: transform 0.3s ease;
	text-align: center;
}
.info-box::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	z-index: 1;
	transition: opacity 0.3s ease;
	opacity: 1;
}
.info-box:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.info-box:hover img {
  transform: scale(1.1);
}
.info-box:hover h3 {
  transform: translate(-50%, -50%) scale(1);
}

/* Animacja wejścia */
@keyframes fadeUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Efekt opóźnienia animacji */
.info-box:nth-child(1) { --delay: 0.2s; }
.info-box:nth-child(2) { --delay: 0.4s; }
.info-box:nth-child(3) { --delay: 0.6s; }
.info-box:nth-child(4) { --delay: 0.8s; }

.img-container {
  overflow: hidden;
  height: 200px;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.info-box:hover .img-container img {
  transform: scale(1.1);
}

.about-us {
	background-color: #f7f7f7;
	padding: 30px 20px 80px 20px;
	color: #333;
}

.about-us h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
}

.about-us p {
	max-width: 900px;
	margin: 0 auto 20px;
	line-height: 1.6;
	font-size: 1.1em;
	text-align: center;
}

/* Animacja fade-in przy scrollu */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

.oferta-section {
	width: 100%;
	background: #fff;
	padding: 20px 0 0 0;
	clear: both;
}

.oferta-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
}
.oferta-item.fade-in-left .oferta-text {
  text-align: left;}

.oferta-item.fade-in-right .oferta-text {
  text-align: right;
}

.oferta-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

.oferta-item img {
  width: 45vw;          /* do 45% szerokości okna */
  max-width: 300px;
  height: 250px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  transition: transform 0.5s ease;
}

.oferta-item img:hover {
  transform: scale(1.03);
}

.oferta-text {
  flex: 1;
}

.oferta-text h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #222;
}

.oferta-text p {
  font-size: 1.1em;
  color: #444;  
}

.read-more {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 20px;
  background: #00749e;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 
    color 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.read-more:hover {
  color: #fff;
  background-color: #ff0000;
  box-shadow: 0 0 15px #000000;
  transform: scale(1.05);
}

/* Dodatkowy efekt „pulsowania” po najechaniu */
.read-more:hover::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  border-radius: 12px;
  box-shadow: 0 0 20px 5px rgba(255, 0, 0, 0.4);
  animation: pulse 1.2s infinite ease-in-out;
  z-index: -1;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0;
  }
}

/* Animacje scroll */
.fade-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease;
}

.fade-in-left.is-visible,
.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
  display: flex;
  align-items: flex-start;
}
/* Sekcja Kontakt */
.kontakt-section {
	padding-top: 140px;
   margin-top: 0;
	clear: both;
}

.map-container {
	position: relative;
}

/* Czarno-biała mapa */
.map-iframe {
  border: none;
  width: 100%;
  height: 450px;
  display: block;
}

.contact-info-box {
	position: absolute;
	bottom: 200px;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 250px;
	height: 250px;
	background: rgba(255, 255, 255, 1.0);
	color: #000;
	padding: 20px;
	font-size: 0.9rem;
	line-height: 1.4;
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
	z-index: 1;
	border-radius: 50%;
	border: thin solid rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.contact-info-box h3 {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.2rem;
}

.contact-info-box a {
  color: #00aeff;
  text-decoration: none;
}
.contact-info-box a:hover {
  text-decoration: underline;
}
.contact-info-box .small-btn {
  margin-top: 15px;
  padding: 8px 18px;
  font-size: 0.9rem;
  border-radius: 20px;
  width: 100%;
  background-color: #444;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.contact-info-box .small-btn:hover {
  background-color: #ff0000;
  color: #fff;
}

.kontakt-button-container {
  text-align: center;
  margin-top: 25px;
}

.btn-primary, .bt_f {
  background-color: #00749e;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary:hover, .bt_f:hover {
  background-color: #dd0000;
  color: white;
}


/* Modal */
.modal {
  display: none; /* domyślnie ukryty */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 15px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: fadeInScale 0.4s ease forwards;
}
.modal-content h2{
  padding-bottom: 20px;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-button {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #ff0000;
}

/* Formularz */

#kontaktForm {
	text-align: center;
}
.error_form {
	background-color: #ffe6e6;
	color: #dd0000;
	font-size: 13px;
	padding: 10px 15px;
	border: 1px solid #dd0000;
	border-radius: 10px;
	z-index: 9999;
	box-shadow: 0 0 8px rgba(0,0,0,0.1);
	margin-left: 5px;
}

form label {
  display: block;
  margin-bottom: 3px;
  color: #222;
}

form select {
  width: 90%;
  padding: 10px 40px 10px 14px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}

input.inp_ff{
  width: 100px !important;
}

.l{
  padding-top:15px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 90%;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
  border-color: #ff0000;
  outline: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.9rem;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

form button[type="submit"] {
  width: 100%;
  background-color: #333;
  color: white;
  border: none;
  padding: 14px 0;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: not-allowed;
  opacity: 0.6;
  transition: background-color 0.3s ease, opacity 0.3s ease, cursor 0.3s ease;
}

form button[type="submit"]:enabled {
  cursor: pointer;
  opacity: 1;
}

form button[type="submit"]:enabled:hover {
  background-color: #ff0000;
}


.footer {
	background-color: #002f3b; /* kolor tła stopki (dopasuj do strony) */
	padding: 50px 20px 30px 20px;
	text-align: center;
	color: #fff;
}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 30px; /* odstęp między grafikami */
  margin-bottom: 20px;
}

.footer-logos a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logos img {
  width: 80px;   /* dopasuj rozmiar */
  height: 80px;  /* równa wysokość i szerokość dla idealnego koła */
  border-radius: 50%; /* okrągły kształt */
  border: 3px solid #fff; /* biały border */
  object-fit: cover; /* dopasowanie obrazu w kole */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efekt hover */
.footer-logos a:hover img {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-text p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-text a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-text a:hover {
  color: #00bcd4; /* zmiana koloru przy hoverze */
}


/* Animacja pojawiania się */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsywność - na mniejszych ekranach stopka ułożona w kolumnę */
@media (max-width: 600px) {
  .footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-left, .footer-right {
    align-items: center;
  }
  .footer-logos img {
  width: 50px; 
  height: 50px; 
}
.sys_col0, .sys_col1 {width: 100% !important; padding:10px; margin-left: 0px !important;}
.sys_col0 h3, .sys_col1 h3 {text-align: left !important;}

.menu ul li menu a {
	background: #213f76;
}
}


/* =======================
   MENU - DESKTOP
======================= */

.menu {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	padding: 10px 20px 20px 20px;
	background-color: rgba(0, 55, 75, 0.2);
	transition: background-color 0.3s ease;
}

.menu.scrolled {
	background-color: rgba(0, 55, 75, 1.0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.menu ul {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-direction: row;
	gap: 30px;
	animation: slideInFromTop 1s ease-out forwards;
	opacity: 0;
	margin-top: 10px;
	padding: 0; 
}

.menu ul li:not(:last-child)::after {
	content: url(sep.png);
	position: absolute;
	right: -18px;
	top: 35%;
	transform: translateY(-50%);
}

.menu ul li a {
	color: white;
	text-decoration: none;
	font-size: 1em;
	position: relative;
	transition: color 0.3s ease;
	text-transform: none;
}

.menu ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.menu ul li a:hover::after {
  width: 100%;
}

.menu ul li a:hover {
  color: #f0f0f0;
}

li {
  position: relative;
}

li menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 30px;
  left: 0;
  background: #135cb7;
  padding: 10px 0;
  min-width: 200px;
  border-radius: 0 0 8px 8px;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  transform: translateY(10px);
  z-index: 1000;
}

li:hover menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

li menu a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

li menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
}

/* =======================
   BURGER
======================= */

#nav_res {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  display: none;
  z-index: 1000;
  text-indent: -9999px;
  border: solid 15px #dd0000;
  background: #dd0000 url(stala/nav_res.gif) repeat-x center;
  cursor: pointer;
  border-bottom-left-radius: 12px;
}

#nav_res:hover {
  border-color: #212121;
  background: #212121 url(stala/nav_res.gif) repeat-x center;
}

/* =======================
   MOBILE
======================= */

@media (max-width: 920px) {
  #nav_res {
    display: block;
  }

  .menu {
    display: none;
    position: fixed;
    top: 0px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    padding: 20px;
    border-radius: 0 0 12px 12px;
  }

  .menu.active {
    display: block;
  }

  .menu ul {
    flex-direction: column;
    gap: 1px;
    animation: none;
    opacity: 1;
    margin-top: 0;
  }

  .menu ul li {
    position: relative;
  }

  li menu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: none;
    padding: 0;
    min-width: unset;
    border-radius: 0;
  }

  li menu a {
    padding: 2px 5px 5px 20px;
  }

  li:hover menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}


@media (max-width: 720px) {
    .footer-container {display: flow;}
	 .footer-left, .footer-right {padding-top: 15px;}
}
.pswp-gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  transition: transform .2s ease-in-out;
}
.pswp-gallery img:hover {
  transform: scale(1.05);
}


/* Sekcja aktualności */
.news-section {
  padding: 60px 5%;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: #222;
}

/* Kontener na karty */
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;

  max-width: 1200px;   /* szerokość całego kontenera */
  margin: 0 auto;      /* wyśrodkowanie w poziomie */
  padding: 0 20px;     /* odstęp od brzegów (dla mobile) */
}

/* Pojedyncza karta aktualności */
.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Obrazek i data */
.news-image {
  position: relative;
}

.news-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 10px;
  font-size: 0.85rem;
  border-radius: 12px;
}

/* Treść karty */
.news-content {
  padding: 20px;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #222;
}

.news-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Przycisk */
.news-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #00749e;
  color: #fff;
  border-radius: 30px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.news-btn:hover {
  background: #dd0000;
}
.tag-number {
  display: inline-flex;
  align-items: center;       /* pionowe wyśrodkowanie */
  justify-content: center;   /* poziome wyśrodkowanie */
  width: 60px;
  height: 60px;
  background: #007bff;
  color: #fff;
  font-size: 1.5rem;         /* większa cyfra */
  font-weight: bold;
  border-radius: 8px;        /* lekko zaokrąglone rogi */
  margin: 10px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.tag-number:hover {
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.9);
  transform: scale(1.1);
}