/* Small custom touches on top of Bootstrap */
:root {
  --brand-accent: #6f42c1; /* purple-ish accent */
}

.brand-accent { color: var(--brand-accent); }
a { text-decoration: none; }
a:hover { text-decoration: underline; }

.hero {
  background: radial-gradient(1200px circle at 20% 10%, rgba(111, 66, 193, 0.18), transparent 60%),
              radial-gradient(900px circle at 90% 30%, rgba(13, 110, 253, 0.14), transparent 55%),
              linear-gradient(180deg, #0b0f19 0%, #0b0f19 35%, #ffffff 35%, #ffffff 100%);
  padding: 4rem 0 2.5rem;
}

.hero .card {
  border: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.card-hover {
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.16);
}

/* Fixed size for all section thumbnails */
.thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  border-top: 1px solid rgba(0,0,0,0.08);
}


/* Pixel Platform hero */
.hero {
  position: relative;
  background: linear-gradient(
                rgba(11,15,25,0.65),
                rgba(11,15,25,0.65)
              ),
              url("../img/detector.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0 6rem;
  color: white;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.navbar-brand img {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}


/* Pixel Platform accordion styling */
.pp-accordion .accordion-item {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 0.75rem;
}

.pp-accordion .accordion-button {
  font-weight: 700;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Remove Bootstrap default caret icon so we can animate our own */
.pp-accordion .accordion-button::after {
  display: none;
}

/* Chevron animation */
.pp-chevron {
  display: inline-block;
  transition: transform 180ms ease;
  font-size: 1.1rem;
  opacity: 0.8;
}

/* When expanded, rotate chevron up */
.pp-accordion .accordion-button:not(.collapsed) .pp-chevron {
  transform: rotate(180deg);
}

/* Slightly nicer expanded state */
.pp-accordion .accordion-button:not(.collapsed) {
  background: rgba(13, 110, 253, 0.06);
  color: inherit;
  box-shadow: none;
}

.img-clickable {
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.img-clickable:hover {
  transform: scale(1.02);
}