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

.VIpgJd-ZVi9od-ORHb{
  display: none;
  z-index: -1;
}

 .skiptranslate{
  z-index: -1;
  display: none;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Zmienne CSS */
:root {
  --primary-color: #4aa3df;
  --secondary-color: #8fc2e4;
  --hover-color: #ffdd57;
  --text-color: #333;
  --background: #f9f9f9;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  top:0px !important;
}

/* Animacje */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-in { animation: fadeInUp 1s ease-in-out forwards; }
.slide-in { animation: slideIn 1s ease-in-out forwards; }

/* Uniwersalne klasy */
.flex-center { display: flex; justify-content: center; align-items: center; }

/* Pasek górny */
.rekru {
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(20px, 5vw, 100px);
  flex-wrap: wrap;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.header-left {
  gap: clamp(10px, 1vw, 20px);
  font-size: clamp(16px, 1.5vw, 20px);
  margin: 10px 0;
  flex-wrap: wrap;
}

.re_trwa{
  font-size: 28px;
}

.header-left a
   {
    text-decoration: none;
    color: #000000;
  }
  
  .header-left a:hover {
    text-decoration: none;
    color: #0de2d0;
    transition: color 0.3s ease;
  }


.logo{
    width: clamp(150px, 20vw, 240px);
    height: auto;
    flex-shrink: 0;
    margin-left: 20px;
}

.logo img{
    width: 100%;
    height: auto;
    object-fit: cover;
}


.header-left span { margin-left: clamp(10px, 2vw, 60px); white-space: nowrap; }

.language-selector img {
  width: clamp(28px, 2.5vw, 38px);
  height: clamp(28px, 2.5vw, 38px);
  margin: clamp(5px, 1vw, 10px);
  cursor: pointer;
}

/* Nawigacja */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 15px 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s;
}

.logo-nav { width: clamp(150px, 20vw, 240px); height: auto; flex-shrink: 0; margin-left: 20px; }
.logo-nav img { width: 100%; height: auto; object-fit: cover; }

.menu {
  display: flex;
  gap: 20px;
  padding: 8px;
  margin: auto;
  list-style: none;
}

.menu li { padding: 10px; position: relative; }
.menu a { text-decoration: none; color: #000; font-size: clamp(16px, 1.2vw, 18px); transition: color 0.3s; }
.menu a:hover { color: var(--hover-color); }

nav .dropdown {
  display: none;
  position: absolute;
  background: #4aa3df;
  padding: 10px;
  border-radius: 8px;
  top: 100%;
  left: 0;
  min-width: 200px;
  list-style: none;
}

.dropdown {
  display: block;
  /* max-height: 0; */
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.dropdown.open {
  display: block;
  max-height: 500px; /* wartość większa od przewidywanej wysokości menu */
}

/* hamburger / moblie list  */

nav .dropdown li { padding: 10px; }
nav .dropdown li a { color: white; display: block; }

.dropdown-header{
  text-align: center;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.mobile-menu.active {
  display: flex;
  background-color: white;
  opacity: 1;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  width: 100%;
  max-width: 600px;
  text-align: center;
  position: absolute;
  top: 20px; /* wysoko przy górze */
  left: 50%;
  transform: translateX(-50%);
  margin-top: 128px;
}

.mobile-menu-list li {
  margin: 1rem 0;
  font-size: 1.5rem;
 text-align: center;
}

.mobile-menu-list a {
  text-decoration: none;
  font-size: 24px;
  color: #333;
  transition: color 0.3s;
  /* padding-left: 32px; */
  text-align: center;
}
.mobile-menu-list a:hover {
  color: #ffdd57;
}

/* Blokada scrollowania tła */
.no-scroll {
  overflow: hidden;
}

  /* Hamburger + Overlay menu */

  .hamburger-icon {
    display: block;
    min-width: 100px;
    height: 3px;
    /* background-color: #333; */
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .hamburger-icon::before,
  .hamburger-icon::after,
  .hamburger-icon span {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
  }
  
  /* Górna kreska */
  .hamburger-icon::before {
    top: 10px;
  }
  
  /* Środkowa kreska */
  .hamburger-icon span {
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Dolna kreska */
  .hamburger-icon::after {
    bottom: 10px;
  }

nav.menu-active #hamburger {
  position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999; /* Bardzo wysoka wartość */
    pointer-events: auto;
}

/* Mobilny dropdown w overlay */
#mobileMenu .dropdown {
  display: none;
}
#mobileMenu .dropdown-container.active .dropdown {
  display: block !important;
    max-height: 500px !important;
    transition: max-height 0.3s ease-in-out;
}
.dropdown-header {
  cursor: pointer;
  background: #ffffff;
  list-style: none;
}
.dropdown-toggle {
  cursor: pointer;
  padding-left: 10px;
  font-size: 18px;
}

.dropdown{
    list-style: none ;
}

ul {
    list-style: none;
}

@media (max-width: 768px) {
  .menu { display: none; }
  
}

/* Linie dekoracyjne */
.line { height: 3px; background-color: var(--primary-color); margin: 6px 0; }

/* Stopka */
footer {
  background: var(--secondary-color);
  color: #000;
  text-align: center;
  padding: 40px 4%;
}

.first_row, .social_media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.first_row { max-width: 1400px; margin: 0 auto 40px; }
footer .logo, .contact, .mapa { flex: 1 1 300px; padding: 10px; text-align: center; }
footer .logo img { width: 100%; max-width: 600px; height: 400px; object-fit: contain; }
.contact { display: flex; flex-direction: column; gap: 18px; }
.contact p { font-size: clamp(1.1rem, 1.2vw, 1.2rem); }
.kontakt > a {text-decoration: none;}
.mapa iframe { width: 100%; max-width: 460px; aspect-ratio: 16/9; border-radius: 30px; border: none; }

.kontakt a {
  text-decoration: none;
  color: #000000;
}
.kontakt a:hover {
  text-decoration: none;
  color: #0de2d0;
  transition: color 0.3s ease;
}



.social_media img { height: 50px; padding: 10px; transition: transform 0.3s; }
.social_media img:hover { transform: scale(1.1); }

.underline { height: 2px; background-color: #000; margin: 20px 0; }
.third_row p { padding: 20px; font-size: clamp(0.9rem, 1.2vw, 1rem); }

/* Mobile Menu */
#hamburger{
  z-index: 9999; background: none; border: none; cursor: pointer; display: none;
}
#closeMenu { 
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 36px;
  color: #333;
  cursor: pointer;
  z-index: 10001; }

  #myModal {
    display: flex; /* domyślnie ukryty */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
  }

  /* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
  #myModal .modal-content img {
    width: 100%;
    height:100%;
      /* max-width: 90%; */
  }
}

@media (max-width: 480px) {
  #myModal .modal-content {
    width: 85%;
    height:45%;
  }
}
@media (max-width: 480px) {
  #myModal .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: larger;
    background: none;
    border: none;
    cursor: pointer;
  }
}
  
  .modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    width: 300px;
    height: 300px;
    /* padding: 20px; */
    border-radius: 8px;
    position: relative;
  }
  
  .close-btn {
    position: absolute;
    top: -60px;
    right: -60px;
    font-size: larger;
    background: none;
    border: none;
    cursor: pointer;
  }
  

.mobile-menu.active { display: flex; background-color: white; }

@media (max-width: 768px) {
  .menu { display: none; }
  #hamburger { display: block; }
  .first_row { flex-direction: column; }
  .social_media img { height: 40px; }
}

@media (max-width: 480px) {
  .menu { flex-direction: column; gap: 10px; }
  footer .logo { width: 100%; padding: 20px; }
}
