/* =========================
    TITLES
========================= */

.watermark-title {
  display: flex;
  background-color: var(--background);
  position: sticky;
  top: 0px;
  z-index: 12;
  padding: 5px 0 0 0;
  justify-content: space-between;
}

.watermark-title-1 {
  color: var(--orange);
  font-size: clamp(18px, 16.28px + 0.536vw, 24px);
  margin: 0px;
}

.watermark-title-2 {
  color: var(--white);
  font-size: clamp(18px, 16.28px + 0.536vw, 24px);
  margin: 0px;
}

.page-title {
  color: var(--white);
  font-size: clamp(46px, 35.14px + 3.393vw, 84px);
  margin: 0;
}

.hero {
  text-align: center;
  padding-top: clamp(10px, 6px + 1.25vw, 24px);
}

.hero-subtitle {
  font-size: clamp(18px, 16.28px + 0.536vw, 24px);
  color: var(--orange);
  margin: 0;
}

.page-title span {
  color: var(--orange);
}

/* =========================
    CONTROLS
========================= */

.top-controls {
  display: flex;
  margin-top: 10px;
  position: relative;
  align-items: center;
  gap: clamp(6px, 4.86px + 0.357vw, 10px);
  /* display: none; */
}

/* =========================
    SOUND TOGGLE
========================= */

.icon {
  display: none;
}

#sound-toggle .icon-on,
#sound-toggle .icon-off {
  display: none;
}

#sound-toggle.active .icon-on {
  display: block;
  fill: var(--light-gray);
}

#sound-toggle:not(.active) .icon-off {
  display: block;
}

#sound-toggle {
  width: fit-content;
  height: fit-content;
  padding: 3px;
  transition: opacity 0.3s ease;
}

#sound-toggle:not(.active) {
  background: transparent;
}

#sound-toggle .open-svg {
  width: var(--sound-button);
  height: var(--sound-button);
  color: var(--light-gray);
}

#sound-toggle.active {
  background: transparent;
}

/* =========================
   SEARCH BAR
========================= */

.search-bar {
  display: flex;
  background-color: var(--dark-blue);
  border-radius: 10px;
  width: fit-content;
  caret-color: var(--white);
  transition: box-shadow 0.25s ease;
  align-items: center;
}

/* .search-bar:focus-within {
  border: 2px solid var(--orange);
} */

.search-icon {
  width: clamp(22px, 19.43px + 0.804vw, 31px);
  height: clamp(22px, 19.43px + 0.804vw, 31px);
  padding: 2px;
  color: var(--light-blue);
  cursor: pointer;
}

.search-input {
  color: var(--white);
  font-size: var(--search-input);
  background-color: var(--dark-blue);
  font-family: "Cal Sans";
  padding: 0;
  border: none;
  border-radius: 10px;
  outline: none;
  width: 0;
  opacity: 0;
  transition:
    width 0.3s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
  pointer-events: none;
}

.search-bar.open .search-input {
  width: clamp(140px, 128.57px + 3.571vw, 180px);
  opacity: 1;
  pointer-events: all;
  padding-left: 5px;
}

.search-input::placeholder {
  color: var(--light-blue);
}

/* =========================
    FILTERS
========================= */

.filters-wrapper {
  margin-top: clamp(5px, 3.57px + 0.446vw, 10px);
  background-color: var(--background);
  position: sticky;
  top: clamp(30px, 27.86px + 0.67vw, 37.5px);
  padding: 10px 0;
  z-index: 10;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters-wrapper::-webkit-scrollbar {
  display: none;
}

.filters {
  display: flex;
  gap: clamp(6px, 4.86px + 0.357vw, 10px);
  white-space: nowrap;
  width: fit-content;
  margin: 0 auto;
}

.filters button {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark-blue);
  font-size: var(--filters);
  color: var(--light-blue);
  border-radius: 10px;
  padding: clamp(3px, 2.43px + 0.179vw, 5px) clamp(6px, 4.86px + 0.357vw, 10px);
  cursor: pointer;
  transition: transform 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.filters button:active,
.filters button.pressed {
  transform: scale(0.95);
}

.filters button.active {
  background-color: var(--orange);
  color: var(--white-filter);
}

/* =========================
    FEATURED
========================= */

.section-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--event-date);
  width: clamp(200px, 142.86px + 17.857vw, 400px);
  margin: 10px auto clamp(0px, -2.857px + 0.893vw, 8px); /*top sides bottom*/
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.carousel-section {
  padding-top: 10px;
  padding-bottom: 20px;
}

.carousel-track-wrap {
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
}

.carousel-track {
  display: flex;
  gap: clamp(8px, 5.71px + 0.714vw, 16px);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: fit-content;
  margin: 0 auto;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 clamp(120px, 108.57px + 2.857vw, 160px);
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--event-card-bg);
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.carousel-card-img {
  width: 100%;
  height: clamp(90px, 81.43px + 2.143vw, 120px);
  object-fit: cover;
  display: block;
}

.carousel-card-body {
  padding: 5px;
}

.carousel-card-title {
  font-size: clamp(14px, 12.86px + 0.357vw, 18px); /*18*/
  color: var(--orange);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: capitalize;
}

.carousel-card-date {
  font-size: clamp(14px, 12.86px + 0.357vw, 18px); /*16*/
  color: var(--light-gray);
}
