@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-ThinItalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-ExtraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-ExtraLightItalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-LightItalic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-MediumItalic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-ExtraBoldItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins/Poppins-BlackItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

* {
  font-family: "Poppins", sans-serif;
}

body a {
  text-decoration: none;
}

/* HEADER */
#main-header {
  /*position: fixed;*/
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  .header-top {
    background-color: #2a013d;
    padding: 10px 20px;
  }

  .header-bottom {
    background-color: #ffffff;
    padding: 15px 20px;

    @media screen and (max-width: 989px) {
      box-shadow: 0px 4px 30px 0px #0000001a;
    }
  }

  section,
  nav {
    max-width: 1320px;
    margin: auto;
  }

  .header-contact {
    display: flex;
    justify-content: space-between;

    @media screen and (max-width: 550px) {
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }

    .left {
      display: flex;
      gap: 25px;

      a {
        text-decoration: none;
        display: flex;
        gap: 10px;
        align-items: center;
        font-weight: 700;
        font-size: 12px;
        line-height: 1.6;
        color: #fff;
        white-space: nowrap;
      }
    }

    .right {
      display: flex;
      gap: 20px;

      path {
        transition: all 0.3s ease-in-out;
      }

      svg {
        max-width: 15px;
        width: auto;
        height: auto;

        &:hover {
          path {
            fill: #ff6435;
          }
        }
      }
    }
  }

  .header-nav {
    display: flex;
    justify-content: space-between;
    gap: 50px;
  }

  .logo-container {
    img {
      display: block;
      max-width: 200px;
      width: auto;
      height: auto;
    }
  }

  .header-menu-container {
    display: flex;
    gap: 25px;
    align-items: center;
  }

  .button {
    text-decoration: none;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    background-color: #2a013d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    outline: unset;
    width: fit-content;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    transform-origin: center;
    border: 1px solid transparent;
    min-width: 120px;
    text-align: center;
    cursor: pointer;
  }
}

/* FOOTER */

footer {
  .footer-top {
    background-color: #2a013d;
    color: #fff;
    padding: 70px 20px 50px;
  }

  .footer-bottom {
    padding: 10px 20px;
    background-color: #ff6435;
  }

  section {
    max-width: 1060px;
    margin: auto;
  }

  h2 {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #ff6435;
    margin-bottom: 20px;
  }

  p,
  a {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-info {
    border-bottom: 1px solid #ff6435;
    padding-bottom: 30px;
    margin-bottom: 30px;

    a {
      color: #ffffff;
    }
  }

  .footer-info,
  .footer-menus {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    @media screen and (max-width: 900px) {
      flex-wrap: wrap;
    }

    > div {
      display: flex;
      flex-direction: column;

      @media screen and (max-width: 900px) {
        flex-basis: calc(50% - 20px);
      }

      @media screen and (max-width: 590px) {
        flex-basis: 100%;
      }

      &.mobile-hidden {
        @media screen and (max-width: 590px) {
          display: none;
        }
      }
    }
  }

  .footer-logo {
    max-width: 210px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
  }

  .footer-social {
    display: flex;
    gap: 20px;

    path {
      transition: all 0.3s ease-in-out;
    }

    svg {
      display: block;
      width: 20px;
      height: 20px;

      &:hover {
        path {
          fill: #ff6435;
        }
      }
    }
  }

  .footer-menus {
    .footer-menu {
      list-style-type: none;
      padding-left: 0;

      li {
        margin-bottom: 5px;

        a {
          font-weight: 400;
          font-size: 13px;
          line-height: 1.2;
          color: #b4b4b4;
        }

        &.mobile-visible {
          display: none;

          @media screen and (max-width: 590px) {
            display: block;
          }
        }
      }
    }
  }

  .footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;

    @media screen and (max-width: 900px) {
      flex-direction: column;
    }

    ul {
      list-style-type: none;
      display: flex;
      gap: 50px;

      @media screen and (max-width: 550px) {
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
        flex-wrap: wrap;
      }

      li {
        @media screen and (max-width: 550px) {
          flex-basis: calc(50% - 10px);
        }
      }
    }

    p,
    a {
      font-weight: 500;
      font-size: 11px;
      line-height: 1.2;
      color: #fff;
    }
  }
}

/* MAIN */

.landing-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #ffffff;
  min-height: 100vh;
}

.site-main {
  .image-wrapper {
    img {
      width: 100%;
      object-fit: cover;
      max-height: 500px;
      display: block;

      @media screen and (max-width: 989px) {
        max-height: 300px;
      }
    }
  }

  .form-wrapper {
    max-width: 1120px;
    position: relative;
    top: -150px;
    box-shadow: 0px 4px 30px 0px #0000001a;
    z-index: 1;
    margin-inline: auto;
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: -70px;

    @media screen and (max-width: 989px) {
      flex-direction: column;
      top: unset;
      margin-bottom: unset;
    }

    .left {
      background-color: #ffffff;
      padding: 35px;
      flex-basis: 43%;

      h1 {
        font-weight: 700;
        font-size: 28px;
        line-height: 2;
        margin-bottom: 20px;
        color: #2a013d;
      }

      p {
        font-weight: 400;
        font-size: 12px;
        line-height: 1.6;
        color: #7d7d7d;
      }
    }

    /* .day-info-additional-data: dynamically rendered key-value blocks from event day additional_data */
    .day-info {
      display: none;
      justify-content: space-between;
      padding-bottom: 15px;
      border-bottom: 1px solid #d6d6d6;
      margin-bottom: 15px;

      .key {
        font-weight: 600;
        font-size: 17px;
        line-height: 1.45;
        color: #ff6435;
      }

      .value {
        font-weight: 700;
        font-size: 20px;
        line-height: 1.6;
        color: #2a013d;
      }
    }

    .right {
      background-color: #f7f7f7;
      padding: 35px;
      flex-basis: 57%;

      .form-title {
        font-weight: 600;
        font-size: 21px;
        line-height: 2;
        color: #ff6435;
      }

      .form-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
        gap: 10px;

        @media screen and (max-width: 550px) {
          flex-direction: column;
        }

        .form-group {
          flex-basis: 50%;
        }
      }

      label {
        font-weight: 500;
        font-size: 12px;
        line-height: 150%;
        color: #2a013d;
        width: 100%;
        height: 100%;
      }

      input,
      select {
        font-weight: 400;
        font-size: 12px;
        line-height: 1.5;
      }

      span.more {
        font-weight: 600;
        font-size: 11px;
        line-height: 1.5;
        color: #ff6435;
        cursor: pointer;
      }

      input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border: 1px solid #d6d6d6;
        border-radius: 3px;
        background-color: #fff;
        cursor: pointer;
        position: relative;
      }

      input[type="checkbox"]:checked {
        background-color: #007bff; /* fill colour */
        border-color: #007bff;
      }

      input[type="checkbox"]:focus {
        outline: 2px solid #99caff;
        outline-offset: 2px;
      }

      .city-hours-label {
        display: none;
      }

      .hour-input {
        appearance: none;
        width: 16px;
        height: 16px;
        border: 2px solid #d6d6d6;
        border-radius: 50%;
        position: relative;
        cursor: pointer;
      }

      /* Pełny slot – ukryj całkowicie */
      .hour-full,
      label:has(.hour-full) {
        display: none !important;
      }

      .hour-input:checked::after {
        content: "";
        width: 8px;
        height: 8px;
        background-color: #ff6435;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      .hour-input:disabled::after {
        background-color: #d6d6d6 !important;
      }

      .form-check-label {
        font-weight: 400;
        font-size: 11px;
        line-height: 1.5;
        color: #000000;
        padding-left: 12px;
      }

      #submit-button {
        background-color: #ff6435;
        color: #ffffff;
        padding: 7px 30px;
        font-weight: 700;
        font-size: 12px;
        line-height: 2;
        border-radius: 4px;
        width: fit-content;
        outline: unset;
        border: unset;
      }
    }
  }
}

.day-info-hour {
  display: none;
}

.site-main {
  .main-content.submitted {
    h1 {
      font-weight: 700;
      font-size: 28px;
      line-height: 2;
      text-align: center;
      color: #2a013d;
      margin-bottom: 20px;

      @media screen and (max-width: 450px) {
        font-size: 22px;
      }
    }

    .submitted-wrapper {
      padding: 35px;
      background-color: #ffffff;
      width: 100%;
    }

    .day-info-wrapper {
      max-width: 720px;
      margin-inline: auto;
      display: flex;
      justify-content: space-between;
      margin-bottom: 35px;

      @media screen and (max-width: 800px) {
        flex-direction: column;
      }

      .separator {
        height: auto;
        background-color: #d6d6d6;
        width: 1px;
      }
    }

    .day-info {
      @media screen and (min-width: 799px) {
        flex-direction: column;
        border-bottom: unset;
      }
    }

    .submit-date {
      font-weight: 600;
      font-size: 17px;
      line-height: 145%;
      text-align: center;
      color: #ff6435;
      margin-bottom: 10px;
    }

    .submit-hour {
      font-weight: 400;
      font-size: 12px;
      line-height: 20px;
      text-align: center;

      i {
        display: none;
      }
    }

    .submit-final-message {
      font-weight: 300;
      font-size: 12px;
      line-height: 20px;
      text-align: center;
    }
  }
}
