:root {
  --primary: #6366f1; /* Indigo */
  --primary-dark: #4f46e5;
  --secondary: #06b6d4; /* Cyan */
  --secondary-dark: #186572; /* Cyan */
  --accent: #a855f7; /* Purple */
  --dark-bg: #111827;
  --darker-bg: #030712;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --navbar-bg: rgba(17, 24, 39, 0.7); /* Semi-transparent navbar background */
  --glass-effect: blur(12px);
  --transition-normal: all 0.3s ease;
  --border-glow: rgba(99, 102, 241, 0.3);
  --neon-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
  --glow-cyan: 0 0 15px rgba(6, 182, 212, 0.5);
  --glow-indigo: 0 0 15px rgba(99, 102, 241, 0.5);
  --glow-purple: 0 0 15px rgba(168, 85, 247, 0.5);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smoothlonger: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth; /* Enable smooth scrolling */
  scroll-padding-top: 80px; /* Account for fixed navbar */
}

/* dla osób z wyłączonym JS */

body {
  transition: var(--transition-smooth);
  margin: 0;
  padding: 0;
  opacity: 1;
  background-color: var(--darker-bg);
}
body.fade-in {
  opacity: 0;
}
/* fade-out przy kliknięciu w link */
body.fade-out {
  opacity: 0;
}
noscript body {
  opacity: 1 !important;
}
main {
  min-height: 100vh;
}
a {
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: var(--secondary);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a:focus,
button:focus {
  outline: 2px solid rgba(6, 182, 212, 0.5);
  outline-offset: 2px;
}

/* Custom Scrollbar */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--primary-dark), var(--accent));
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
;
/* Navigation Bar Styles */
.navHolder{
  padding-top: 120px; /* Height of the navbar to prevent content jump */
}
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--navbar-bg);
  backdrop-filter: var(--glass-effect);
  -webkit-backdrop-filter: var(--glass-effect); /* For Safari */
  border-bottom: 1px solid var(--border-glow);
  z-index: 1000;
  transition: var(--transition-normal);
  padding: 16px;
  width: 100%;
  margin: 0 auto;
}

#navbar.scrolled {
  padding: 0;
  background-color: rgba(17, 24, 39, 0.9); /* More opaque when scrolled */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* NavbarContainer */
.navbarContainer {
  margin: auto;
  padding: 8px 24px;
}

.menuContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: auto;
}

/* Navbar Logo */
.logoContainer {
  display: flex;
  align-items: center;
}
#menuLogo {
  transform-origin: center center; /* punkt odniesienia */
  transition: var(--transition-smooth);
}

.scrolled #menuLogo {
  transform: scale(0.85);
}

.desktopMenu {
  display: none;
}

/* Navigation Links */

.nav-link {
  color: #d1d5db; /* text-gray-300 */
  padding-left: 16px; /* px-4 = 16px */
  padding-right: 16px;
  padding-top: 8px; /* py-2 = 8px */
  padding-bottom: 8px;
  border-radius: 0.375rem; /* rounded-md = 6px */
  transition: color 200ms;
  position: relative;
  overflow: hidden;
}

.nav-link :hover {
  color: #22d3ee; /* hover:text-cyan-400 */
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, rgb(6, 182, 212), rgb(99, 102, 241));
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px rgba(6, 182, 212, 0.3);
}
.containerShinyButton {
  position: relative;
  margin-left: 16px; /* ml-4 = 16px */
}

.shinyEffect {
  position: absolute;
  top: -2px; /* -inset-0.5 = -2px */
  right: -2px;
  bottom: -2px;
  left: -2px;
  background: linear-gradient(
    to right,
    rgba(79, 70, 229, 0.5),
    rgba(139, 92, 246, 0.5)
  ); /* from-indigo-600/50 to-purple-600/50 */
  border-radius: 8px; /* rounded-lg = 8px */
  filter: blur(4px); /* blur */
  opacity: 0.75;
  transition: all 500ms;
}

.containerShinyButton:hover .shinyEffect {
  opacity: 1; /* group-hover:opacity-100 */
}

/* Przycisk */
.contactBtn {
  padding-left: 16px; /* px-4 = 16px */
  padding-right: 16px;
  padding-top: 8px; /* py-2 = 8px */
  padding-bottom: 8px;
  background: linear-gradient(
    to right,
    rgba(30, 58, 138, 0.9),
    rgba(139, 92, 246, 0.9)
  ); /* from-indigo-900/90 to-purple-900/90 */
  border-radius: 8px; /* rounded-lg = 8px */
  color: #fff;
  font-size: 14px; /* text-sm */
  font-weight: 500; /* font-medium */
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* gap-2 = 8px */
  transition: all 300ms;
}

.containerShinyButton:hover .contactBtn {
  background: linear-gradient(
    to right,
    rgba(29, 78, 216, 0.9),
    rgba(124, 58, 237, 0.9)
  ); /* group-hover:from-indigo-800/90 to-purple-800/90 */
}

/* Gradientowy tekst w span */
.contactBtnText {
  background: linear-gradient(
    to right,
    #67e8f9,
    #6366f1
  ); /* from-cyan-300 to-indigo-300 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Mobile Navigation */
/* Kontener tylko na mobile (domyślnie flex, od 768px znika) */
.mobileNav {
  display: flex;
}

/* Przycisk */
.mobileNavButton {
  position: relative;
  width: 40px; /* w-10 = 40px */
  height: 40px; /* h-10 = 40px */
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}

/* Ikona burgera (kontener linii) */
.mobileNavIcon {
  position: absolute;
  width: 20px; /* w-5 = 20px */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Linie burgera */
.mobileNavLine {
  display: block;
  height: 2px; /* h-0.5 = 2px */
  width: 20px; /* w-5 = 20px */
  background-color: #22d3ee; /* bg-cyan-400 */
  transition: transform 300ms ease-in-out;
  margin-bottom: 4px; /* mb-1 = 4px */
}

.mobileNavLine:last-child {
  margin-bottom: 0;
}

/* Wewnętrzny kontener */
.mobileMenuInner {
  padding-top: 28px; /* pt-2 */
  padding-bottom: 16px; /* pb-4 */
  display: flex;
  flex-direction: column;
  gap: 4px; /* space-y-1 */
}

/* Linki nawigacji */
.mobileNavLink {
  display: block;
  color: #d1d5db; /* text-gray-300 */
  padding: 8px 16px; /* py-2 px-4 */
  border-radius: 6px; /* rounded-md */
  transition: color 200ms, background-color 200ms;
  text-decoration: none;
}

.mobileNavLink:hover {
  color: #22d3ee; /* text-cyan-400 */
  background-color: rgba(31, 41, 55, 0.5); /* bg-gray-800/50 */
}

/* Wrapper przycisku */
.mobileMenuButtonWrap {
  padding-left: 16px; /* px-4 */
  padding-right: 16px;
  padding-top: 8px; /* pt-2 */
}

/* Przycisk */
.contactBtn {
  width: 100%;
  padding: 8px 16px; /* py-2 px-4 */
  background: linear-gradient(
    to right,
    #4338ca,
    #7e22ce
  ); /* from-indigo-700 to-purple-700 */
  border-radius: 8px; /* rounded-lg */
  color: #fff;
  font-size: 14px; /* text-sm */
  font-weight: 500; /* font-medium */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* gap-2 */
  transition: background 300ms;
  border: none;
  cursor: pointer;
}

.contactBtn:hover {
  background: linear-gradient(
    to right,
    #4f46e5,
    #9333ea
  ); /* from-indigo-600 to-purple-600 */
}

/* Tekst gradientowy */
.contactBtnText {
  background: linear-gradient(
    to right,
    #67e8f9,
    #818cf8
  ); /* from-cyan-300 to-indigo-300 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#mobileMenu {
  display: block;
  height: 0;
  overflow: hidden;
  transition: all 300ms ease-in-out;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobileMenu.open {
  max-height: 300px; /* Adjust based on your menu height */
}

#mobileMenuButton {
  background: transparent;
  border: none;
  cursor: pointer;
}

/* For the hamburger animation */
#mobileMenuButton.active #line1 {
  transform: translateX(10px) translateY(8.5px) translate(-50%, -50%)
    rotate(45deg);
  transform-origin: center;
  width: 30px;
}

#mobileMenuButton.active #line2 {
  opacity: 0;
}

#mobileMenuButton.active #line3 {
  transform: translateX(10px) translateY(-3px) translate(-50%, -50%)
    rotate(-45deg);
  transform-origin: center;
  width: 30px;
}

#line1,
#line2,
#line3 {
  transition: transform 0.3s ease, opacity 0.2s ease, background-color 0.3s ease;
  transform-origin: center;
}

.contactBtn {
  position: relative;
  overflow: hidden;
}

.contactBtn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(6, 182, 212, 0.2) 45%,
    rgba(6, 182, 212, 0.4) 50%,
    rgba(6, 182, 212, 0.2) 55%,
    transparent 60%
  );
  transition: transform 0.5s ease;
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
}

.contactBtn:hover::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

@media (min-width: 768px) {
  /* Show desktop nav, hide mobile nav */
  .mobile-only {
    display: none;
  }
  .desktopMenu {
    display: flex;
    align-items: center;
    gap: 4px; /* space-x-1 = 4px */
  }
  .mobileNav {
    display: none;
  }
  #mobileMenu {
    display: none;
  }
}

@media (max-width: 767px) {
  #navbar {
    height: auto;
  }

  .nav-link::after {
    display: none;
  }
}

  .hero {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

    .hero img,
    .hero video {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      object-fit: cover;
    }

    .hero video {
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
    .hero video.active { opacity: 1; }

    /* --- Kontrolki --- */
    .controls {
      position: absolute;
      bottom: 20px;
      right: 20px;
      display: flex;
      gap: 10px;
      z-index: 5;
    }

    .btn {
      background: rgba(0,0,0,0.5);
      border: none;
      border-radius: 50%;
      padding: 10px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s;
    }
    .btn:hover { background: rgba(0,0,0,0.7); }
    .btn svg { width: 20px; height: 20px; fill: #fff; }

    /* fullscreen tylko dla mobile/tablet */
    @media (min-width: 1000px) {
      .btn-fullscreen { display: none; }
    }
footer {
  position: relative;
  overflow: hidden;
  background: var(--darker-bg);
  color: var(--text-primary);
  padding-top: 20px;
  border-top: 3px solid var(--border-glow);
}
.footerContainer {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footerBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.footerParallaxLayer {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      var(--primary-dark),
      transparent 40%
    ),
    radial-gradient(circle at 80% 70%, var(--glow-purple), transparent 40%);
  transform: translate3d(0, 0, 0);
}

.footerInner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 32px;
}

.footerCol {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footerCol_links {
  flex-direction: column;
  gap: 12px;
}
.footerCol_contactSocials {
  flex-direction: column;
}
.footerBrand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.linksGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}
.linksGrid > a {
  text-wrap: nowrap;
  word-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
  overflow: hidden;
}
.contactList {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contactItem a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.socials a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--primary);
}
.footerScale {
  transition: var(--transition-smooth);
}

.footerTransition{
    transition: var(--transition-smooth);
}

.footerScale:hover {
  transform: scale(1.1);
}

.contactList a .footerIcon {
  transition: var(--transition-smooth);
}
.contactList a:hover .footerIcon {
  transform: scale(1.1);
}
.contactList a:hover .footerIcon_stroke {
  stroke: var(--secondary);
}
.contactList a:hover .footerIcon_fill {
  fill: var(--secondary);
}
.contactList a:hover .footerSocialFragmentIcon_fill {
  fill: var(--secondary);
}
.footerBottom {
  margin-top: 20px;
  padding: 12px 20px;
  border-top: 1px solid var(--border-glow);
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
}

@media (max-width: 1028px) {
  .footerContainer {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  footer {
    padding-top: 0;
  }
  .footerBrand {
    display: flex;
  }
  .footerInner {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .footerCol {
    padding: 20px 10px;
    border-top: 1px solid var(--border-glow);
  }
  .footerCol:first-child {
    border-top: none;
  }
  .linksGrid {
    text-align: center;
  }
  .socials {
    justify-content: space-between;
  }
}

