/* ========================================== */
/*           01. BAZA I ZMIENNE               */
/* ========================================== */

@font-face {
  font-family: "SportModeVF";
  src: url("mode.otf.otf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "SportModeVF", sans-serif;
}

:root {
  --text-color: #f5f5f5;
  --accent-color: #fff;
  --accent-red: rgb(236, 31, 70);
  --transition-smooth: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: 140px;
}

body {
  background-color: #050505;
  background-image: radial-gradient(
    circle at center,
    rgba(236, 31, 70, 0.12) 0%,
    #050505 80%
  );
  background-attachment: fixed;
  color: var(--text-color);
  overflow-x: clip;
  line-height: 1.6;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 150px;
}

section {
  padding: 120px 5%;
  position: relative;
  z-index: 10;
  background-color: transparent;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 70px;
  text-align: center;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Czytelna czcionka Roboto dla opisów */
.section-home .home-description,
.section-about .about-text p:not(.highlight-text),
.service-card .card-subtitle,
.service-card .card-text,
.service-card .card-list,
.service-card .card-list li,
.section-www .www-desc {
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.3px;
  line-height: 1.65;
}

/* ========================================== */
/*           02. ANIMACJE GLOBALNE            */
/* ========================================== */

.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(100px) scale(0.95);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mobile-tap-hint {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-tap-hint {
    display: block;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: pulseHint 2s infinite ease-in-out;
    transition: opacity 0.3s ease;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(15px);
  }
  60% {
    transform: translateY(8px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseHint {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* ========================================== */
/*              03. NAWIGACJA                 */
/* ========================================== */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.main-nav .logo img {
  max-width: 40px;
  height: auto;
  display: block;
  transform: scale(1.8);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.main-nav .logo img:hover {
  transform: scale(1.9);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:not(.nav-cta-btn):hover {
  color: var(--accent-red);
}

.nav-links a:not(.nav-cta-btn)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -6px;
  left: 0;
  background-color: var(--accent-red);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:not(.nav-cta-btn):hover::after {
  width: 100%;
}

.nav-cta-btn {
  background-color: transparent;
  color: #fff !important;
  border: 2px solid var(--accent-red);
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-left: 15px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.nav-cta-btn:hover {
  background-color: var(--accent-red) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(236, 31, 70, 0.5);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .main-nav {
    padding: 15px 5%;
  }
}

/* ========================================== */
/*             04. HERO & HOME                */
/* ========================================== */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: transparent;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #000);
  z-index: 3;
  pointer-events: none;
}

.tlo-hero {
  position: absolute;
  inset: 0;
  background-image: url("tlo-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(2vh);
}

.hero-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  transform: translateY(-40px);
  margin-bottom: -20px;
  filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.8))
    drop-shadow(0 0 30px rgba(255, 0, 0, 0.6))
    drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9));
}

.main-slogan {
  font-size: 6.5rem;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 6px;
  line-height: 1.4;
  text-shadow:
    0 0 10px rgba(237, 28, 36, 0.8),
    0 0 50px rgba(237, 28, 36, 0.6),
    0 15px 40px rgba(0, 0, 0, 0.9);
}

.hero-przycisk {
  position: relative;
  z-index: 25;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 15px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2a55 0%, #ec1f46 55%, #b80f30 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 30px rgba(236, 31, 70, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-przycisk::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.65s ease;
}

.hero-przycisk:hover::before {
  left: 140%;
}

.hero-przycisk:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(236, 31, 70, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-przycisk:active {
  transform: translateY(-1px) scale(0.98);
}

.hero-przycisk-ikona {
  width: 15px;
  height: 15px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-przycisk:hover .hero-przycisk-ikona {
  transform: translateY(3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  display: flex;
  justify-content: center;
  opacity: 0.5;
  z-index: 5;
  pointer-events: none;
}

.arrow {
  animation: bounce 2s infinite;
  display: flex;
  justify-content: center;
}

.arrow img {
  height: 200px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 5px rgba(188, 176, 176, 0.9))
    drop-shadow(0 0 15px rgb(223, 217, 217))
    drop-shadow(0 0 50px rgba(193, 187, 187, 0.8))
    drop-shadow(0 0 120px rgba(236, 234, 234, 0.808));
}

.section-home {
  padding: 150px 5%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-content {
  max-width: 1000px;
}

.home-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 2px;
}

.czerwony-tekst {
  color: var(--accent-red);
  text-shadow: 0 0 20px rgba(236, 31, 70, 0.6);
}

.home-description {
  font-size: 1.5rem;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
}

@media (max-width: 768px) {
  .main-slogan {
    font-size: 4.5rem;
  }
  .home-title {
    font-size: 2.2rem;
  }
  .home-description {
    font-size: 1.1rem;
  }
  .section-home {
    padding: 100px 5%;
  }
}

@media (max-width: 480px) {
  .main-slogan {
    font-size: 3rem;
  }
}

/* ========================================== */
/*                05. O MNIE                  */
/* ========================================== */

.section-about {
  padding: 120px 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-content {
  max-width: 800px;
}

.about-text p {
  font-size: 1.4rem;
  color: #ccc;
  margin-bottom: 20px;
  font-weight: 300;
}

.about-text .highlight-text {
  font-size: 2rem;
  color: var(--accent-red);
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 40px;
  text-shadow: 0 0 15px rgba(236, 31, 70, 0.4);
}

@media (max-width: 768px) {
  .about-text p {
    font-size: 1.1rem;
  }
  .about-text .highlight-text {
    font-size: 1.5rem;
  }
}

/* ========================================== */
/*                 06. OFERTA                 */
/* ========================================== */

.section-oferta {
  padding: 30px 5% 40px 5%;
  scroll-margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-oferta .section-title {
  margin-bottom: 25px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom, #0a0a0a 50%, #4a050d 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(236, 31, 70, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.card-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-red);
  line-height: 0.8;
}

.card-title-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title-red {
  color: var(--accent-red);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1px;
}

.title-white {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1px;
}

.card-subtitle {
  font-size: 0.75rem;
  color: #aaa;
  text-align: center;
  margin-bottom: 12px;
}

.card-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 15px;
}

.section-heading {
  color: var(--accent-red);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-text {
  font-size: 0.75rem;
  color: #ddd;
  margin-bottom: 15px;
}

.card-list {
  list-style: disc;
  padding-left: 15px;
  color: #ddd;
  font-size: 0.7rem;
}

.card-list li {
  margin-bottom: 4px;
  font-weight: 600;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-decoration: none;
  z-index: 2;
}

.service-card:hover .card-overlay-link {
  opacity: 1;
}

.overlay-btn {
  padding: 10px 25px;
  background-color: var(--accent-red);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 50px;
  letter-spacing: 1.5px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.service-card:hover .overlay-btn {
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}

@media (max-width: 1024px) {
  .service-card .card-overlay-link {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .service-card.touch-active .card-overlay-link {
    opacity: 1;
    visibility: visible;
  }

  .service-card.touch-active .mobile-tap-hint {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
}

/* ========================================== */
/*               07. SEKCJA WWW               */
/* ========================================== */

.section-www {
  padding: 80px 5%;
}

.www-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: linear-gradient(145deg, #0a0a0a, #111);
  border: 1px solid rgba(236, 31, 70, 0.2);
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 0 40px rgba(236, 31, 70, 0.05);
}

.www-content {
  flex: 1;
  max-width: 650px;
}

.www-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.www-desc {
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.tech-badge {
  background: rgba(236, 31, 70, 0.1);
  border: 1px solid rgba(236, 31, 70, 0.3);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.www-btn {
  display: inline-block;
  padding: 15px 35px;
  background: var(--accent-red);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 50px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.www-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(236, 31, 70, 0.3);
}

.www-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.code-window {
  background: #050505;
  border-radius: 12px;
  width: 100%;
  max-width: 450px;
  border: 1px solid #222;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.window-header {
  background: #111;
  padding: 12px 15px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #222;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}
.dot.yellow {
  background: #ffbd2e;
}
.dot.green {
  background: #27c93f;
}

.code-window pre {
  padding: 30px;
  font-family: monospace;
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.6;
}

.code-window .keyword {
  color: #ff7b72;
}
.code-window .variable {
  color: #79c0ff;
}
.code-window .property {
  color: #d2a8ff;
}
.code-window .string {
  color: #a5d6ff;
}
.code-window .function {
  color: #d2a8ff;
}

@media (max-width: 1024px) {
  .www-wrapper {
    flex-direction: column;
    padding: 40px 20px;
  }
  .www-visual {
    width: 100%;
    justify-content: center;
    margin-top: 30px;
  }
  .code-window {
    max-width: 100%;
  }
}

/* ========================================== */
/*         08. PORTFOLIO (TELEFONY)           */
/* ========================================== */

.section-portfolio {
  padding: 80px 0 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.section-portfolio .section-title {
  margin-bottom: 20px;
}

.portfolio-slider {
  position: relative;
  width: 100vw;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phones-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  transform: scale(0.85);
}

.portfolio-slide {
  position: absolute;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.portfolio-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  z-index: 10;
  pointer-events: auto;
}

.portfolio-slide.prev {
  opacity: 0.15;
  transform: translateX(-65%) scale(0.65);
  filter: blur(8px);
  z-index: 5;
}

.portfolio-slide.next {
  opacity: 0.15;
  transform: translateX(65%) scale(0.65);
  filter: blur(8px);
  z-index: 5;
}

.portfolio-slide.hidden {
  opacity: 0;
  transform: translateX(0) scale(0.5);
  z-index: 1;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  font-weight: 100;
  cursor: pointer;
  z-index: 20;
  transition: color 0.3s ease;
  padding: 20px;
}

.slider-arrow:hover {
  color: var(--accent-red);
}

.left-arrow {
  left: 5%;
}
.right-arrow {
  right: 5%;
}

.phone-wrapper {
  position: relative;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    z-index 0s,
    filter 0.5s ease;
  cursor: pointer;
}

.phone-frame {
  width: 230px;
  height: 480px;
  border-radius: 38px;
  border: 8px solid #333;
  background-color: #050505;
  overflow: hidden;
  box-shadow:
    0 0 0 1.5px #777,
    0 25px 50px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: translateZ(0);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background-color: #111;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.phone-frame::after {
  content: "SPRAWDŹ WIĘCEJ ->";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.85) 15%,
    rgba(0, 0, 0, 0.5) 30%,
    transparent 45%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 50px;
  color: var(--accent-red);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.active .phone-wrapper:hover .phone-frame::after {
  opacity: 1;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.phone-left {
  margin-right: -100px;
  transform: scale(0.85);
  z-index: 1;
  filter: brightness(0.4);
}

.phone-center {
  z-index: 5;
  transform: scale(1);
  box-shadow: 0 0 60px rgba(236, 31, 70, 0.2);
}

.phone-right {
  margin-left: -100px;
  transform: scale(0.85);
  z-index: 1;
  filter: brightness(0.4);
}

.active .phone-wrapper:hover {
  transform: scale(1.08) translateY(-15px);
  z-index: 10;
  filter: brightness(1);
}

.phone-caption {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-red);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 1.5px;
  text-shadow: 0 5px 15px rgba(236, 31, 70, 0.4);
}

.active .phone-wrapper:hover .phone-caption {
  opacity: 1;
  bottom: -35px;
}

/* ========================================== */
/*           09. PODSTRONA: GALA              */
/* ========================================== */

.gala-details-container {
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease;
}

.back-btn {
  background: transparent;
  border: 1px solid rgba(236, 31, 70, 0.5);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  display: inline-block;
}

.back-btn:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 5px 15px rgba(236, 31, 70, 0.3);
}

.gala-details-title {
  color: var(--accent-red);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.gala-details-desc {
  color: #aaa;
  font-size: 1.05rem;
  max-width: 700px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.gala-zigzag-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 30px;
}

.gala-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.gala-row:nth-child(even) {
  flex-direction: row-reverse;
}

.gala-row.gala-row-video {
  flex-direction: column !important;
  text-align: center;
}

.gala-row.gala-row-video .gala-img-box {
  width: 100%;
}

.gala-img-box {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.gala-img-box:hover {
  transform: translateY(-5px);
  border-color: rgba(236, 31, 70, 0.3);
  box-shadow: 0 15px 40px rgba(236, 31, 70, 0.15);
}

.gala-img-box img,
.gala-img-box video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.gala-text-box {
  flex: 1;
}

.gala-text-box p {
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .gala-row,
  .gala-row:nth-child(even) {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}

/* ========================================== */
/*             10. OPINIE (SLIDER)            */
/* ========================================== */

.slider-container {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  width: 50%;
  max-width: 650px;
  text-align: center;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  transform: scale(0.6) translateX(0);
  filter: blur(10px);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  filter: blur(0);
  z-index: 3;
}

.slide.prev {
  opacity: 0.3;
  transform: scale(0.75) translateX(-90%);
  filter: blur(6px);
  z-index: 2;
}

.slide.next {
  opacity: 0.3;
  transform: scale(0.75) translateX(90%);
  filter: blur(6px);
  z-index: 2;
}

.quote {
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.5;
}

.author {
  font-size: 1rem;
  color: #999;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: 20px;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.slider-btn:hover {
  opacity: 1;
}

.prev-btn {
  left: 5%;
}
.next-btn {
  right: 5%;
}

@media (max-width: 768px) {
  .slide.prev,
  .slide.next {
    display: none;
  }
  .slide {
    width: 85%;
  }
  .quote {
    font-size: 1.2rem;
  }
}

/* ========================================== */
/*                11. KLIENCI                 */
/* ========================================== */

.clients-marquee-container {
  display: flex;
  overflow: hidden;
  gap: 60px;
  user-select: none;
  padding: 30px 0;
  position: relative;
}

.clients-marquee-container::before,
.clients-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #050505 0%, transparent 100%);
}

.clients-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #050505 0%, transparent 100%);
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 60px;
  min-width: 100%;
  animation: scroll-x 25s linear infinite;
}

.clients-marquee-container:hover .marquee-group {
  animation-play-state: paused;
}

.client-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
  cursor: pointer;
}

.client-logo-img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.15);
}

.logo-larger {
  height: 150px;
}

.logo-big {
  height: 100px;
}

.logo-smaller {
  height: 45px;
}

.logo-sawo {
  height: 60px;
}

@keyframes scroll-x {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% - 60px));
  }
}

/* ========================================== */
/*                12. KONTAKT                 */
/* ========================================== */

.contact-form {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.full-width {
  width: 100%;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 18px 25px;
  background: #111;
  border: 1px solid #222;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 6px;
  transition:
    border-color 0.3s,
    background 0.3s;
}

.contact-form textarea {
  resize: none;
  min-height: 150px;
}

.contact-form .submit-btn {
  width: 100%;
  padding: 20px 0;
  display: block;
  margin-top: 10px;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================== */
/*                 13. STOPKA                 */
/* ========================================== */

.main-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 5%;
  border-top: 1px solid #222;
  margin-top: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-contact a:hover {
  opacity: 1;
}

/* ========================================== */
/*     14. LIGHTBOX, PRELOADER I COOKIES      */
/* ========================================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.3s ease;
}

#lightbox-img,
#lightbox-video {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--accent-red);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#preloader {
  position: fixed;
  inset: 0;
  background-color: #030303;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.8s ease-in-out,
    visibility 0.8s ease-in-out;
  overflow: hidden;
}

#preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 3;
}

.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  position: relative;
  z-index: 2;
  width: 200px;
  animation: pulseImage 2s ease-in-out infinite;
}

@keyframes pulseImage {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(236, 31, 70, 0.2));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(236, 31, 70, 0.8));
  }
}

.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(236, 31, 70, 0.3);
  padding: 20px 5%;
  z-index: 99999;
  display: flex;
  justify-content: center;
  transition: bottom 0.5s ease-in-out;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-content p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-btn {
  background: var(--accent-red);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition:
    transform 0.3s,
    background 0.3s;
}

.cookie-btn:hover {
  transform: translateY(-2px);
  background: #ff2a55;
}

.cookie-link {
  color: #fff;
  text-decoration: underline;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: auto;
}

.kod-kursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  background-color: rgb(236, 31, 70);
  vertical-align: -0.15em;
  margin-left: 3px;
  animation: miganieKursora 0.85s steps(1) infinite;
}

@keyframes miganieKursora {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
