/* Vocal Group Genoot – custom styles */

:root {
  --genoot-primary: #589C98;
  --genoot-primary-dark: #3d7a76;
}

/* Hero section */
.hero {
  background-color: #1a1a2e;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 60vh;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    min-height: 40vh;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 45vh;
  }
}

/* Page header image */
.page-header-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
}

/* Rich-text page content */
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: .375rem;
}

/* Sticky navbar shadow */
.navbar {
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Brand colour: navbar & footer replace Bootstrap dark */
.navbar.bg-dark,
footer.bg-dark {
  background-color: var(--genoot-primary) !important;
}

/* Full-white nav text for better contrast on teal */
.navbar .navbar-brand,
.navbar .nav-link {
  color: #fff !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: #fff !important;
  opacity: 0.85;
}

/* Ensure footer secondary text is readable on teal */
footer .text-secondary,
footer a.text-secondary {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* btn-dark → brand colour */
.btn-dark {
  background-color: var(--genoot-primary) !important;
  border-color: var(--genoot-primary) !important;
  color: #fff !important;
}
.btn-dark:hover,
.btn-dark:focus {
  background-color: var(--genoot-primary-dark) !important;
  border-color: var(--genoot-primary-dark) !important;
}

/* btn-outline-dark → brand colour outline */
.btn-outline-dark {
  color: var(--genoot-primary) !important;
  border-color: var(--genoot-primary) !important;
}
.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background-color: var(--genoot-primary) !important;
  border-color: var(--genoot-primary) !important;
  color: #fff !important;
}

.sponsor-logo {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-tile .card-body {
  min-height: 130px;
}

.sponsor-card-logo-wrap {
  display: block;
  padding: 1rem;
}

.sponsor-card-logo {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.sponsor-card .card-text img {
  max-width: 100%;
  height: auto;
}

.footer-sponsor-logo {
  width: auto;
  height: 40px;
  object-fit: contain;
  display: block;
  opacity: .9;
  transition: opacity .2s ease;
}

.footer-sponsor-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-sponsor-link:hover,
.footer-sponsor-link:focus {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.footer-sponsor-link:hover .footer-sponsor-logo,
.footer-sponsor-link:focus .footer-sponsor-logo {
  opacity: 1;
}

.footer-sponsor-name {
  font-size: .8rem;
  line-height: 1.1;
  font-weight: 400;
}
