/* === HEADER DESKTOP === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  z-index: 9000;
  transition: all 0.3s ease;
}

.nav-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  height: 100%;
  width: 100%;
}

.nav-left,
.nav-right {
  flex: 1;
  z-index: 2;
  display: flex;
  align-items: center;
}

.nav-right {
  justify-content: flex-end;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  font-family: 'Michroma', sans-serif;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5em;
  z-index: 10;
  pointer-events: auto;
}

.nav-center a,
.dropbtn,
.contact-btn,
.mobile-menu li a {
  font-family: 'Michroma', sans-serif;
  font-size: 14px;
  text-decoration: none;
  color: #ECF0F1;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.home-icon {
  font-size: 20px;
  font-weight: bold;
}

.contact-btn {
  background-color: var(--site-accent, #ed006a);
  color: white;
  padding: 0.6em 1.2em;
  border-radius: 25px;
  transition: background 0.3s;
}

.contact-btn:hover {
  background-color: var(--site-accent-soft, #c9005a);
}

/* === DROPDOWN DESKTOP === */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: saturate(200%) blur(10px);
  backdrop-filter: saturate(200%) blur(10px);
  border: 1px solid var(--site-accent, #ed006a);
  box-shadow: 0 0 6px var(--site-accent, #ed006a), 0 0 12px var(--site-accent, #ed006a);
  border-radius: 4px;
  display: none;
  min-width: 240px;
  z-index: 9999;
  animation: dropdownFadeOut 0.3s forwards;
}

.dropdown-content ul {

     list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: dropdownFadeIn 0.4s forwards;
}

.dropdown-content li {
  border-bottom: 1px solid var(--site-accent, #ed006a);

}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: white;
  font-family: 'Michroma', sans-serif;
  font-size: 1vh;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(var(--site-accent-rgb, 237, 0, 106), 0.2);
  text-shadow: 0 0 6px var(--site-accent, #ed006a);
}

/* === ANIMACJE DROPDOWN === */
@keyframes dropdownFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dropdownFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* === HAMBURGER TOGGLE === */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 12px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
}

.mobile_menu_bar::before {
  content: "\f0c9"; /* Font Awesome bars */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 28px;
  color: var(--site-accent, #ed006a);
  text-shadow: 0 0 4px var(--site-accent, #ed006a), 0 0 10px var(--site-accent, #ed006a);
  transition: all 0.4s ease;
}

.mobile_nav.opened .mobile_menu_bar::before {
  content: "\f00d"; /* Font Awesome X */
  transform: rotate(90deg);
}

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
}

@media (max-width: 980px) {
.header {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100vw;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-radius: 0 0 38px 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);

    text-align: center;
    z-index: 1000;
    transition: opacity 1.2s ease;
  }

  .mobile-menu.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
  }

  .mobile-menu li {
    list-style: none;
    margin: 10px 0;
  }

  .mobile-menu li a {
    position: relative;
    display: inline-block;
    font-family: 'Michroma', sans-serif;
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
    padding: 12px 20px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu li a::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 6px;
    height: 12px;
    background: var(--site-accent, #ed006a);
    border-radius: 50%;
    opacity: 0;
    transform: translateX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .mobile-menu li a.clicked::before {
    opacity: 1;
    transform: translateX(100%);
  }

  .mobile-menu li.active > a {
    color: var(--site-accent, #ed006a);
    text-shadow: 0 0 6px var(--site-accent, #ed006a), 0 0 12px var(--site-accent, #ed006a);
  }

  /* MOBILE PODMENU (Usługi) */
  .has-submenu .submenu {
    display: none;
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
  }

  .has-submenu .submenu li a {
    font-size: 14px;
    padding: 8px 16px;
    display: block;
    color: #fff;
    text-decoration: none;
  }

  .has-submenu .submenu.show {
    display: block;
  }
}


@keyframes neon-dot-move {
  from {
    left: 0%;
    opacity: 1;
  }
  to {
    left: 100%;
    opacity: 0;
  }
}

.home-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-blur {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  border-radius: 50%;
  background: var(--site-accent, #ed006a);
  opacity: 0;
  filter: blur(8px);
  z-index: -1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.home-icon:hover .icon-blur {
  opacity: 0.4;
}

.nav-center .menu-item::after,
.mobile-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0%;
  height: 2px;
  background: var(--site-accent, #ed006a);
  box-shadow: 0 0 8px var(--site-accent, #ed006a), 0 0 20px var(--site-accent, #ed006a);
  transition: width 0.4s ease-out;
}

.nav-center .menu-item:hover::after,
.mobile-menu li a:hover::after {
  width: 100%;
}

