:root {
  --tk-bg: #f8f9fc;
  --tk-surface: #ffffff;
  --tk-surface-2: #eaecf4;
  --tk-line: #e3e6f0;
  --tk-text: #30363d;
  --tk-muted: #6e707e;
  --tk-dark: #30363d;
  --tk-brand: #51ad96;
  --tk-brand-dark: #3d8c79;
  --tk-blue: #696cff;
  --tk-radius: 0.85rem;
  --tk-shadow: 0 0.75rem 1.75rem rgba(58, 59, 69, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tk-bg);
}

#layout-navbar {
  background: #30363D !important;
  border-bottom: 0;
  box-shadow: none !important;
}

#layout-navbar .nav-link {
  color: #fff;
}

#layout-navbar .navbar-nav > .dropdown-item {
  color: #fff;
}

#layout-navbar .dropdown-menu .dropdown-item {
  color: var(--tk-text);
}

.tikket-home {
  position: relative;
  overflow: hidden;
  color: var(--tk-text);
  background: var(--tk-bg);
}

.tikket-home a {
  color: inherit;
  text-decoration: none;
}

.tk-banner-slider {
  padding: 0;
}

.tk-banner-slider .carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--tk-surface-2);
  box-shadow: none;
}

.tk-banner-slider .carousel::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 249, 252, 0), var(--tk-bg));
}

.tk-banner-slider .carousel-item {
  height: min(54vh, 540px);
  min-height: 340px;
}

.tk-banner-slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tk-banner-slider .carousel-control-prev,
.tk-banner-slider .carousel-control-next {
  width: 4.5rem;
}

.tk-banner-slider .carousel-control-prev-icon,
.tk-banner-slider .carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: rgba(48, 54, 61, 0.62);
  background-size: 55%;
}

.tk-section__head p {
  color: var(--tk-muted);
}

.tk-section {
  padding-top: clamp(3.8rem, 7vw, 6.5rem);
}

.tk-section--featured {
  margin-top: clamp(-3.5rem, -5vw, -2rem);
  padding-top: 0;
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.tk-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.15rem;
}

.tk-section__head h2 {
  margin: 0;
  color: var(--tk-text);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
}

.tk-section__head p {
  max-width: 340px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.tk-event-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.tk-event-card {
  overflow: hidden;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  background: var(--tk-surface);
  box-shadow: var(--tk-shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tk-event-card:hover {
  border-color: rgba(81, 173, 150, 0.38);
  box-shadow: 0 1rem 2.4rem rgba(58, 59, 69, 0.16);
  transform: translateY(-4px);
}

.tk-event-card figure {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--tk-surface-2);
}

.tk-event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.tk-event-card:hover img {
  transform: scale(1.04);
}

.tk-badge,
.tk-date {
  border: 1px solid var(--tk-line);
  border-radius: 0.65rem;
  background: var(--tk-surface-2);
}

.tk-badge {
  padding: 0.42rem 0.65rem;
  color: var(--tk-brand-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(81, 173, 150, 0.12);
}

.tk-date {
  display: inline-grid;
  min-width: 48px;
  padding: 0.38rem 0.48rem;
  text-align: left;
  color: var(--tk-text);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.tk-date strong {
  margin-right: 0.16rem;
  color: var(--tk-brand-dark);
  font-size: 1rem;
  line-height: 1;
}

.tk-event-card__body {
  padding: 1rem;
}

.tk-event-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
}

.tk-event-card__city {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 20px;
  margin: 0 0 0.45rem;
  color: var(--tk-muted);
  font-size: 0.82rem;
}

.tk-event-card h3 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: var(--tk-text);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.18;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tk-section--past {
  padding-top: 0;
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.tk-past-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.55rem;
}

.tk-past-card {
  overflow: hidden;
  border: 1px solid var(--tk-line);
  border-radius: 0.65rem;
  background: var(--tk-surface);
  box-shadow: 0 0.5rem 1.25rem rgba(58, 59, 69, 0.08);
}

.tk-past-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: saturate(0.9);
}

.tk-footer {
  color: #fff;
  background: var(--tk-dark);
  border-top: 0;
}

.tk-footer p {
  color: rgba(255, 255, 255, 0.7);
}

.tk-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.tk-footer__logo {
  width: 128px;
  margin-bottom: 1rem;
}

.tk-footer nav {
  display: grid;
  gap: 0.55rem;
}

.tk-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.tk-footer a:hover {
  color: #fff;
}

.tk-footer__social {
  display: flex;
  gap: 0.7rem;
}

.tk-footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--tk-line);
  border-radius: 0.65rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.25rem;
}

.tk-footer__social a:hover {
  border-color: var(--tk-brand);
  background: rgba(81, 173, 150, 0.18);
}

.tk-footer__bottom {
  padding-bottom: 1.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.tk-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: var(--tk-muted);
}

.tk-empty {
  gap: 0.7rem;
  border: 1px dashed var(--tk-line);
  border-radius: var(--tk-radius);
}

.tk-empty i {
  font-size: 2rem;
}

.tk-muted {
  color: var(--tk-muted);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .tk-event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tk-past-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tk-banner-slider .carousel-item {
    height: 42vh;
    min-height: 260px;
  }

  .tk-section {
    padding-top: 3.6rem;
  }

  .tk-section--featured {
    margin-top: -1.6rem;
    padding-top: 0;
  }

  .tk-section__head,
  .tk-footer__inner {
    display: grid;
  }

  .tk-event-grid {
    display: grid;
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
    gap: 1rem;
  }

  .tk-event-card {
    width: 100%;
  }

  .tk-past-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .tk-footer__inner {
    grid-template-columns: 1fr;
  }

  .tk-footer__social {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .tk-event-grid {
    grid-template-columns: minmax(0, 100%);
  }

  .tk-past-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
