@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.ttf") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Light.ttf") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Medium.ttf") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Bold.ttf") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Italic.ttf") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", Arial, sans-serif;
}

.hero {
  position: relative;
  height: 1080px;
  background-image: url("assets/Grafika_targowa.png");
  background-size: cover;
  background-position: center;
  overflow: visible;
}

.hero_overlay {
  position: absolute;
  inset: 0;
}

.hero_logo {
  position: absolute;
  top: 35px;
  left: 45px;
  width: 100px;
  z-index: 2;
}

.hero_socials {
  position: absolute;
  top: 5%;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 18px;
  transform: translate(-50%, -50%);
}

.hero_socials a {
  width: 34px;
  height: 34px;

  border-radius: 50%;
  display: grid;
  place-items: center;
}

.hero_socials img {
  width: 16px;
  height: 16px;
  display: block;
}

.hero_event {
  position: absolute;
  left: 50%;
  bottom: -55px;
  z-index: 3;
  width: min(900px, calc(100% - 40px));
  min-height: 110px;
  transform: translateX(-50%);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  background: white;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.event_date {
  border-radius: 20px 0 0 20px;
  background: linear-gradient(135deg, #00cfd9, #ff0f31);
  color: white;
  display: flex;
  align-items: center;
  padding: 25px 30px;
  gap: 20px;
}

.event_day {
  font-size: 58px;

  font-weight: 800;
  line-height: 1;
}

.event_info p {
  margin: 0;
  font-size: 26px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event_countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  text-align: center;
  padding: 0 45px;
}

.event_countdown div {
  min-width: 80px;
}

.event_countdown strong {
  display: block;
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #00f5ff 0%, #ff0033 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: saturate(0.9) contrast(1.9);
}

.event_countdown span {
  display: block;
  margin-top: 5px;
  color: #777;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.intro {
  width: min(1100px, calc(100% - 40px));
  margin: 140px auto 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.intro_text h1 {
  margin: 0 0 22px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
}

.intro_text p {
  margin: 0;
  color: #777;
  font-size: 16px;
  line-height: 1.8;
}

.intro_image_box {
  position: relative;
  z-index: 1;
  border-radius: 20px;
}

.intro_image_box::before {
  content: "";
  position: absolute;
  left: 28px;
  right: -28px;
  bottom: -28px;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg, #00cfd9, #ff0f31);
  border-radius: 20px;
}

.intro_image_box img {
  width: 100%;
  display: block;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  border-radius: 20px;
}

.schedule {
  width: min(1100px, calc(100% - 40px));
  margin: 90px auto;
}

.schedule_intro {
  max-width: 470px;
  margin-bottom: 45px;
}

.schedule_intro h2 {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
}

.schedule_intro p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.schedule_item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  padding: 28px 0;
}

.schedule_item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #d8d8d8;
}

.schedule_left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.schedule_left img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 20px;
}

.schedule_left h3 {
  margin: 0 0 9px;
  font-size: 22px;
  font-weight: 800;
}

.schedule_left span {
  color: #8d8d8d;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.schedule_right {
  display: flex;
  align-items: center;
}

.schedule_right p {
  margin: 0;
  color: #777;
  font-size: 15px;
  line-height: 1.75;
}

.gallery_section {
  margin: 100px 0;
  padding: 38px 0 35px;
  background: linear-gradient(135deg, #00cfd9 4%, #ff0f31 88%);
  overflow: hidden;
  text-align: center;
}

.gallery_section h2 {
  margin: 0 0 12px;
  color: white;
  font-size: 26px;
  font-weight: 800;
}

.circle_slider {
  user-select: none;
  touch-action: pan-y;
  position: relative;
  width: 875px;
  max-width: 100%;
  height: 375px;
  margin: 0 auto;
}

.circle_slider.is_dragging {
  cursor: grabbing;
}

.circle_track {
  position: relative;
  width: 100%;
  height: 100%;
}

.circle_slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%) scale(0.45);
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.circle_slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.circle_slide.is_active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.45);
}

.circle_slide.is_left {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transform: translate(-360px, -50%) scale(0.56);
}

.circle_slide.is_right {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transform: translate(130px, -50%) scale(0.56);
}

.circle_slide.is_hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%) scale(0.45);
}

.circle_btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background: white;
  color: #ff0f31;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.circle_btn span {
  background: linear-gradient(135deg, #00cfd9, #ff0f31);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: saturate(0.9) contrast(1.9);
}

.circle_prev {
  left: 45px;
}

.circle_next {
  right: 45px;
}

.gallery_text {
  width: min(620px, calc(100% - 40px));
  margin: 0 auto;
  color: white;
  text-align: center;
}

.gallery_text h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}

.gallery_text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.vertical_slider_section {
  padding: 100px 0;
  background: #fff;
  touch-action: auto;
}

.vertical_slider {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 18px 1.2fr 1fr;
  gap: 55px;
  align-items: center;
}

.vertical_dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.vertical_dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #777;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  transition:
    height 0.35s ease,
    border-radius 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.vertical_dot.is_active {
  height: 36px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(180deg, #00cfd9, #ff0f31);
}

.vertical_image {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.vertical_image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.vertical_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vertical_text h2 {
  margin: 0 0 28px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
}

.vertical_text h2 strong {
  font-weight: 900;
}

.vertical_text p {
  margin: 0;
  max-width: 390px;
  color: #777;
  font-size: 13px;
  line-height: 2;
}

.cta_section {
  width: 100%;
  margin: 100px 0;
  padding: 40px 20px;
  background: linear-gradient(135deg, #00cfd9 4%, #ff0f31 68%);
}

.cta_inner {
  width: min(1100px, calc(100% - 40px));
  min-height: 170px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta_logo {
  width: 120px;
  flex-shrink: 0;
}

.cta_text {
  flex: 1;
  color: white;
}

.cta_text h2 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
}

.cta_text p {
  margin: 0;
  font-size: 15px;
  opacity: 0.95;
}

.cta_button {
  min-width: 140px;
  height: 48px;
  padding: 0 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: white;
  text-decoration: none;

  flex-shrink: 0;
}

.cta_button span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;

  background: linear-gradient(135deg, #00cfd9, #ff0f31);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: saturate(0.9) contrast(1.9);
}

.logos_footer {
  width: min(1100px, calc(100% - 40px));
  margin: 60px auto 80px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.logos_row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 34px;
  align-items: center;
  justify-items: center;
}

.logos_row img {
  max-width: 100px;
  max-height: 55px;
  object-fit: contain;
  display: block;
  filter: grayscale(1);
  opacity: 0.75;
  transition:
    opacity 0.25s ease,
    filter 0.25s ease;
}

.logos_row img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* =========================================================
   GLOBAL / ANIMACJE
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal_center {
  opacity: 0;
  transform: translateX(-50%) translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal_center.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1250px) {
  .logos_footer {
    width: min(900px, calc(100% - 40px));
  }

  .logos_row {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1160px) {
  .intro_image_box::before {
    left: 15px;
    right: -15px;
    bottom: -20px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: 760px;
  }

  .hero_event {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .event_date {
    border-radius: 20px 20px 0 0;
    justify-content: center;
  }

  .event_countdown {
    padding: 25px 20px;
    gap: 24px;
  }

  .intro {
    max-width: 680px;
    grid-template-columns: 1fr;
    margin-top: 150px;
    gap: 45px;
  }

  .intro_image_box {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .intro_text h1 {
    font-size: 34px;
  }

  .schedule_item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .vertical_slider {
    grid-template-columns: 18px 1fr;
    gap: 28px;
  }

  .vertical_text {
    grid-column: 2;
  }

  .cta_inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .cta_text h2 {
    font-size: 26px;
  }

  .logos_footer {
    width: min(680px, calc(100% - 40px));
  }

  .logos_row {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .circle_slider {
    height: 275px;
  }

  .circle_slide {
    width: 190px;
    height: 190px;
  }

  .circle_slide.is_left {
    transform: translate(-230px, -50%) scale(0.5);
  }

  .circle_slide.is_right {
    transform: translate(40px, -50%) scale(0.5);
  }

  .circle_prev {
    left: 15px;
  }

  .circle_next {
    right: 15px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 560px;
    background-position: center top;
  }

  .hero_logo {
    top: 20px;
    left: 20px;
    width: 75px;
  }

  .hero_socials {
    top: 32px;
    left: auto;
    right: 20px;
    transform: none;
    gap: 10px;
  }

  .hero_socials a {
    width: 28px;
    height: 28px;
  }

  .hero_event {
    bottom: -95px;
    width: calc(100% - 24px);
  }

  .event_date {
    padding: 20px;
  }

  .event_day {
    font-size: 44px;
  }

  .event_info p {
    font-size: 11px;
  }

  .event_countdown {
    gap: 12px;
    padding: 20px 12px;
  }

  .event_countdown div {
    min-width: 68px;
  }

  .event_countdown strong {
    font-size: 32px;
  }

  .event_countdown span {
    font-size: 10px;
  }

  .intro {
    margin-top: 155px;
  }

  .intro_image_box::before {
    left: 14px;
    right: -14px;
    bottom: -14px;
  }

  .schedule {
    margin: 60px auto;
  }

  .schedule_intro h2 {
    font-size: 32px;
  }

  .schedule_left {
    align-items: flex-start;
    gap: 16px;
  }

  .schedule_left img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
  }

  .gallery_section {
    margin: 70px 0;
  }

  .vertical_slider_section {
    padding: 70px 0;
  }

  .vertical_slider {
    grid-template-columns: 18px 1fr;
    gap: 20px;
    align-items: center;
  }

  .vertical_dots {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    justify-content: center;
  }

  .vertical_image {
    grid-column: 2;
    grid-row: 1;
  }

  .vertical_text {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .vertical_text h2 {
    margin-bottom: 16px;
    font-size: 26px;
  }

  .vertical_text p {
    max-width: none;
    font-size: 14px;
    line-height: 1.7;
  }

  .vertical_dot.is_active {
    width: 9px;
    height: 36px;
  }

  .cta_section {
    margin: 60px 0 40px;
    padding: 36px 16px;
  }

  .cta_inner {
    width: 100%;
  }

  .cta_logo {
    width: 95px;
  }

  .cta_text h2 {
    font-size: 24px;
  }

  .cta_button {
    width: 100%;
    max-width: 220px;
  }

  .logos_footer {
    width: min(360px, calc(100% - 32px));
    gap: 24px;
    margin: 50px auto;
  }

  .logos_row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .logos_row img {
    max-width: 95px;
    max-height: 42px;
  }
}

@media (max-width: 595px) {
  .intro {
    width: calc(100% - 32px);
  }

  .intro_image_box {
    width: calc(100% - 20px);
  }

  .intro_image_box::before {
    left: 10px;
    right: -10px;
    bottom: -10px;
  }
}
