/* Add here all your CSS customizations */
#header .header-row {
	display: flex;
	flex-grow: 0;
	align-items: center;
	align-self: stretch;
	max-height: 100%;
}

.timer-box {
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  min-width: 60px;
  transition: all 0.2s ease;
}

.timer-box:hover {
  border-color: #d0d0ff;
  background: #f9f9ff;
}

.timer-value {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Inter", sans-serif;
  color: #2c2c2c;
}

.timer-label {
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 575.98px) {
  .timer-value { font-size: 1.5rem; }
  .timer-box { min-width: 50px; padding: 0.4rem 0.5rem; }
}


.bg-color-grey {
  background: #eefaff !important;
}

section.section {
    padding: 20px 0 !important;
}


.bg-color-light {
  background-image: url('../images/section-bg.png') !important;
  background-size: cover; /* Scales image to cover entire section */
  background-repeat: no-repeat; /* Prevents tiling of the image */
  background-position: center center; /* Centers the image */
}

.bg-color-light {
  width: 100%;
}

/* make carousel a positioning context */
#myCarousel {
  position: relative;
  overflow: visible; /* allow the overlay to show */
}

/* overlay that appears at the bottom of the carousel */
#myCarousel .carousel-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: rgb(0 0 0 / 74%); /* light transparent black */
  padding: 10px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* allow clicks to pass through to controls by default */
}

/* allow interactive children (buttons/links/inputs) inside overlay to be clickable */
#myCarousel .carousel-overlay * {
  pointer-events: auto;
}

/* ensure controls and indicators remain clickable and above overlay */
#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next,
#myCarousel .carousel-indicators {
  z-index: 10;
}

/* style the countdown cards so they look good on the overlay */
#myCarousel .countdown-card {
  border-radius: .5rem;
  border: 1px solid rgba(255,255,255,0.12);
  height: 72px;
  width: 72px;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  background: rgba(255,255,255,0.03);
  color: #fff;
}

/* numbers larger, label subtle */
#myCarousel .countdown-card strong {
  font-size: 2rem;
  line-height: 1;
}

#myCarousel .countdown-card small {
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  font-size: 1rem;
  margin-top: 4px;
}

/* responsive: reduce card size on small screens */
@media (max-width: 480px) {
  #myCarousel .countdown-card {
    height: 60px;
    width: 60px;
    min-width: 60px;
  }
  #myCarousel .carousel-overlay { padding: 8px; }
  #myCarousel .countdown-card strong { font-size: 1.05rem; }
}
