// main: ../main.scss
/*--------------------------------------------------------------
# Events 3 Section
--------------------------------------------------------------*/
.events-3 {
  .event-intro {
    padding: 2rem 0;

    .event-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background-color: var(--accent-color);
      color: var(--contrast-color);
      padding: 0.45rem 1.2rem;
      border-radius: 6px;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      margin-bottom: 1.5rem;
    }

    h2 {
      font-size: 3.2rem;
      font-weight: 800;
      margin-bottom: 1.2rem;
      line-height: 1.15;
      position: relative;
      padding-left: 1.5rem;
      border-left: 5px solid var(--accent-color);
    }

    p {
      font-size: 1.1rem;
      color: color-mix(in srgb, var(--default-color), transparent 30%);
      margin-bottom: 2rem;
      line-height: 1.7;
      max-width: 540px;
    }

    .event-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      margin-bottom: 2rem;

      .meta-item {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        font-weight: 500;
        color: color-mix(in srgb, var(--default-color), transparent 20%);

        i {
          font-size: 1.2rem;
          color: var(--accent-color);
        }
      }
    }

    .event-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      background-color: var(--accent-color);
      color: var(--contrast-color);
      padding: 0.9rem 2rem;
      border-radius: 10px;
      font-weight: 600;
      font-size: 1rem;
      transition: all 0.3s ease;
      text-decoration: none;

      &:hover {
        background-color: color-mix(in srgb, var(--accent-color), #000 15%);
        color: var(--contrast-color);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 50%);
      }

      i {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
      }

      &:hover i {
        transform: translateX(4px);
      }
    }
  }

  .event-hero-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px color-mix(in srgb, var(--default-color), transparent 85%);

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 380px;
    }

    .floating-label {
      position: absolute;
      bottom: 20px;
      left: 20px;
      background-color: var(--surface-color);
      color: var(--accent-color);
      padding: 0.6rem 1.2rem;
      border-radius: 10px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 600;
      font-size: 0.9rem;
      box-shadow: 0 8px 20px color-mix(in srgb, var(--default-color), transparent 80%);

      i {
        font-size: 1.1rem;
      }
    }
  }

  .highlight-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;

    .highlight-card {
      background-color: var(--surface-color);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 90%);
      transition: all 0.3s ease;

      &:hover {
        box-shadow: 0 15px 50px color-mix(in srgb, var(--default-color), transparent 82%);
        transform: translateY(-5px);
      }

      .highlight-img {
        position: relative;
        height: 100%;
        min-height: 280px;
        overflow: hidden;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: transform 0.5s ease;
        }

        .img-tag {
          position: absolute;
          top: 15px;
          left: 15px;
          background-color: var(--accent-color);
          color: var(--contrast-color);
          padding: 0.4rem 1rem;
          border-radius: 8px;
          font-size: 0.82rem;
          font-weight: 600;
          display: flex;
          align-items: center;
          gap: 0.4rem;
        }
      }

      &:hover .highlight-img img {
        transform: scale(1.08);
      }

      .highlight-body {
        padding: 2.5rem;

        h3 {
          font-size: 1.6rem;
          font-weight: 700;
          margin-bottom: 0.8rem;
        }

        p {
          color: color-mix(in srgb, var(--default-color), transparent 25%);
          line-height: 1.65;
          margin-bottom: 1.5rem;
        }

        .perks-list {
          list-style: none;
          padding: 0;
          margin: 0 0 1.5rem 0;

          li {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.5rem 0;
            font-weight: 500;

            i {
              color: var(--accent-color);
              font-size: 1.1rem;
            }
          }
        }

        .card-action {
          display: inline-flex;
          align-items: center;
          gap: 0.5rem;
          color: var(--accent-color);
          font-weight: 600;
          text-decoration: none;
          border-bottom: 2px solid transparent;
          padding-bottom: 2px;
          transition: all 0.3s ease;

          &:hover {
            border-bottom-color: var(--accent-color);
            gap: 0.8rem;
          }

          i {
            transition: transform 0.3s ease;
          }

          &:hover i {
            transform: translateX(4px);
          }
        }
      }
    }
  }

  .accolades-strip {
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 25%));
    border-radius: 18px;
    padding: 0;
    margin-bottom: 4rem;
    overflow: hidden;

    .accolade-tile {
      text-align: center;
      padding: 2.5rem 1.5rem;
      position: relative;
      transition: background-color 0.3s ease;

      &::after {
        content: "";
        position: absolute;
        top: 20%;
        right: 0;
        height: 60%;
        width: 1px;
        background-color: color-mix(in srgb, var(--contrast-color), transparent 70%);
      }

      &:hover {
        background-color: color-mix(in srgb, var(--contrast-color), transparent 90%);
      }

      .tile-icon {
        width: 55px;
        height: 55px;
        background-color: color-mix(in srgb, var(--contrast-color), transparent 80%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.2rem;

        i {
          font-size: 1.5rem;
          color: var(--contrast-color);
        }
      }

      h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--contrast-color);
        margin-bottom: 0.3rem;
      }

      span {
        font-size: 0.88rem;
        color: color-mix(in srgb, var(--contrast-color), transparent 30%);
      }
    }

    .col-lg-3:last-child .accolade-tile::after,
    .col-md-6:last-child .accolade-tile::after {
      display: none;
    }
  }

  .values-section {
    margin-bottom: 2rem;

    .values-panel {
      background-color: var(--surface-color);
      border-radius: 20px;
      padding: 2.5rem;
      height: 100%;
      box-shadow: 0 10px 35px color-mix(in srgb, var(--default-color), transparent 92%);
      border-top: 4px solid var(--accent-color);

      .panel-badge {
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;

        i {
          font-size: 1.6rem;
          color: var(--contrast-color);
        }
      }

      h3 {
        font-size: 1.6rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
      }

      >p {
        color: color-mix(in srgb, var(--default-color), transparent 35%);
        margin-bottom: 2rem;
        font-size: 0.95rem;
      }
    }

    .counter-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.2rem;

      .counter-box {
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 92%), color-mix(in srgb, var(--accent-color), transparent 88%));
        border-radius: 14px;
        padding: 1.3rem;
        text-align: center;
        transition: transform 0.3s ease;

        &:hover {
          transform: translateY(-3px);
        }

        strong {
          display: block;
          font-size: 1.7rem;
          font-weight: 800;
          color: var(--accent-color);
          margin-bottom: 0.4rem;
        }

        span {
          font-size: 0.82rem;
          color: color-mix(in srgb, var(--default-color), transparent 40%);
          line-height: 1.3;
        }
      }
    }

    .green-list {
      display: flex;
      flex-direction: column;
      gap: 0;

      .green-item {
        display: flex;
        align-items: center;
        gap: 1.2rem;
        padding: 1.1rem 0;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        transition: padding-left 0.3s ease;

        &:last-child {
          border-bottom: none;
        }

        &:hover {
          padding-left: 0.5rem;
        }

        .green-icon {
          width: 42px;
          height: 42px;
          background: color-mix(in srgb, var(--accent-color), transparent 88%);
          border-radius: 10px;
          display: flex;
          align-items: center;
          justify-content: center;
          flex-shrink: 0;

          i {
            font-size: 1.1rem;
            color: var(--accent-color);
          }
        }

        .green-text {
          strong {
            display: block;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.15rem;
          }

          span {
            font-size: 0.84rem;
            color: color-mix(in srgb, var(--default-color), transparent 45%);
          }
        }
      }
    }

    .green-panel {
      border-top-color: color-mix(in srgb, var(--accent-color), #28a745 30%);

      .panel-badge {
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), #28a745 30%), color-mix(in srgb, var(--accent-color), #28a745 50%));
      }
    }
  }

  @media (max-width: 992px) {
    .event-intro {
      h2 {
        font-size: 2.5rem;
      }
    }

    .event-hero-img {
      margin-top: 2rem;

      img {
        min-height: 300px;
      }
    }

    .highlight-cards .highlight-card {
      .highlight-img {
        min-height: 240px;
      }
    }

    .accolades-strip {
      .col-md-6:nth-child(2) .accolade-tile::after {
        display: none;
      }
    }

    .values-section .counter-grid {
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }
  }

  @media (max-width: 768px) {
    .event-intro {
      h2 {
        font-size: 2rem;
        padding-left: 1rem;
        border-left-width: 4px;
      }

      p {
        font-size: 1rem;
      }

      .event-meta {
        flex-direction: column;
        gap: 0.8rem;
      }
    }

    .highlight-cards .highlight-card .highlight-body {
      padding: 1.8rem;
    }

    .accolades-strip .accolade-tile {
      padding: 2rem 1rem;

      &::after {
        display: none;
      }
    }

    .values-section {
      .values-panel {
        padding: 2rem 1.5rem;
      }

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