/* body */
body {
  background-color: #151515;
  background-image: url(/images/bg/dark-fish-skin.png);
  background-repeat: repeat;
  background-size: inherit;
  background-attachment: fixed;
  background-position: 0 0;
}
#sp-header.header-sticky {
  position:fixed;
  z-index:9999;
  top:0;
  left:0;
  width:100%;
  animation:spFadeInDown .5s;
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  background-color:#000000d3
  }
#sp-top-bar {
  position:relative;
  background:linear-gradient(135deg,#222222 0%,#34495e 100%)!important;
  padding:5px 20px;
  overflow:hidden
  }
  
  #sp-top-bar::before {
  content:"";
  position:absolute;
  top:0;
  right:-10%;
  width:60%;
  height:100%;
  background:#ffffff1a!important;
  transform:skewX(35deg)
  }
  /* Nagłówek z fontem Bebas Neue i pionową pomarańczową kreską po prawej (odstęp 4px) */
  .module-title {
    font-family: 'Bebas Neue', sans-serif;
    position: relative;
    padding-right: 12px; /* dodatkowa przestrzeń na kreskę + odstęp */
  }

  .module-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -14px;
    width: 2px;
    height: 100%;
    background-color: #ff6600;
  }
/* skos */
.clip {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.clip-arrow{
  clip-path: polygon(75% 0, 100% 50%, 75% 100%, 0 100%, 25% 50%, 0 0);
}
/* animation lines */
.bg-lines {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px #0000001a;
  background-image: linear-gradient(
    45deg,
    #fcfcfce6 0%,
    #fcfcfce6 25%,
    #f5f5f5e6 25%,
    #f5f5f5e6 50%,
    #fcfcfce6 50%,
    #fcfcfce6 75%,
    #f5f5f5e6 75%,
    #f5f5f5e6 100%
  );
  background-size: 60px 60px;
  animation: moveStripes 3s linear infinite;
  position: relative;
}
/* buttons */
#btn-1741540771564 {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 0px;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;

  z-index: 1;
}

/* Efekt fali po kliknięciu */
#btn-1741540771564::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 123, 0, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
  z-index: -1;
}

#btn-1741540771564:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

#btn-1741540771564::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
  z-index: -1;
}

#btn-1741540771564:hover {
  background-color: #ff8c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#btn-1741540771564:hover::before {
  left: 100%;
}

#btn-1741540771564:active {
  background-color: #e67e00;
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }

  20% {
    transform: scale(25, 25);
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

/* effects */
.zoom {
  transition: transform 0.3s ease;
  overflow: hidden;
  display: inline-block;
}

.zoom:hover {
  transform: scale(1.05);
}

.pulse {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

/* header */
#sp-header {
  height: 70px;
  width: 100%;
  position: relative;
  z-index: 99;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
  animation: spFadeIn 0.5s;
  background-color: #000000;
}

/* logo */
.header-sticky .logo img {
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
}

/* header contact */
.sp-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.sp-contact-info li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 15px;
  transition: transform 0.2s ease;
}

.sp-contact-info li:hover {
  transform: translateY(-2px);
}

.sp-contact-info a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sp-contact-info a:hover {
  color: #ff6600;
}

/* Style dla ikon */
.fas,
.far {
  color: #ff6600;
}

.sp-contact-phone .fas {
  animation: ringPhone 1.5s ease infinite;
  transform-origin: 50% 0%;
}

@keyframes ringPhone {
  0% {
    transform: rotate(0);
  }

  5% {
    transform: rotate(15deg);
  }

  10% {
    transform: rotate(-15deg);
  }

  15% {
    transform: rotate(10deg);
  }

  20% {
    transform: rotate(-10deg);
  }

  25% {
    transform: rotate(5deg);
  }

  30% {
    transform: rotate(-5deg);
  }

  35% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(0);
  }
}

/* Responsywność */
@media (max-width: 768px) {
  .sp-contact-info {
    justify-content: center;
    gap: 15px;
  }

  .text-lg-end {
    text-align: center !important;
  }
}
/* vmenu */

.vmenu {

  color:#ecf0f1;
  padding:5px 0;
  box-shadow:2px 0 10px #0000001a
  }
  
  .vmenu ul {
  list-style:none;
  padding:0;
  margin:0
  }
  
  .vmenu li {
  position:relative;
  margin:0;
  perspective:800px
  }
  
  .vmenu a {
  color:#ecf0f1;
  text-decoration:none;
  padding:4px 10px 4px 15px;
  display:block;
  transition:all .3s ease;
  font-size:15px;
  border-bottom:1px solid #ffffff0d;
  position:relative;
  transform-origin:left center
  }
  
  .vmenu a::after {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:3px;
  height:0;
  background-color:#e74c3c;
  transition:height .3s ease
  }
  
  .vmenu a:hover::after {
  height:100%;
  animation:borderGrow .3s ease-out forwards
  }
  
  @keyframes borderGrow {
  0% {
  height:0;
  top:50%
  }
  
  50% {
  height:50%;
  top:25%
  }
  
  100% {
  height:100%;
  top:0
  }
  }
  
  .vmenu a::before {
  content:"›";
  position:absolute;
  left:6px;
  opacity:.7;
  font-size:14px;
  transition:all .3s ease
  }
  
  .vmenu a:hover::before {
  opacity:1;
  transform:translateX(2px);
  color:#e74c3c
  }
  
  @keyframes tiltRight {
  0% {
  transform:translateX(0) rotate3d(0,1,0,0deg)
  }
  
  50% {
  transform:translateX(3px) rotate3d(0,1,0,2deg)
  }
  
  100% {
  transform:translateX(0) rotate3d(0,1,0,0deg)
  }
  }
  
  .vmenu a:hover {
  animation:tiltRight .8s ease-in-out;
  background-color:#ffffff0d
  }
  
  .vmenu a.active {
  background-color:#e74c3c33;
  font-weight:500
  }
  
  .vmenu a.active::after {
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:3px;
  height:100%;
  background-color:#e74c3c
  }
  
  .vmenu a.active::before {
  opacity:1;
  color:#e74c3c
  }
  
  .vmenu i {
  width:24px;
  margin-right:8px;
  text-align:center;
  font-size:16px;
  margin-left:10px
  }
  
  .vmenu li:hover .submenu {
  max-height:500px
  }
  
  .vmenu .submenu {
  padding-left:15px;
  max-height:0;
  overflow:hidden;
  transition:max-height .3s ease;
  background-color:#00000026
  }
  
  .vmenu .submenu a {
  padding:6px 20px 6px 35px;
  font-size:14px;
  color:#fffc
  }
  
  .vmenu .submenu a::before {
  left:20px;
  font-size:12px
  }
  
  .vmenu .has-submenu:after {
  content:"▾";
  position:absolute;
  right:20px;
  top:8px;
  transition:transform .3s ease
  }
  
  .vmenu li:hover .has-submenu:after {
  transform:rotate(180deg)
  }
/* top menu */
:root {
  --primary-color: #ff8c00;
  --secondary-color: #000000af;
  --border-color: #404040;
  --background-color: #000000;
  --text-color: #e0e0e0;
  --transition-speed: 0.3s;
  --spring-transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#sp-menu > .sp-column,
#sp-menu .sp-megamenu-wrapper {
  justify-content: flex-start !important;
}

.sp-megamenu-parent {
  display: flex;
  justify-content: center;
  list-style-type: none;
  margin: 0;
  padding: 0;

}

.sp-megamenu-parent > li {
  position: relative;
  margin: 0 10px;
  padding: 0 5px;
}

/* Dodajemy separator pionowy między elementami głównego menu */
.sp-megamenu-parent > li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  height: 16px;
  width: 1px;
  background-color: var(--border-color);
  opacity: 0.7;
  transition: transform var(--transition-speed) ease,
    background-color var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease,
    opacity var(--transition-speed) ease;
}

/* Dodatkowe style dla ukośnego separatora przy hover */
.sp-megamenu-parent > li:hover:not(:last-child)::after,
.sp-megamenu-parent > li.active:not(:last-child)::after {
  background-color: var(--primary-color);
  box-shadow: 0 0 3px rgba(224, 123, 0, 0.5);
  opacity: 1;
  transform: translateY(-50%) rotate(30deg) scaleY(1.2);
}

.sp-megamenu-parent > li > a {
  text-decoration: none;
  padding: 0 4px;
  display: inline-block;
  color: var(--text-color);
  transition: color var(--transition-speed) ease;
}

.sp-megamenu-parent > li::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform var(--spring-transition);
  transform-origin: center;
}

.sp-megamenu-parent > li:hover::before {
  transform: scaleX(1);
}

.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a {
  font-weight: 700;
  color: var(--primary-color);
}

.sp-megamenu-parent > li.sp-has-child > a::after {
  content: "\1F892";
  font-size: 5px;
  margin-left: 10px;
  opacity: 0.7;
  transition: transform var(--spring-transition);
}

.sp-megamenu-parent > li.sp-has-child:hover > a::after {
  transform: rotate(180deg);
}

.sp-megamenu-parent .sp-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  display: none;
  transform-origin: top center;
}

.sp-megamenu-parent > li:hover .sp-dropdown {
  display: block;
}

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background-color: var(--background-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  padding: 8px;
  border: 1px solid var(--border-color);
  border-bottom: 2px solid var(--primary-color);
  margin-top: 15px;
  border-radius: 4px;
  animation: springDropDown 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item {
  position: relative;
  opacity: 0;
  transform: translateY(-10px);
  animation: springItemsIn 0.4s forwards;
  animation-delay: calc(0.05s * var(--item-index, 0));
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
  display: block;
  padding: 15px 15px 8px 45px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-color);
  transition: all var(--spring-transition);
  position: relative;
  border-bottom: 1px solid var(--border-color);
  background-color: transparent;
  z-index: 2;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a::before {
  content: "\1F892";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--spring-transition), color 0.6s ease;
  z-index: 3;
  color: var(--text-color);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: var(--secondary-color);
  transition: width 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  z-index: 1;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a {
  color: var(--primary-color);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a::before {
  transform: translateX(5px) translateY(-50%);
  color: var(--primary-color);
  animation: arrowBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover::after {
  width: 100%;
}

@keyframes springDropDown {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }

  70% {
    transform: scaleY(1.1);
    opacity: 1;
  }

  85% {
    transform: scaleY(0.95);
  }

  100% {
    transform: scaleY(1);
  }
}

@keyframes springItemsIn {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }

  70% {
    opacity: 1;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arrowBounce {
  0% {
    transform: translateX(0) translateY(-50%);
  }

  50% {
    transform: translateX(10px) translateY(-50%);
  }

  75% {
    transform: translateX(3px) translateY(-50%);
  }

  100% {
    transform: translateX(5px) translateY(-50%);
  }
}

@keyframes borderFade {
  from {
    border-bottom-color: var(--border-color);
  }

  to {
    border-bottom-color: var(--primary-color);
  }
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover > a {
  animation: borderFade var(--transition-speed) ease forwards;
}

@media (max-width: 1024px) {
  .sp-megamenu-parent li a {
    font-size: 1rem;
  }
}

/* offcanvas */
.offcanvas-active .burger-icon > span,
#modal-menu-toggler.active .burger-icon > span {
  background-color: #ffffff;
}

.offcanvas-menu {
  background-color: #070707cc;
}

#offcanvas-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  background-color: #383838d7;
  clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
  box-shadow: 0 2px 3px #ffffff1a;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  outline: none;
}

#offcanvas-toggler:hover {
  background-color: #f39c12;
  transform: scale(1.05);
}

#offcanvas-toggler .burger-icon {
  width: 16px;
  height: 13px;
  position: relative;
  margin: 0 auto;
}

#offcanvas-toggler .burger-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
  right: 0;
  margin: 0 auto;
}

#offcanvas-toggler .burger-icon span:nth-child(1) {
  top: 0;
}

#offcanvas-toggler .burger-icon span:nth-child(2) {
  top: 5.5px;
}

#offcanvas-toggler .burger-icon span:nth-child(3) {
  top: 11px;
}

#offcanvas-toggler:focus .burger-icon span:nth-child(1) {
  top: 5.5px;
  transform: rotate(45deg);
}

#offcanvas-toggler:focus .burger-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-16px);
}

#offcanvas-toggler:focus .burger-icon span:nth-child(3) {
  top: 5.5px;
  transform: rotate(-45deg);
}

.offcanvas-menu .offcanvas-inner ul.menu {
  position: relative;
  padding: 0.25rem 0;
}

.offcanvas-menu .offcanvas-inner ul.menu::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #1a2533;
}

.offcanvas-menu .offcanvas-inner ul.menu > li {
  position: relative;
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > div {
  display: block;
  padding: 0.5rem 1rem;
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu > li:hover > a,
.offcanvas-menu .offcanvas-inner ul.menu > li:hover > div,
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a {
  color: #f39c12;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.offcanvas-menu
  .offcanvas-inner
  ul.menu
  > li.menu-parent
  > div
  > span:last-child {
  color: #adb5bd;
}

.offcanvas-menu .offcanvas-inner ul.menu > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #f39c12;
  transform: scaleY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offcanvas-menu .offcanvas-inner ul.menu > li:hover::before,
.offcanvas-menu .offcanvas-inner ul.menu > li.active::before {
  transform: scaleY(1);
}

.offcanvas-menu .offcanvas-inner ul.menu ul {
  display: none;
  padding-left: 1rem;
  background-color: #1e2429;
  transition: all 0.3s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent:hover > ul,
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent:focus-within > ul {
  display: block;
  animation: slideDown 0.3s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li {
  position: relative;
  padding-left: 12px;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li > a {
  display: block;
  padding: 0.25rem 0.5rem;
  color: #bdbdbd;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li:hover > a {
  color: #f39c12;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  font-size: 0.8em;
  transition: color 0.3s ease-in-out;
}

.offcanvas-menu .offcanvas-inner ul.menu ul > li:hover::before {
  color: #f39c12;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* slideshow */
/* Równoległobok z niepochylonym tekstem */
@keyframes skewAnimation {
  0% {
    transform: skew(0deg);
  }

  100% {
    transform: skew(-20deg);
  }
}

@keyframes bgAnimation {
  0% {
    background-color: transparent;
  }

  100% {
    background-color: #000000;
  }
}

.parallelogram-text-fix {
  background-color: transparent;
  transform: skew(0deg);
  /* Initial state */
  animation: skewAnimation 0.5s forwards, bgAnimation 0.5s forwards;
  animation-delay: 3s;
  /* Start after 3 seconds */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  padding-left: 15px;
  padding-right: 15px;
}

/* Fix for text inside parallelogram */
.parallelogram-text-fix {
  transform: skew(0deg);
  display: inline-block;
}

/* boxy */
/* box movie animated icon */
.box-dark {
  width: 100%;
  background: linear-gradient(
    to bottom,
    #333333 0%,
    #222222 35%,
    #222222 70%,
    #222222 100%
  );
  padding: 20px;
  border: 1px solid #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
  position: relative;
  overflow: hidden; /* Changed back to hidden to prevent content from being covered */

}
.box-dark::before {
  pointer-events: none;
}


/* Diagonal stripes that fade toward bottom */
.box-dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: repeating-linear-gradient(
    45deg,
    rgba(70, 70, 70, 0.6),
    rgba(70, 70, 70, 0.6) 25.5px,
    rgba(55, 55, 55, 0.7) 25.5px,
    rgba(55, 55, 55, 0.7) 51px
  );
  /* Fade out gradient overlay */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}




/* box-purple, green,  ornage, blue */
.box-blue {
  background: linear-gradient(
    to bottom,
    #208191 0%,
    #157787 35%,
    #222222 70%,
    #222222 100%
  );
  padding: 20px;
  border: 1px solid #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Diagonal stripes that fade toward bottom */
.box-blue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: repeating-linear-gradient(
    45deg,
    rgba(32, 129, 145, 0.6),
    rgba(32, 129, 145, 0.6) 25.5px,
    rgba(21, 119, 135, 0.7) 25.5px,
    rgba(21, 119, 135, 0.7) 51px
  );
  /* Fade out gradient overlay */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}
.box-orange {
  background: linear-gradient(
    to bottom,
    #ff7f00 0%,
    #e65c00 35%,
    #b34700 70%,
    #662900 100%
  );
  padding: 10px;
  border-radius: 5px;

  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Diagonal stripes that fade toward bottom */
.box-orange::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 153, 51, 0.7),
    rgba(255, 153, 51, 0.7) 25.5px,
    rgba(255, 128, 0, 0.8) 25.5px,
    rgba(255, 128, 0, 0.8) 51px
  );
  /* Fade out gradient overlay */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

/* orange */
.box-green {
  background: linear-gradient(
    to bottom,
    #8cc63f 0%,
    #222222 35%,
    #222222 70%,
    #222222 100%
  );
  padding: 10px;
  border: 1px solid #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Thinner diagonal stripes that fade toward bottom */
.box-green::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: repeating-linear-gradient(
    45deg,
    rgba(154, 215, 83, 0.5),
    rgba(154, 215, 83, 0.5) 25.5px,
    /* 15% thinner than 30px */ rgba(119, 190, 60, 0.6) 25.5px,
    rgba(119, 190, 60, 0.6) 51px /* 15% thinner than 60px */
  );
  /* Fade out gradient overlay */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.box-purple {
  background: linear-gradient(
    to bottom,
    #6b4c8e 0%,
    #222222 20%,
    #222222 70%,
    #222222 100%
  );
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid #000;
}

/* Wider diagonal stripes that fade toward bottom */
.box-purple::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  /* Taller to allow room for fading */
  background: repeating-linear-gradient(
    45deg,
    rgba(107, 76, 142, 0.5),
    rgba(107, 76, 142, 0.5) 25px,
    /* Wider stripes */ rgba(71, 48, 103, 0.6) 25px,
    rgba(71, 48, 103, 0.6) 45px /* Wider stripes */
  );
  /* Fade out gradient overlay */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

/* box-3 grey*/
.box-3 {
  position: relative;
  background-color: #222222;
  color: #e6e6e6;
  padding: 10px 10px 50px 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  width: 100%;
  border: 1px solid #333333;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.box-3::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
}

/* box-2 */
.box-2 {
  box-shadow: 0 4px 15px #0000001a;
  border-left: 4px solid #ff8c00;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.box-2:hover {
  border-left-width: 8px;
  padding-left: 16px;
  box-shadow: 0 6px 20px #00000026;
}

.dark-box {
  position: relative;
  background-color: #222222;
  color: #e6e6e6;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  width: 100%;
  border: 1px solid #333333;
  overflow: visible;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.dark-box h2 {
  font-family: "Big Shoulders Inline Display", sans-serif;
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.dark-box h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #ff6b00;
}

.auto-box {
  position: relative;
  background-color: #222222;
  color: #e6e6e6;
  padding: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  width: 100%;
  border: 1px solid #333333;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.auto-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #ff6b00, #ff9500);
  animation: borderFlow 8s linear infinite;
}

@keyframes borderFlow {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* ukśne paski */
.box-diagonal-stripes {
  position: relative;
  background-color: #1a1a1a;
  color: #ffffff;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.box-diagonal-stripes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(60, 60, 60, 0.6),
    rgba(60, 60, 60, 0.6) 20px,
    rgba(40, 40, 40, 0.6) 20px,
    rgba(40, 40, 40, 0.6) 40px
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.box-diagonal-stripes-light {
  position: relative;
  background-color: #333333;
  color: #ffffff;
  border-radius: 8px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.box-diagonal-stripes-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(80, 80, 80, 0.6),
    rgba(80, 80, 80, 0.6) 20px,
    rgba(60, 60, 60, 0.6) 20px,
    rgba(60, 60, 60, 0.6) 40px
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

.responsive-image {
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .responsive-image {
    width: 95vw;
    max-height: 10vh;
    object-fit: contain;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  .responsive-image {
    width: 90vw;
    max-height: 60vh;
    object-fit: contain;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .responsive-image {
    width: 80vw;
    max-height: 50vh;
    object-fit: contain;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .responsive-image {
    width: 70vw;
    max-height: 60vh;
    object-fit: contain;
  }
}


@media (min-width: 1200px) {
  .responsive-image {
    width: 60vw;
  
    max-height: 70vh;
 
    object-fit: contain;
  }
}


@media (max-width: 991px) and (orientation: landscape) {
  .responsive-image {
    width: 80vw;
   
    max-height: 80vh;

    object-fit: contain;
  }
}

/* tabs */

#sppb-content1-1,
#sppb-content1-2,
#sppb-content1-3,
#sppb-content1-4 {
  background-color: #1a1a1a;

  height: 60px;
  position: relative;
  overflow: visible;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border-radius: 4px 4px 0 0;
}


#sppb-content1-4 {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}


#sppb-content1-1::before,
#sppb-content1-2::before,
#sppb-content1-3::before,
#sppb-content1-4::before {
  content: "";
  position: absolute;
  top: 15px;
  right: 0;
  height: 30px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(80, 80, 80, 0),
    rgba(80, 80, 80, 0.7),
    rgba(80, 80, 80, 0)
  );
  z-index: 3;
}


#sppb-content1-4::before {
  display: none;
}


#sppb-content1-1::after,
#sppb-content1-2::after,
#sppb-content1-3::after,
#sppb-content1-4::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #ff6600;

  transition: height 0.3s ease-in-out;
  z-index: 1;
}

#sppb-content1-1:hover::after,
#sppb-content1-2:hover::after,
#sppb-content1-3:hover::after,
#sppb-content1-4:hover::after {
  height: 4px;
}


.tab-indicator {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0) translateY(4px);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 16px solid #ff6600;

  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

#sppb-content1-1:hover .tab-indicator,
#sppb-content1-2:hover .tab-indicator,
#sppb-content1-3:hover .tab-indicator,
#sppb-content1-4:hover .tab-indicator {
  transform: translateX(-50%) scale(1) translateY(4px);
  opacity: 1;
}

/* Hover efekt - zmiana koloru tła */
#sppb-content1-1:hover,
#sppb-content1-2:hover,
#sppb-content1-3:hover,
#sppb-content1-4:hover {
  background-color: #232323;

}


#sppb-content1-1.active,
#sppb-content1-2.active,
#sppb-content1-3.active,
#sppb-content1-4.active {
  background-color: #232323;
  border: 2px solid #ff6600;

  border-bottom: 4px solid #ff6600;
 
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.4);
 
  z-index: 5;

}


#sppb-content1-1 .sppb-content1-title,
#sppb-content1-2 .sppb-content1-title,
#sppb-content1-3 .sppb-content1-title,
#sppb-content1-4 .sppb-content1-title {
  color: #aaaaaa;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}

#sppb-content1-1:hover .sppb-content1-title,
#sppb-content1-2:hover .sppb-content1-title,
#sppb-content1-3:hover .sppb-content1-title,
#sppb-content1-4:hover .sppb-content1-title {
  color: #ffffff;
}


#sppb-content1-1.active .sppb-content1-title,
#sppb-content1-2.active .sppb-content1-title,
#sppb-content1-3.active .sppb-content1-title,
#sppb-content1-4.active .sppb-content1-title {
  color: #ff6600;

}

/* Article Styling - Dark Theme */
/* Article Images */
.article-details .article-full-image {
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
  border-radius: 1px;
}

.article-details .article-full-image img {
  display: block;
  height: 450px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
}

.article-details .article-full-image:hover img {
  transform: scale(1.1) rotate(2deg);

  filter: brightness(0.45);

}

/* Article Layout Structure */
.article-list .article {
  display: flex;
  flex-direction: column;
  border: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.48);
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
}

.view-article .article-details {
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.article-details,
.article {
  padding: 0 20px;
  background-color: #1c1c1c;
  color: #a0a0a0;
}

/* Header Order */
.article-list .article-header,
.view-article .article-header {
  order: -1;
  margin-bottom: 20px;
}

.article-list .article-header {
  margin-bottom: 2px;
}

/* Article Body */
.article-list .articleBody,
.article-list .article-body {
  display: contents;
}

/* Article Info Bar */
.article-info {
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #aaa;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  padding: 10px;
  background: linear-gradient(281deg, #222222 0%, #1a1a1a 89%);

  margin-bottom: 30px;
  order: -1;
}

.article-info span {
  display: inline-flex;
  align-items: center;
}

.article-info > span + span::before {
  content: "";
}

/* Article Info Icons */
.article-info span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  background-size: contain;
  background-repeat: no-repeat;
}

.article-info .createdby::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff9800"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>');
}

.article-info .category-name::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff9800"><path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/></svg>');
}

.article-info .published::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff9800"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}

.article-info .hits::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff9800"><path d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"/></svg>');
}

.article-info .read-time::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff9800"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}


.article-info a {
  color: #ff9800 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-info a:hover {
  color: #ffc107;
}

.article-list .article .article-header h1 a,
.article-list .article .article-header h2 a {
  color: #fc3f00;
}

/* Article Typography */
.article-details h1,
.article-details h2,
.article-details h3,
.article-details h4,
.article-details h5,
.article-details h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #e0e0e0;
}

.article-details h1 {
  font-size: 2.5em;
  border-bottom: 1px solid #2e2e2e;
  padding-bottom: 10px;
}

.article-details h2 {
  font-size: 2em;
}

.article-details h3 {
  font-size: 1.75em;
}

.article-details h4 {
  font-size: 1.5em;
}

.article-details h5 {
  font-size: 1.25em;
}

.article-details h6 {
  font-size: 1.1em;
}


.article-details ul,
.article-details ol {
  margin-left: 0;
  padding-left: 0;
  list-style-type: none;
}

.article-details li {
  position: relative;
  margin-bottom: 15px;
  padding-left: 30px;
  transition: transform 0.3s ease;
}

.article-details li:hover {
  transform: translateX(5px);
}


.article-details ul li::before {
  content: "•";
  color: #ff9800;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.article-details ul li:hover::before {
  color: #ffc107;
  transform: translateY(-50%) scale(1.2);
}


.article-details ol {
  counter-reset: li-counter;
}

.article-details ol li::before {
  content: counter(li-counter);
  counter-increment: li-counter;
  color: #1c1c1c;
  background-color: #ff9800;
  font-weight: 700;
  font-size: 0.8em;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  transition: all 0.3s ease;
}

.article-details ol li:hover::before {
  background-color: #ffc107;
  box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
  transform: translateY(-50%) scale(1.1);
}


.article-details ul ul,
.article-details ol ul,
.article-details ul ol,
.article-details ol ol {
  margin-top: 10px;
  margin-left: 20px;
}


.article-details strong {
  font-weight: 700;
  color: #ff9800;
}

.article-details a {
  color: #ff9800 !important;
  text-decoration: none;
  border-bottom: 1px solid #ff9800;
  transition: all 0.3s ease;
}

.article-details a:hover {
  color: #ffc107;
  border-bottom: 2px solid #ffc107;
}


.article-intro-image,
.flash {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 300px;
}

.article-intro-image img,
.flash img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.article-intro-image::before,
.flash::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
}

.article-intro-image:hover::before,
.flash:hover::before {
  animation: shine-slide 0.75s;
}

@keyframes shine-slide {
  100% {
    left: 125%;
  }
}

/* home-news */

.sppb-addon-article-layout-content .sppb-article-img-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  /* Already has overflow hidden, which is good */
  transform: translateZ(0);
}


.sppb-addon-article-layout-content .sppb-article-img-wrap img {
  display: block;
  width: 100%;
  transition: filter 0.5s ease, transform 0.5s ease;

  backface-visibility: hidden;
  transform-origin: center center;

}


.sppb-addon-article-layout-content .sppb-article-img-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.75s ease;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
}


.sppb-addon-article-layout-content:hover .sppb-article-img-wrap::before {
  left: 100%;
  opacity: 1;
}

.sppb-addon-article-layout-content .sppb-article-img-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.sppb-addon-article-layout-content:hover .sppb-article-img-wrap::after {
  background: rgba(0, 0, 0, 0.2);
}

.sppb-addon-article-layout-content:hover .sppb-article-img-wrap img {
  filter: saturate(1.2) contrast(1.1);
  transform: scale(1.05) rotate(2deg);

}


.next,
.previous {
  position: relative;
  padding: 12px 24px;
  background-color: #111;
  color: #e0e0e0;
  text-transform: uppercase;
  border: 1px solid #333;
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
}

.next::before,
.previous::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2c3e50;
  z-index: -1;
  transition: transform 0.4s ease;
}

.next::before {
  transform: translateX(-100%);
}

.next:hover::before {
  transform: translateX(0);
}

.previous::before {
  transform: translateX(100%);
}

.previous:hover::before {
  transform: translateX(0);
}

.next:hover,
.previous:hover {
  color: #fff;
}

.next:active,
.previous:active {
  opacity: 0.9;
}

/* team image circle */
.team-image img {
  border-radius: 50%;
  padding: 4px;
  border: 2px dotted #ff8c00;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
  box-sizing: border-box;
}


@keyframes borderRotate {
  from {
    border-style: dotted;
  }
  50% {
    border-style: dashed;
  }
  to {
    border-style: dotted;
  }
}

.team-image img:hover {
  animation: borderRotate 1s infinite linear;
  border-color: #ffffff;
}
/* divider */
.divider-4 {
  position: relative;
  height: 2px;
  max-width: 800px;
  margin: 5px auto;
  background-color: #222222;
  overflow: hidden;
}

.divider-4::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 30%;
  background-color: orange;
  animation: expand 4s ease-in-out infinite;
}

@keyframes expand {
  0%,
  100% {
    left: 0;
    width: 0;
  }

  50% {
    left: 35%;
    width: 30%;
  }

  100% {
    left: 100%;
    width: 0;
  }
}
/* Opening Hours  */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 5px 0;
}

.hours-table th, .hours-table td {
 
  text-align: left;
  border-bottom: 1px solid #444444;
}

.hours-table th {
  background-color: #ff6600;
  color: white;
  font-weight: bold;
  padding-left: 5px;
}

.hours-table tr:nth-child(even) {
  background-color: #777777;
}

.hours-table tr:hover {
  background-color: #6b6b6b;
}

.closed {
  color: #e74c3c;
  font-weight: bold;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.3), 0 0 20px rgba(231, 76, 60, 0.2);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.6), 0 0 30px rgba(231, 76, 60, 0.4);
    transform: scale(1.05);
  }
}
/* header site */
.sp-page-title {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-blend-mode: overlay;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, #ff6600, transparent) 1;
}

/* scroll up */
.sp-scroll-up {
  align-items: center;
  background-color: #121212e6;
  border-radius: 50%;
  bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  height: 60px;
  justify-content: center;
  overflow: hidden;
  position: fixed;
  right: 40px;
  text-decoration: none;
  transition: transform 0.5s ease;
  width: 60px;
  z-index: 10;
}

.sp-scroll-up:hover {
  transform: scale(1.1);
  background-color: #1a1a1af0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.sp-scroll-up::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.3) 0%, transparent 70%);
  opacity: 0;
  animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.sp-scroll-up .fas {
  color: #ffffff;
  font-size: 28px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 2;
}

.sp-scroll-up:hover .fas {
  color: #ffa500;
  animation: iconBounce 0.8s infinite;
}

@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.sp-scroll-up::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed #ffa500;
  border-radius: 50%;
  animation: dashRotate 6s linear infinite;
}

@keyframes dashRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* facts module*/
.fact-container {
  position: relative;
  height: 150px;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.fact {
  background-color: #2a2a2a;
  border-left: 4px solid #4d9de0;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  position: absolute;
  opacity: 0;
  width: calc(100% - 24px);
  top: 0;
  left: 0;
  width: 100%;
  transform: translateY(100%);
  pointer-events: none;
}

.fact strong {
  color: #4d9de0;
  font-weight: bold;
}

.eco-fact {
  border-left-color: #4adf85;
}

.eco-fact strong {
  color: #4adf85;
}

#fact1 { animation: factAnimation 25s infinite; }
#fact2 { animation: factAnimation 25s infinite 5s; }
#fact3 { animation: factAnimation 25s infinite 10s; }
#fact4 { animation: factAnimation 25s infinite 15s; }
#fact5 { animation: factAnimation 25s infinite 20s; }

@keyframes factAnimation {
  0%, 1% {
    opacity: 0;
    transform: translateY(100%);
  }
  3%, 4% {
    opacity: 1;
    transform: translateY(0);
  }
  16%, 17% {
    opacity: 1;
    transform: translateY(0);
  }
  19%, 100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}
/* phone alarm */
.phone {
  color: #ccc;
 
  font-size: 48px;
  font-weight: bold;
  padding: 1px 30px;
  border-radius: 10px;
  text-align: center;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}


.phone span {
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}


.phone span.active {
  color: #FF8C00;
  transform: translateY(-5px);
}


.phone-icon {
  width: 40px;
  height: 40px;
  fill: #ccc;
  margin-right: 10px;
  transform-origin: center;
}

/* Animacja ikony słuchawki */
@keyframes ringing {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-15deg); }
  20% { transform: rotate(15deg); }
  30% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.phone-icon.ringing {
  animation: ringing 2s infinite;
  fill: #FF8C00;
}

/* footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  margin-top: 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}
#sp-footer .container-inner {
  padding: 30px 0;
  border-top: none;
  background-image: linear-gradient(to right, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.1) 20%, 
    rgba(255, 255, 255, 0.1) 80%, 
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 100% 1px;
  background-position: top center;
  background-repeat: no-repeat;
}