:root {
  --navy: #14264a;
  --navy-dark: #0b1633;
  --blue: #9debff;
  --violet: #bc54eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Outfit', sans-serif;
  background: #081126;
  color: #87e7ff9c;
  text-shadow: 0 0 1px rgb(255, 255, 255), 0 0 4px rgba(255, 255, 255, 0.692);
  max-width: 100%;
  overflow-x: hidden;
}

img {
  display: block;
}

.banerTop {
  max-width: 100dvw !important;
  position: absolute;
  width: 100dvw;

  left: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 40px 20px 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 120px;
}

.hero-logo img {
  height: 100px;
}

h1 {
  margin-top: 600px;
  font-size: 5em;
  font-weight: 400;
  margin-bottom: 18px;
  text-align: center;
}

.hero-desc {
  font-size: 2em;
  max-width: 720px;
  margin: 0 auto 70px;
  opacity: 0.85;
  text-align: center;
}

/* ===== HEX FEATURES ===== */
@keyframes pulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(0, 180, 255, 0));
  }

  40% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 14px rgba(0, 180, 255, 0.9))
      drop-shadow(0 0 30px rgba(0, 180, 255, 0.6));
  }

  80% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(0, 180, 255, 0));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(0, 180, 255, 0));
  }
}

.hex-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 80px;
}

.hex {
  width: 130px;
  text-align: center;
  animation: pulse 4.5s ease infinite;
}

.hex img {
  margin: 0 auto 14px;
}

.hex span {
  font-size: 12px;
  opacity: 0.85;
}

.hex:nth-child(1) {
  animation-delay: 0s;
}

.hex:nth-child(2) {
  animation-delay: 1.5s;
}

.hex:nth-child(3) {
  animation-delay: 3s;
}

/* ===== BOSKI BRUNCH BAR ===== */
.brunch {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 0;
}
.brunch-center {
  display: grid;
  grid-template-columns: 1fr 2% 1fr;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.btnBrunch {
  text-decoration: none;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  background: url('b4.png') top/cover no-repeat;
  aspect-ratio: 452 / 158;
  padding: 16px 80px;
  transition: 300ms;
  cursor: pointer;
  user-select: none;
  color: var(--blue);
}
.btnBrunch:hover {
  background: url('b4-over.png') top/cover no-repeat;
  color: #bc54eb;
  filter: drop-shadow(0 0 14px rgba(135, 8, 139, 0.9))
    drop-shadow(0 0 30px rgba(182, 5, 138, 0.726));
}
.btn {
  padding: 12px 28px;
  border: 1px solid var(--blue);
  border-radius: 24px;
  font-size: 13px;
  color: var(--blue);
}

/* ===== EVENTS ===== */
.events {
  padding-top: 80px;
  display: grid;
  align-items: center;
  justify-content: center;
  justify-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 120px;
}

.event {
  width: 80%;
  aspect-ratio: 508 / 863;
  position: relative;
  background: url('ramka.png') top/cover no-repeat;
  transition: 300ms;
  cursor: pointer;
  user-select: none;
}

.event:hover {
  background: url('ramka-over.png') top/cover no-repeat;
  color: #bc54eb;
  filter: drop-shadow(0 0 14px rgba(135, 8, 139, 0.9))
    drop-shadow(0 0 30px rgba(182, 5, 138, 0.411));
}

.event-img {
  border-radius: 18px;
  padding: 5px;
  overflow: hidden;
  margin-bottom: 16px;
}

.event h3 {
  margin: 20px auto;
  max-width: 80%;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}

.event p {
  margin: 20px auto;
  max-width: 80%;
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.date {
  margin: 20px auto;
  max-width: 80%;
  font-size: 11px;
}

/* ===== BOTTOM GRADIENT ===== */

.bottom {
  display: flex;
  justify-content: center;
  padding: 80px 20px 40px;
  text-align: center;
  position: relative;
  padding-bottom: 200px;
}
.banerBottom {
  z-index: -1;
  position: absolute;
  width: 100dvw;
  bottom: 0;
  -webkit-mask-image: linear-gradient(to top, black 60%, transparent 100%);
  mask-image: linear-gradient(to top, black 5%, transparent 100%);
}

.btn-bottom {
  background: url('b5.png') top/cover no-repeat;
  aspect-ratio: 400 / 336;
  padding: 80px 80px;
  position: relative;
  transition: 300ms;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: #9debff;
}

.btn-bottom:hover {
  background: url('b5-over.png') top/cover no-repeat;
  color: #bc54eb;
  filter: drop-shadow(0 0 14px rgba(135, 8, 139, 0.9))
    drop-shadow(0 0 30px rgba(182, 5, 138, 0.726));
}

.mini-logo {
  width: 120px;
  position: absolute;
  left: 10px;
}

.agenda {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 30px;
  width: 100%;
  text-align: center;
}

.agenda-grid {
  max-width: 960px;
  margin: 120px auto;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 1.1em;
  line-height: 1.55;
}

/* pojedynczy wiersz */
.agenda-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding-left: 120px;
}

/* godzina */
.agenda-time {
  color: #87e7ff;
  font-weight: 600;
  white-space: nowrap;
}

/* treść */
.agenda-content {
  color: #87e7ff;
  font-size: 400;
}

/* tytuł */
.agenda-title {
  font-weight: 600;
  color: #87e7ff;
  margin-bottom: 6px;
}

/* wyróżniony temat */
.agenda-topic {
  color: #d68cff;
  font-weight: 600;
  margin: 6px 0 10px;
  text-shadow: 0 0 8px rgba(214, 140, 255, 0.5);
}

/* notka */
.agenda-note {
  color: rgba(200, 220, 255, 0.65);
  font-size: 1em;
}

/* mobile */
@media (max-width: 720px) {
  .agenda-row {
    grid-template-columns: 1fr;
    padding-left: 0;
    border-left: none;
  }

  .agenda-time {
    font-size: 13px;
    opacity: 0.85;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .hero {
    padding-top: 10px;
  }
  .hero-logo {
    margin-bottom: 80px;

    img {
      width: 30%;
      height: auto;
    }
  }

  h1 {
    margin-top: 100px;
    font-size: 5em;
    font-weight: 400;
    margin-bottom: 18px;
  }
  .mini-logo {
    display: none;
  }

  @media (max-width: 650px) {
    h1 {
      font-size: 3em;
    }

    .events {
      padding: 100px 10px;
      padding-bottom: 10px;
      display: flex;
      align-items: center;
      flex-direction: column;
      gap: 20px;
      font-size: 1.2em;
    }
  }

  @media (max-width: 400px) {
    .hero {
      padding-top: 10px;
    }
    .hero-logo {
      top: 20px;
      width: 40%;
      margin-bottom: 80px;

      img {
        width: 50%;
        height: auto;
      }
    }

    h1 {
      margin-top: 100px;
      font-size: 2em;
      font-weight: 400;
      margin-bottom: 18px;
    }
    .mini-logo {
      display: none;
    }
  }
}

.sponsorsTop {
  position: absolute;
  width: 600px;
  top: 40px;
  right: 40px;
}

.sponsorsBottom {
  position: absolute;
  width: 32%;
  top: 50%;
  right: 2%;
}

@media (max-width: 1000px) {
  .sponsorsTop {
    width: 400px;
  }

  .sponsorsBottom {
    width: 50%;
    top: 50%;
    right: 25%;
  }
}

@media (max-width: 650px) {
  .sponsorsTop {
    top: 20px;
    width: 300px;
  }

  .sponsorsBottom {
    width: 90%;
    top: 50%;
    right: 5%;
  }
}

@media (max-width: 500px) {
  .sponsorsTop {
    right: 10px;
    width: 60%;
  }

  .sponsorsBottom {
    width: 90%;

    right: 5%;
  }
}
@media (max-width: 420px) {
  .sponsorsTop {
    top: 10px;
    right: 10px;
    width: 60%;
  }

  .sponsorsBottom {
    width: 100%;
    right: 0;
  }
}

.partners {
  width: 100%;
  margin-top: 50px;
  text-align: center;
  font-size: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}
.top-logos {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  a {
    width: 20%;
  }
  img {
    width: 20%;
  }
}

@media (max-width: 1200px) {
  .top-logos {
    img {
      width: 20%;
    }
  }
}

@media (max-width: 1080px) {
  .top-logos {
    img {
      width: 20%;
    }
  }
}

@media (max-width: 550px) {
  .top-logos {
    margin-top: -3%;
    padding-top: 0;
    a {
      width: 40%;
    }
    img {
      width: 40%;
    }
  }
}

.bottom-logos {
  width: 100%;
  position: absolute;
  bottom: 200px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 200px;
}

@media (max-width: 1200px) {
  .top-logos {
    img {
      width: 20%;
    }
  }
  .bottom-logos {
    padding: 0 100px;
  }
}

@media (max-width: 1080px) {
  .top-logos {
    img {
      width: 20%;
    }
  }
  .bottom-logos {
    img {
      width: 20%;
    }
    padding: 0 100px;
  }
}

@media (max-width: 750px) {
  .bottom-logos {
    img {
      width: 30%;
    }
    bottom: 50px;
    padding: 0 100px;
  }
}

@media (max-width: 500px) {
  .top-logos {
    img {
      width: 30%;
    }
  }
  .bottom-logos {
    padding: 0 40px;
    img {
      width: 30%;
    }
  }
}

.imagebox {
  display: flex;
  width: 100%;
  gap: 10%;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  a {
    width: 25%;
    img {
      width: 100%;
    }
  }
}

.footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 100px;
  font-size: 1em;
  color: var(--blue);
  text-align: left;
  padding-top: 100px;
}

/* kolumny */
.footer-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;

  /* zostawiamy Twoją matematykę, ale bez karania logo */
  width: calc(((100dvw - 540px) / 2) - 50px);
  max-width: 520px;
  min-width: 280px;
}

/* box na logo */
.footer-logoBox {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

/* ⭐ KLUCZOWA ZMIANA */
.footer-logoBox a {
  width: clamp(120px, 10vw, 200px);
  height: auto;
  max-width: 100%;

  img {
    width: 100%;
    height: auto;
  }
}

/* tekst */
.footer-text {
  width: 100%;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
}

/* spacing */
.mar-top {
  margin-top: 40px;
}

@media (max-width: 1100px) {
  .btn-bottom {
    margin-bottom: 200px;
  }
}

@media (max-width: 750px) {
  .btn-bottom {
    margin-bottom: 300px;
  }
  .footer {
    flex-direction: column;
    align-items: start;
    gap: 40px;
    bottom: 50px;
    width: 95%;
    padding: 0 20px;
  }
}

@media (max-width: 450px) {
  .footer-logoBox {
    flex-wrap: wrap;
  }
}

.info {
  margin: 0 auto;
  margin-top: 80px;
  max-width: 960px;
  text-align: center;
}
