/* ==================== */
/* NEON COLOR PALETTE */
/* ==================== */

:root {
  --color-black: #0a0a0a;
  --color-black-light: #1a1a2e;
  --color-gray-dark: #16213e;
  --color-white: #ffffff;
  --color-white-75: rgba(255, 255, 255, 0.75);
  --color-white-50: rgba(255, 255, 255, 0.5);

  /* Neon Colors */
  --color-orange: #ff6b35;
  --color-orange-bright: #ff8800;
  --color-cyan: #00d4ff;
  --color-cyan-light: #00ffff;
  --color-pink: #ff1493;
  --color-pink-bright: #ff0080;
  --color-purple: #9d00ff;
  --color-green: #76ff03;
  --color-yellow: #ffff00;
  --color-yellow-gold: #ffd700;

  --color-dark-blue: #0004ff;
  --color-ticker-orange: #fd3405;
  --color-ticker-blue: #05cefd;
  --color-ticker-bg1: #f10e97;
  --color-ticker-bg2: #f40b5a;
  --color-ticker-bg3: #8f1b42;

  /* Gradients */
  --gradient-primary: linear-gradient(
    135deg,
    #ff6b35 0%,
    #ff1493 50%,
    #9d00ff 100%
  );
  --gradient-secondary: linear-gradient(135deg, #00d4ff 0%, #76ff03 100%);
  --gradient-accent: linear-gradient(135deg, #ff8800 0%, #ff0080 100%);
}

/* ==================== */
/* GLOBAL STYLES */
/* ==================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Montserrat", sans-serif;
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Text Colors */
.text-orange {
  color: var(--color-orange) !important;
}
.text-cyan {
  color: var(--color-cyan) !important;
}
.text-pink {
  color: var(--color-pink) !important;
}
.text-purple {
  color: var(--color-purple) !important;
}
.text-lime {
  color: var(--color-green) !important;
}
.text-yellow {
  color: var(--color-yellow) !important;
}
.text-white-75 {
  color: var(--color-white-75) !important;
}
.text-white-50 {
  color: var(--color-white-50) !important;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== */
/* TYPOGRAPHY */
/* ==================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--color-white);
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
}

p,
li {
  font-size: 1rem;
  line-height: 1.8;
}

.lead {
  font-size: 1.3rem;
  font-weight: 500;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--color-white-75);
  text-align: center;
}

/* ==================== */
/* BUTTONS */
/* ==================== */

.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  border: 2px solid var(--color-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
  background: var(--gradient-primary);
  color: var(--color-white);
}

.btn-outline-primary {
  color: var(--color-cyan);
  border: 2px solid var(--color-cyan);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--color-cyan);
  color: var(--color-black);
  transform: translateY(-3px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ==================== */
/* NAVIGATION */
/* ==================== */

.navbar {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.2);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.navbar-logo {
  max-height: 50px;
  filter: brightness(1.1);
}

.navbar-brand {
  font-size: 1.3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--color-white-75) !important;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 1rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-cyan) !important;
}

.nav-link:hover::after {
  width: 100%;
}

/* ==================== */
/* HERO SECTION */
/* ==================== */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--color-black) 0%,
    var(--color-black-light) 50%,
    var(--color-black) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.hero-section .container-lg {
  position: relative;
  z-index: 1;
}

.logo-hero {
  /* max-width: 500px; */
  max-height: 50vh;
  filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.3))
    drop-shadow(0 0 60px rgba(0, 212, 255, 0.2));
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ==================== */
/* SECTIONS */
/* ==================== */

.section-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section-padding {
  padding: 5rem 0;
}

.section-accent {
  background: linear-gradient(
    135deg,
    var(--color-black) 0%,
    var(--color-black-light) 50%,
    var(--color-black) 100%
  );
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 3px;
}

/* ==================== */
/* FEATURE BOXES */
/* ==================== */

.feature-box {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.feature-box:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: var(--color-white-75);
  margin: 0;
}

/* ==================== */
/* STAT BOXES */
/* ==================== */

.stat-box {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(0, 212, 255, 0.1) 100%
  );
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(255, 107, 53, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--color-white-75);
  margin: 0;
}

/* ==================== */
/* PROBLEMS GRID */
/* ==================== */

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 równe kolumny */
  grid-template-rows: repeat(3, 1fr); /* 3 równe rzędy */
  /* gap: 10px;   */
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  gap: 1.5rem;
  margin: 2rem 0;
}

.problem-item {
  background: rgba(0, 212, 255, 0.05);
  border-left: 3px solid var(--color-cyan);
  padding: 1.2rem;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.problem-item:hover {
  background: rgba(0, 212, 255, 0.15);
  transform: translateX(10px);
}

/* ==================== */
/* ALERT BOX */
/* ==================== */

.alert-box {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(255, 20, 147, 0.1) 100%
  );
  border: 2px solid var(--color-orange);
  border-radius: 15px;
  padding: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.alert-box strong {
  color: var(--color-yellow);
}

/* ==================== */
/* INFO CARDS */
/* ==================== */

.info-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(5px);
}

.info-card h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-white-75);
}

.custom-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-cyan);
  font-weight: bold;
}

/* ==================== */
/* PROMO BANNER */
/* ==================== */

.promo-banner {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.15) 0%,
    rgba(255, 20, 147, 0.15) 100%
  );
  border: 2px solid var(--color-orange);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
}

.promo-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* ==================== */
/* PROGRAM GRID */
/* ==================== */

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
/* Od momentu, gdy mieszczą się 3 kolumny (np. szerokość okna ok. 960px) */
@media (min-width: 1200px) {
  .program-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(5px);
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.program-card:hover {
  transform: translateY(-15px);
  border-color: rgba(0, 212, 255, 0.8);
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
}

.program-card:hover::before {
  opacity: 1;
}

.program-number {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.program-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.program-card p {
  color: var(--color-white-75);
  margin: 0;
}

/* ==================== */
/* EFFECT BOXES */
/* ==================== */

.effect-box {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(0, 212, 255, 0.1) 100%
  );
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.effect-box:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
  border-color: rgba(0, 212, 255, 0.6);
}

.effect-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.effect-box h4 {
  font-size: 1.1rem;
  margin: 0;
}

/* ==================== */
/* QUALIFICATIONS */
/* ==================== */

.qual-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.qual-card.bg-gradient {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(0, 212, 255, 0.1) 100%
  );
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.qual-card:hover {
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.qual-card h3 {
  font-size: 1.5rem;
}

/* ==================== */
/* CONTACT SECTION */
/* ==================== */

.contact-card {
  /* background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.1) 0%,
    rgba(255, 20, 147, 0.1) 100%
  ); */
  border: 2px solid var(--color-orange);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

.contact-info {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.quote-box {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--color-cyan);
  border-radius: 12px;
  padding: 2rem;
}

.quote-box p {
  margin: 0;
}

/* ==================== */
/* FOOTER */
/* ==================== */

.footer {
  background: var(--color-black-light);
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

.footer a {
  color: var(--color-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--color-orange);
}

.footer-link {
  display: block;
  padding: 0.3rem 0;
}

hr.border-secondary {
  border-color: rgba(255, 107, 53, 0.2);
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */

@media (max-width: 768px) {
  .section-padding {
    padding: 3rem 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .logo-hero {
    max-width: 300px;
    margin-bottom: 2rem;
  }

  .nav-link {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .program-grid {
    grid-template-columns: 1fr;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 2rem;
  }

  .btn-lg {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .feature-box,
  .info-card,
  .qual-card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* ==================== */
/* ANIMATIONS */
/* ==================== */

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
  }
}

/* Utility Classes */
.text-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Kontener paska - stylizowany jak w telewizji */
.ticker-container {
  width: 100%;
  overflow: hidden; /* Ukrywa tekst wychodzący poza ekran */
  background: var(--color-ticker-bg3);
  /* color: #ffffff; */
  color: black;
  font-family: Arial, sans-serif;
  font-weight: bold;
  /* text-transform: uppercase; */
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Przewijany element */
.ticker-text {
  display: inline-block;
  color: white;
  white-space: nowrap; /* Blokuje łamanie tekstu do nowej linii */
  padding-left: 100%; /* Zaczyna ruch całkowicie od prawej strony */
  animation: przewijanie 45s linear infinite; /* Czas trwania i nieskończona pętla */
}

/* Reguły animacji */
@keyframes przewijanie {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(
      -100%,
      0,
      0
    ); /* Przesuwa tekst całkowicie za lewą krawędź */
  }
}

/* Opcjonalnie: zatrzymanie po najechaniu myszką */
.ticker-container:hover .ticker-text {
  animation-play-state: paused;
}

.slogan {
  /* color: var(--gradient-primary); */
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.h3-center {
  text-align: center;
}

.my-list-tile-container {
  text-align: center;
}

.my-list-tile {
  list-style: none;
  padding-left: 0;
}

.my-list-tile li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-white-75);
  font-size: 1.3rem;
}

.my-list-tile li::before {
  /* content: "▸"; */
  position: absolute;
  left: 0;
  color: var(--color-cyan);
  font-weight: bold;
  font-size: 1.3rem;
  /* text-align: center; */
}

/* my feature box */
.my-feature-box {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.my-feature-box:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.my-feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.my-feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.my-feature-box p {
  color: var(--color-white-75);
  /* margin: 0; */
}

.slogan-banner {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.15) 0%,
    rgba(255, 20, 147, 0.15) 100%
  );
  border: 2px solid var(--color-orange);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
}

.font-size-medium {
  font-size: 2rem;
}

.font-size-1d5 {
  font-size: 1.5rem;
}

.font-size-1d2 {
  font-size: 1.2rem;
}

.font-size-1d6 {
  font-size: 1.6rem;
}

.about-me-font-size-1 p {
  font-size: 1.3rem !important;
  padding-bottom: 1rem;
}

.about-me-font-size-2 p {
  font-size: 1.3rem !important;
  padding-bottom: 1rem;
}
