body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Increase global container width */
@media (min-width: 1200px) {
  .container {
    max-width: 1500px;
  }
}

.navbar-logo {
  height: 32px;
  width: auto;
}

/* Hero */

.hero-landing {
  position: relative;
  padding: 6rem 2rem 5rem;
  color: #fff;
  background-size: cover;
  background-position: center center;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  overflow: hidden;
}


.hero-landing {
  background-image: url("../img/blue_jay_2.jpg");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left, rgba(0, 0, 0, 0.1), transparent),
              linear-gradient(to right, rgba(5, 18, 33, 0.7), rgba(17, 59, 96, 0.1));
}

.hero-landing-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 650;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  max-width: 38rem;
}

/* Sections */

.page-header {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.page-title {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 650;
}

.section-title {
  font-weight: 600;
}

/* Cards */

.card-feature {
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.card-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.11);
  transition: all 0.18s ease-out;
}

.donate-card {
  border-radius: 1.25rem;
}

/* Optional: dashed-style card for "your project here" */
.border-dashed {
  border-style: dashed;
}

.showroom-logo {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.card:hover .showroom-logo {
  opacity: 1;
}

.card.showroom-card {
  border-radius: 1rem;
  overflow: hidden;
}

.card-publication {
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.card-publication:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  transition: all 0.16s ease-out;
}

.pub-authors {
  font-size: 0.9rem;
}

.pub-meta {
  font-size: 0.82rem;
}

.pub-badge {
  font-size: 0.7rem;
}

/* Footer tweaks */

footer {
  font-size: 0.85rem;
}

/* Upload page specific */

.upload-dropzone {
  cursor: pointer;
  transition: .15s border-color, .15s background-color;
  border-width: 2px !important;
  border-style: dashed !important;
}
.upload-dropzone-hover {
  background: #e7f4ff;
  border-color: #0d6efd !important;
}
#spec-container {
  position: relative;
}
#playerMarker {
  position: absolute;
  width: 2px;
  height: 128px;
  background: #dc3545;
  pointer-events: none;
}
.intervalMarker {
  position: absolute;
  width: 2px;
  height: 128px;
  background: rgba(13,110,253,.4);
  pointer-events: none;
}
#chart-container {
  position: relative;
}
.message {
  padding: .75rem;
  background: #f8f9fa;
  border: 1px solid #e2e3e5;
  border-radius: .25rem;
}
.spectro-controls .btn {
  width: 40px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
}
.btn-control {
  background: #0d6efd;
  border-color: #0a58ca;
  color: #fff;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-control:hover,
.btn-control:focus {
  background: #084eb0; /* darker for clear hover */
  border-color: #073f8f;
  color: #fff;
}
.btn-control:active {
  background: #052f72; /* even darker active */
  border-color: #042554;
  color: #fff;
}
.btn-control:disabled {
  background: #6ea8ff;
  border-color: #6ea8ff;
  opacity: .65;
}
