:root {
  --color-body: #0e0f19;

  --color-blue: #524ff0;
  --color-green: #d8fb50;

  --color-blue-30: #524ff066;
  --color-green-30: #d9fb502c;
  --color-overlay-0: #0f131d00;
  --color-overlay-70: #0f131daa;

  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-warning: #ffc107;
  --color-info: #17a2b8;

  --color-dark: #3e404d;
  --color-medium: #83858c;
  --color-light: #f1f1f1;

  --shadow-regular: 8px 10px 0px 0px rgba(62, 64, 77, 0.5);
  --shadow-regular-hover: 4px 5px 10px 0px rgba(62, 64, 77, 0.2);
  --shadow-text: 1px 1px 5px rgba(0, 0, 0, 0.8);
  --transition-box-shadow: box-shadow 0.6s;

  --main-font: "Inter", sans-serif;
  --accent-font: "Epilogue", sans-serif;
}

body {
  color: var(--color-dark);
  font-family: var(--main-font);
  overflow-x: hidden;
  position: relative;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.75rem;
  padding-top: 0px;
  top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: var(--color-dark);
  margin: 0 0 0.5rem;
  padding: 0;
}

a {
  cursor: pointer !important;
}

h1 .name::before {
  content: ""; /* Niezbędne do wyświetlenia pseudoelementu */
  display: block; /* Sprawia, że pseudoelement jest blokiem */
  height: 3.5vw; /* Grubość paska, możesz dostosować według potrzeb */
  background-color: var(--color-green);
  position: absolute; /* Pozycjonowanie absolutne względem h1 */
  bottom: 0px; /* Ustalenie pozycji paska pod h1, dostosuj odległość jeśli potrzebujesz */
  left: -2vw; /* Wystawanie paska z lewej strony tekstu */
  right: -4vw; /* Wystawanie paska z prawej strony tekstu */
  z-index: -1;
}

.section-space {
  margin-bottom: 128px;
}

h1 .name {
  font-family: var(--accent-font);
  display: inline-block;
  font-size: 8vw;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 2vw;
  margin-top: 8vw;
  position: relative; /* Ustawienie pozycji względnej, aby pseudoelement był względem niego pozycjonowany */
}

h1 .title {
  color: var(--color-dark);
  display: inline-block;
  font-family: var(--accent-font);
  font-size: 3vw;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 3vw;
  margin-top: 0px;
  text-transform: uppercase;
}

h2 {
  color: var(--color-dark);
  font-family: var(--accent-font);
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
}

h2::before {
  content: "#";
  color: var(--color-blue);
  font-family: var(--accent-font);
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-110%);
}

h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 800;
}

/* Responsive styles for small devices */
@media (max-width: 768px) {
  h2 {
    position: static;
  }

  h2::before {
    position: static;
    padding-right: 4px;
  }
}

.sticky-top {
  top: 0;
  z-index: 1020;
}

.navbar {
  background-color: var(--color-blue);
  transition: background-color 0.6s ease; /* Smooth transition for the background color change */
  z-index: 100000000;
  margin-top: 0;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 2rem 0;
  gap: 1rem;
}

.social-icons-widget-area {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 2rem 0;
}

.social-icons-widget-area figure {
  margin: 0;
  padding: 0 14px 0;
}

.social-icons-widget-area img {
  box-shadow: none;
  transition: box-shadow 0.3s ease;
  width: 300px;
}

.social-icons-widget-area img:hover {
  border-radius: 8px;
  box-shadow: var(--shadow-regular);
}

.navbar-nav a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  padding: 14px;
  position: relative;
  transition: color 0.6s ease;
}

.navbar-nav a:hover {
  color: var(--color-dark);
}

.navbar-nav a::before {
  content: "";
  display: block;
  height: 0;
  background-color: var(--color-green);
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: -1;
  width: 100%;
  transition: height 0.3s ease;
  box-shadow: var(--shadow-regular);
}

.navbar-nav a:hover::before {
  width: 100%;
  height: 30px;
}

@media (min-width: 991px) {
  .social-icons-widget-area,
  .navbar-nav {
    margin: 0;
    gap: 0;
  }
  .navbar-collapse {
    gap: 1rem;
  }
  .navbar-nav a {
    font-size: 1.1rem;
  }
  .social-icons-widget-area img {
    width: auto;
  }
}
.custom-logo {
  height: 50px;
  padding: 4px;
}

.page-banner {
  top: 0;
  display: flex;
  height: 100dvh;
  position: relative;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  overflow: hidden;
}

.page-banner .parallax-image {
  position: absolute;
  top: 2%; /* Moved the image down by 10% */
  right: 0;
  bottom: 0;
  left: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; /* Changed from center to top */
  backface-visibility: hidden;
  will-change: transform;
  max-width: 90%;
  margin: auto;
}

.page-banner .parallax-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    255,
    255,
    255,
    0.9
  ); /* Biały overlay z 20% przezroczystością */
  z-index: 1;
}

.overlay-text {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
}

.banner-content {
  z-index: 1;
}

.overlay-text .btn-holder {
  display: block;
  justify-content: center; /* Wyśrodkowanie w poziomie */
  align-items: center; /* Wyśrodkowanie w pionie (opcjonalne) */
  margin: auto;
}

/* BUTTON */
::before,
::after {
  position: absolute;
  content: "";
}

.btn-holder {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  max-width: 1000px;
  margin: 0;
}

.btn {
  position: relative;
  display: inline-block;
  width: auto;
  height: auto;
  background-color: transparent;
  border: none;
  cursor: pointer;
  min-width: 150px;
}

.btn span {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 20px;
  transition: 0.6s;
}

.btn-3 {
  padding: 5px;
}
.btn-3 span {
  color: var(--color-blue);
  background-color: #fff;
}
.btn-3::before,
.btn-3::after {
  background: transparent;
  z-index: 2;
}

.btn-dark-3 {
  padding: 5px;
}
.btn-dark-3 span {
  color: #fff;
  background-color: var(--color-blue);
}
.btn-dark-3::before,
.btn-dark-3::after {
  background: transparent;
  z-index: 2;
}

.btn.dark-hover-border-2::before,
.btn.dark-hover-border-2::after {
  width: 10%;
  height: 25%;
  transition: 0.35s;
}

.btn.dark-hover-border-2::before {
  bottom: 0;
  left: 0;
  border-left: 4px solid var(--color-blue);
  border-bottom: 4px solid var(--color-blue);
}

.btn.dark-hover-border-2::after {
  top: 0;
  right: 0;
  border-right: 4px solid var(--color-blue);
  border-top: 4px solid var(--color-blue);
}

.btn.dark-hover-border-2:hover::before,
.btn.dark-hover-border-2:hover::after {
  width: 99%;
  height: 99%;
}

/* 12. hover-border-2 */
.btn.hover-border-2::before,
.btn.hover-border-2::after {
  width: 10%;
  height: 25%;
  transition: 0.35s;
}

.btn.hover-border-2::before {
  bottom: 0;
  left: 0;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
}

.btn.hover-border-2::after {
  top: 0;
  right: 0;
  border-right: 4px solid #fff;
  border-top: 4px solid #fff;
}

.btn.hover-border-2:hover::before,
.btn.hover-border-2:hover::after {
  width: 99%;
  height: 99%;
}

.padding-0 {
  padding: 0;
}

.centered-row {
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.bg-label-dark {
  background-color: var(--color-dark);
}

.btn.holder.s-screen {
  display: none;
}

@media (max-width: 991px) {
  .btn-holder.l-screnn {
    display: none;
  }
  .btn.holder.s-screen {
    display: flex;
  }
}

.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 5;
}

/* Portfolio Section – grid layout */

.portfolio-section,
.featured-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 20px;
}

/* Project Card */
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  cursor: pointer;

  /* Animacja wjazdu (IntersectionObserver) */
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.project-card.animate {
  transform: scale(1);
  opacity: 1;
}

/* Obraz projektu */

.project-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 425px;
  box-shadow: var(--shadow-regular);
  transition: box-shadow 0.6s ease;
}

.project-card:hover .project-image,
.project-card:hover .project-label {
  box-shadow: var(--shadow-regular-hover);
}

.project-img {
  transform: scale(1);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: transform 0.6s, opacity 0.6s;
}

/* Zmniejszenie opacity obrazu przy hoverze */
.project-card:hover .project-img {
  transform: scale(1.2);
  opacity: 0.4;
}

/* Overlay – domyślnie niewidoczny, z blend mode */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  mix-blend-mode: multiply;
  transition: background-color 0.6s;
  z-index: 2;
  border-radius: 20px;
}

/* Na hover – overlay z zielonym kolorem (multiply) */
.project-card:hover .overlay {
  background-color: var(--color-green);
}

/* Read More Button – chcemy, aby przycisk wyglądał normalnie, więc wyłączamy blend mode */
.portfolio-section .btn-holder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
  transition: opacity 0.6s;
  z-index: 6;
  opacity: 0;
}

/* Przy hover – przycisk staje się widoczny */
.project-card:hover .btn-holder {
  opacity: 1;
}

@media (max-width: 991px) {
  .project-card .btn-holder {
    opacity: 1;
  }
}

/* Project Label – informacyjny element w lewym górnym rogu */
.project-label {
  min-height: 146px;
  background: var(--color-dark);
  border-radius: 20px;
  border: 4px solid var(--color-light);
  margin: -40px 20px 0;
  padding: 20px;
  transition: transform 0.9s ease, opacity 0.6s ease, box-shadow 0.6s ease;
  transform: translate(0, -250px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  opacity: 0;
  box-shadow: var(--shadow-regular);
  overflow-y: hidden;
}

.project-label.animate {
  transform: translate(0, 0);
  opacity: 1;
}

.project-label h3 {
  color: var(--color-green);
  margin: 0;
}

.project-label .cat::before {
  position: absolute;
  left: 0px;
  content: "#";
  display: inline-block;
  color: var(--color-blue);
  font-size: 1.5rem;
  font-weight: 900;
}

.project-label .cat {
  position: relative;
  padding-left: 20px;
  color: #fff;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 700;
}

.project-label p {
  color: #fff;
  margin: 0;
}

.featured-section .project-label div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-section.btn-holder {
  padding: 10px 0 0;
}

.featured-section::after,
.portfolio-section::after {
  position: absolute;
  content: "";
  top: -20px;
  right: -40px;
  bottom: -30px;
  /* width: 120px; */
  border-radius: 20px;
}

.featured-section::after {
  background: var(--color-green);
}

.portfolio-section::after {
  left: -40px;
  right: unset;
  background: var(--color-light);
}

@media (min-width: 992px) {
  .portfolio-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .featured-section .project-card {
    flex-direction: row;
    height: 425px;
  }
  .featured-section .project-image {
    width: 50%;
  }
  .featured-section .project-label {
    max-height: 385px;
    width: calc(50% - 40px);
    margin: 20px 0 20px -40px;
    height: 100%;
    justify-content: space-between;
  }
  .featured-section .btn-holder {
    justify-self: flex-end;
    margin-bottom: 10px;
  }
  .featured-section::after,
  .portfolio-section::after {
    width: 150px;
  }
}

.category-label {
  min-height: 106px !important;
}

/* Testimonials */
.testimonials-section {
  background: var(--color-green);
}

.relative-testimonial {
  position: relative;
  padding-right: 212px;
}

.testimonials-section h3 {
  transform: translate(50px, 0);
  opacity: 0;
  color: var(--color-blue);
  text-transform: uppercase;
  font-weight: 800;
  transition: transform 0.6s ease, opacity 0.6s ease;
  margin-bottom: 1rem;
}

.testimonials-section h3.animate {
  transform: translate(0, 0);
  opacity: 1;
}

/* Kontener dla testimonial items */
.testimonial-block {
  position: relative;
  min-height: 210px; /* lub dostosuj według zawartości */
  overflow: hidden;
}

/* Każdy testimonial-item – domyślnie ukryty */
.testimonial-item {
  scale: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  translate: 100%;
  transition: translate 0.6s ease, opacity 0.6s ease, scale 0.6s ease;
}

.testimonial-item p {
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.testimonial-item h5 {
  color: var(--color-dark);
  text-transform: uppercase;
  font-weight: 800;
}

.testimonial-item h6 {
  color: var(--color-dark);
}

/* Wyświetlamy aktywny element */
.testimonial-item.active {
  scale: 1;
  opacity: 1;
  translate: 0;
}

/* Klasa do animacji wychodzenia w lewo */
.testimonial-item.slide-out-left {
  scale: 0.8;
  opacity: 0;
  translate: -100%;
}

.testimonials-me {
  transform: translate(100px, 0);
  opacity: 0;
  scale: 1.2;
  filter: grayscale(100%);
  display: block;
  position: absolute;
  right: 0;
  top: -64px;
  bottom: -64px;
  width: 179px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  transition: transform 0.6s ease, scale 0.6s ease, filter 0.6s ease,
    opacity 0.6s ease;
}

.testimonials-me.animate {
  transform: translate(0, 0);
  scale: 1;
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 767px) {
  .testimonials-me {
    display: none;
  }
  .relative-testimonial {
    padding-right: 12px;
  }
  .testimonial-block {
    min-height: 380px;
  }
  .testimonials-section h3 {
    transform: translate(0, 0);
  }
}

/* Kontener sekcji usług */
.services-block {
  display: grid; /* Użycie CSS Grid */
  grid-template-columns: repeat(
    auto-fit,
    minmax(400px, 1fr)
  ); /* Dynamiczna liczba kolumn */
  gap: 20px; /* Równe odstępy między kartami */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Styl dla pojedynczej karty */

.service-card {
  transform: scale(0.7);
  opacity: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-radius: 20px;
  border: 5px solid var(--color-light);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-regular);
  padding: 48px;
  min-height: 300px;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out,
    box-shadow 0.6s ease;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow-regular-hover);
}

.service-card.animate {
  transform: scale(1);
  opacity: 1;
}

.service-card h3 {
  transform: translate(50px, 0);
  color: var(--color-blue);
  transition: transform 0.9s ease-out;
}

.service-card h3.animate {
  transform: translate(0, 0);
}

.owner-bio {
  flex: 1; /* Rozciągnięcie opisu, aby zajmował całą dostępną przestrzeń */
  text-align: left; /* Opcjonalnie dostosowanie wyrównania */
  margin-bottom: 20px; /* Odstęp między treścią a przyciskiem */
}

.service-card .btn-holder {
  display: block;
  justify-content: center; /* Wyśrodkowanie w poziomie */
  align-items: center; /* Wyśrodkowanie w pionie (opcjonalne) */
  margin: auto;
}

.service-card .btn-holder {
  display: flex;
  justify-content: center; /* Wyśrodkowanie poziome przycisku */
  width: 100%; /* Szerokość dopasowana do kontenera */
}

.about-card {
  display: flex;
  flex-direction: column; /* Ustawienie zawartości w kolumnie */
  justify-content: space-between; /* Ustawienie przycisku na dole */
  align-items: center; /* Wyśrodkowanie poziome */
  position: relative; /* Pozycjonowanie elementów wewnętrznych */
  border-radius: 20px;
  border: 5px solid var(--color-light);
  background-color: #fff;
  box-shadow: var(--shadow-regular);
  padding: 210px 48px 32px; /* Odstęp wewnętrzny */
  min-height: 300px; /* Zapewnienie minimalnej wysokości */
  transition: box-shadow 0.6s;
  position: relative;
}

.about-card .about-card:hover {
  box-shadow: var(--shadow-regular-hover);
}

.about-content {
  padding: 0;
}

.about-content p {
  padding: 0;
  margin: 0;
}

.about-card .experience-label {
  background-color: var(--color-green);
  position: absolute;
  top: 32px;
  left: -32px;
  right: -32px;
  display: flex;
  height: 150px;
  padding: 10px 72px;
  justify-content: center;
  gap: 12px;
}

.experience-label h3 {
  font-family: var(--accent-font);
  margin: 0 10px 10px 0;
  font-size: 128px;
  font-weight: 700;
  line-height: 5.5rem;
  align-self: flex-end;
}

.experience-label p {
  font-family: var(--accent-font);
  font-size: 32px;
  font-weight: 400;
  line-height: 3rem;
  align-self: center;
  width: 210px;
}

@media (max-width: 767px) {
  .about-card .experience-label {
    left: -16px;
    right: -16px;
  }
}

.about-section img {
  opacity: 0.8;
  transform: scale(0.5);
  filter: grayscale(100%);
  transition: opacity 0.6s ease-out, transform 0.9s ease-out,
    filter 0.6s ease-out;
  margin-bottom: 48px;
  mask: linear-gradient(180deg, #fff 5%, #fff 80%, transparent);
  -webkit-mask: linear-gradient(180deg, #fff 5%, #fff 80%, transparent);
}

.about-section img.animate {
  transform: scale(1);
  opacity: 1;
  filter: grayscale(0%);
}

.btn .btn-icon {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
}

.scroller {
  max-width: 100%;
  background-color: var(--color-green);
}

.scroller_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10rem;
}

.scroller[data-animated="true"] {
  overflow: hidden;
  mask: linear-gradient(90deg, transparent, #fff 5%, #fff 95%, transparent);
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    #fff 5%,
    #fff 95%,
    transparent
  );
}

.scroller[data-animated="true"] .scroller_inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll 60s linear infinite;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 5rem));
  }
}

.tag-list {
  margin: 0;
  padding-inline: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.5rem;
  text-transform: uppercase;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  padding: 0;
}

.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.contact-image {
  flex: 1 1 50%;
  display: flex;
  justify-content: end;
  align-items: center;
}

.contact-content {
  flex: 1 1 50%;
}

@media (max-width: 767px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .contact-image,
  .contact-content {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.contact-section img {
  max-height: 360px;
  opacity: 0.8;
  transform: scale(2);
  filter: grayscale(100%);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

.contact-section img.animate {
  transform: scale(1);
  opacity: 1;
  filter: grayscale(0%);
}

.contact-card a {
  text-decoration: none;
  color: var(--color-blue);
  font-weight: 800;
  position: relative;
  transition: color 0.6s ease;
}

.contact-card a:hover {
  color: var(--color-dark);
}

.contact-card a::before {
  content: "";
  display: block;
  height: 13px;
  background-color: var(--color-green);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 0;
  transition: width 0.3s ease;
}

.contact-card a:hover::before {
  width: 100%;
}

/* Social Icons Menu */
.social-icons ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.social-icons ul li {
  display: inline-block;
  margin-right: 15px;
}

.social-icons ul li a {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 800;
  position: relative;
}

.social-icons ul li a::before {
  content: "";
  display: block;
  height: 24px;
  background-color: var(--color-green);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 0;
  transition: width 0.3s ease;
}

.social-icons ul li a:hover::before {
  width: 100%;
}

@media (max-width: 767px) {
  .contact-block {
    padding: 0;
  }
  .social-icons ul {
    flex-direction: column;
    gap: 5px;
  }
}

.footer {
  width: 100%;
}

.footer-copyright {
  background: var(--color-light);
  padding: 16px 0;
  text-align: center;
  font-size: 1rem;
}

/* Project Page */

.project-banner {
  top: 0;
  display: flex;
  height: 66dvh;
  position: relative;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  overflow: hidden;
}

.project-banner .parallax-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; /* Changed from center to top */
  backface-visibility: hidden;
  will-change: transform;
  max-width: 100%;
  margin: auto;
}

.project-banner .parallax-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    255,
    255,
    255,
    0.2
  ); /* Biały overlay z 10% przezroczystością */
  z-index: 1;
}

.project-title {
  margin-bottom: 2vw;
  margin-top: 8vw;
}

.project-title h1 {
  display: inline;
  font-size: 6rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--color-green);
  background-size: 100% 2em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 20px;
}

.project-title h1::before {
  display: none;
}

.project-block h3 {
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.project-block h3::before {
  display: none;
}

.project-block ul {
  margin-bottom: 0.25rem;
}

.project-block p {
  margin: 0 0 0.25rem;
}

.project-block hr {
  height: 2px;
  background-color: var(--color-blue);
  border-color: var(--color-blue);
  margin: 3rem 0 1.5rem;
}

/* Styl dla pojedynczej karty */
.details-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  border: 5px solid var(--color-light);
  background-color: #fff;
  box-shadow: var(--shadow-regular);
  padding: 24px;
  transition: box-shadow 0.6s;
  color: #fff;
}

.details-card:hover {
  box-shadow: var(--shadow-regular-hover);
}

.details-card h3 {
  color: var(--color-blue);
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.details-card p {
  color: var(--color-dark);
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 2.25rem;
}

/* Styl dla treści (np. obrazki wewnątrz treści) */
.content img {
  border-radius: 20px;
  border: 5px solid var(--color-light);
  opacity: 1;
}

@media (max-width: 991px) {
  .project-banner h1 {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .project-banner h1 {
    font-size: 2.5rem;
  }
}

#fancybox-outer,
#fancybox-content,
#fancybox-wrap {
  border-radius: 30px !important;
  border: none !important;
}

#fancybox-content {
  padding: 10px;
}

.fancy-ico span {
  background: var(--color-dark) !important;
  border: 2px solid var(--color-dark) !important;
}

video {
  width: 100% !important;
}

/*
#fancybox-close span::after,
#fancybox-close span::before {
  background: #fff !important;
  top: 12px !important;
  left: 0 !important;
  width: 24px !important;
  height: 2px !important;
  box-shadow: 0 0 10px 1px var(--color-dark) !important;
}

#fancybox-prev span::after,
#fancybox-next span::after {
  box-shadow: 0 0 10px 1px var(--color-dark) !important;
  border-top: 4px solid #fff !important;
  border-bottom: 4px solid #fff !important;
  width: 24px !important;
  height: 24px !important;
} */

.next-project a,
.prev-project a {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: var(--color-blue);
  font-size: 1.5rem;
  font-weight: 800;
  position: relative;
  transition: color 0.6s ease;
}

.next-project a:hover,
.prev-project a:hover {
  color: var(--color-dark);
}

.next-project a::before,
.prev-project a::before {
  content: "";
  display: block;
  height: 13px;
  background-color: var(--color-green);
  position: absolute;
  bottom: 0;
  z-index: -1;
  width: 0;
  transition: width 0.6s ease;
}

.next-project a::before {
  left: 0;
}

.prev-project a::before {
  right: 0;
}

.next-project a:hover::before,
.prev-project a:hover::before {
  width: 100%;
}

.prev-project a i::before,
.next-project a i::before {
  position: relative;
}

/* Navbar & Mobile Menu Styles */
.navbar-toggler.hamburger {
  border: none;
  background: transparent;
  padding: 0.25rem;
  z-index: 1050;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 30px;
  height: 3px;
  margin: 4px 0;
  background-color: #fff;
  transition: all 0.3s ease;
}

/* Hamburger Animation */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.navbar-collapse {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100dvh;
  background-color: var(--color-blue);
  padding-top: 80px;
  transition: transform 0.3s ease-in-out;
  z-index: 1040;
}

.navbar-collapse.show {
  transform: translateX(-100vw);
}

.navbar-collapse .custom-logo-link,
.navbar-collapse h2 {
  display: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .custom-ligo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin-bottom: auto;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    margin: auto;
    padding: 2rem;
    gap: 1.5rem;
  }

  .navbar-collapse {
    padding: 8px;
  }

  .social-icons-widget-area {
    margin-top: auto;
    padding: 0;
  }
  .navbar-collapse .custom-logo-link {
    display: block;
    margin-bottom: 2rem;
  }
  .navbar-collapse .custom-logo {
    height: 80px;
  }
  .navbar-collapse h2 {
    display: block;
    color: var(--color-green);
    margin: 0;
  }
  .navbar-nav a {
    text-transform: uppercase;
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .navbar-collapse {
    position: static;
    height: auto;
    background: none;
    transform: none;
    padding: 0;
    width: auto;
    display: flex !important;
    flex-direction: row;
  }

  .navbar-toggler.hamburger {
    display: none;
  }
}

.no-scroll {
  overflow: hidden;
}

/* * {
  outline: 1px solid red;
  opacity: 1;
} */
