/*
  Fan Clubhouse static homepage migration.
  Custom CSS only; Bootstrap 5.3 supplies the base grid and components.
*/

:root {
  --fch-blue: #00aeef;
  --fch-blue-dark: #0089bc;
  --fch-stats-blue: #17b3ed;
  --fch-black: #000000;
  --fch-white: #ffffff;
  --fch-soft: #f6f6f6;
  --fch-about: #f9f9f9;
  --fch-news: #f3f3f3;
  --fch-charcoal: #3d3d3d;
  --fch-contact: #151515;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--fch-black);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 16px;
  line-height: 24px;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--fch-blue);
  text-decoration: none;
  transition: color 400ms, background-color 400ms, border-color 400ms;
}

a:hover {
  color: var(--fch-blue-dark);
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  font-weight: 500;
  letter-spacing: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
  outline: 3px solid rgba(0, 174, 239, 0.45);
  outline-offset: 3px;
  box-shadow: none;
}

.skip-link {
  background: var(--fch-white);
  border: 2px solid var(--fch-blue);
  color: var(--fch-black);
  left: 1rem;
  padding: 0.5rem 0.75rem;
  position: absolute;
  top: 1rem;
  transform: translateY(-150%);
  transition: transform 160ms ease;
  z-index: 2000;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  max-width: 1140px;
}

.site-header {
  background: rgba(245, 245, 245, 0.9);
  transition: background-color 400ms, border-color 400ms;
  z-index: 999;
}

.site-header.is-scrolled {
  border-bottom: 1px solid #cccccc;
}

.navbar {
  min-height: 80px;
  padding: 0;
}

.site-logo {
  align-items: center;
  display: flex;
  height: 80px;
  padding: 0;
}

.site-logo img {
  height: 55px;
  width: 80px;
}

.site-nav .nav-link {
  color: var(--fch-black);
  display: inline-block;
  font-weight: 500;
  line-height: 80px;
  padding: 0 13px;
  position: relative;
  text-transform: uppercase;
  transition: color 400ms, background-color 400ms;
}

.site-nav .nav-link::after {
  background: var(--fch-blue);
  bottom: 0;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%) scaleX(0);
  transition: transform 300ms;
  width: 100%;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  background: rgba(0, 0, 0, 0.04);
  color: var(--fch-blue);
}

.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-toggler {
  border: 0;
  border-radius: 0;
  padding: 0.5rem 0;
}

.hero-section {
  background: url("../images/nashville-crowd-next-big-thing-nashville.jpg") center top / cover no-repeat fixed;
  min-height: 650px;
  position: relative;
}

.hero-overlay,
.service-callout-overlay {
  background: rgba(0, 0, 0, 0.45);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: var(--fch-white);
  left: 50%;
  max-width: 1170px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 1;
}

.hero-content h1 {
  color: var(--fch-white);
  font-size: 50px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.headline-rotator {
  color: var(--fch-white);
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
  margin: 0 0 40px;
  min-height: 40px;
}

.headline-rotator span {
  display: inline-block;
  min-width: min(100%, 360px);
  overflow: hidden;
  padding-right: 8px;
  position: relative;
  text-align: left;
  vertical-align: top;
}

.headline-rotator span::after {
  animation: cursorPulse 1s infinite;
  background: var(--fch-blue);
  content: "";
  height: 90%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}

.headline-rotator b {
  display: none;
  font-weight: 500;
  white-space: nowrap;
}

.headline-rotator b.is-visible {
  display: inline;
}

.site-section,
.clients-section,
.team-section {
  padding: 100px 0 70px;
}

.section-heading {
  margin: 0 auto 50px;
  max-width: 900px;
}

.section-heading h2 {
  color: #363636;
  font-size: 35px;
  line-height: 35px;
  margin: 0 0 30px;
}

.section-heading p {
  margin: 0;
}

.feature-section {
  background: var(--fch-white);
  padding-bottom: 80px;
}

.feature-item h3 {
  color: #363636;
  font-size: 22px;
  margin: 0 0 20px;
  text-transform: uppercase;
  transition: color 400ms;
}

.feature-item:hover h3 {
  color: var(--fch-blue);
}

.feature-item p {
  margin: 0;
}

.about-section {
  background: var(--fch-about);
}

.about-image {
  background: url("../images/nashville-river.jpg") center center / cover no-repeat;
  height: 100%;
  min-height: 610px;
}

.about-content {
  padding: 100px 42px 100px 50px;
}

.about-content h2 {
  color: var(--fch-blue);
  font-size: 50px;
  line-height: 1.2;
  margin: 0 0 30px;
}

.about-content p {
  margin-bottom: 1rem;
}

.read-more-link {
  border-bottom: 2px solid var(--fch-blue);
  display: inline-block;
  font-weight: 700;
  margin-top: 10px;
  padding-bottom: 2px;
}

.services-section {
  background: var(--fch-white);
  min-height: 250px;
  padding-bottom: 65px;
}

.service-callout {
  background: url("../images/Brad-Paisley-ACM-Awards.jpg") center center / cover no-repeat fixed;
  color: var(--fch-white);
  min-height: 280px;
  padding: 100px 0 80px;
  position: relative;
}

.service-callout-content {
  position: relative;
  z-index: 1;
}

.service-callout h2 {
  color: var(--fch-white);
  font-size: 35px;
  margin: 0 0 12px;
}

.service-callout p {
  font-size: 18px;
  margin: 0;
}

.clients-section {
  background: var(--fch-white);
  padding-top: 20px;
}

.client-grid {
  display: grid;
  column-gap: 30px;
  row-gap: 34px;
  grid-template-columns: repeat(3, 1fr);
}

.client-item {
  margin: 0;
  overflow: hidden;
}

.client-card-link {
  color: var(--fch-black);
  display: block;
}

.client-image-wrap {
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  position: relative;
}

.client-image-wrap img {
  height: 100%;
  object-fit: cover;
  transition: opacity 300ms, transform 300ms;
  width: 100%;
}

.client-name {
  display: block;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.3;
  margin: 14px 8px 22px;
  min-height: 20px;
  text-align: center;
  transition: color 300ms;
}

.client-card-link:hover,
.client-card-link:focus {
  color: var(--fch-blue);
}

.client-card-link:hover img,
.client-card-link:focus img {
  opacity: 0.82;
  transform: scale(1.03);
}

.client-card-link:hover .client-name,
.client-card-link:focus .client-name {
  color: var(--fch-blue);
}

.stats-section {
  background: var(--fch-stats-blue);
  color: var(--fch-white);
  padding: 100px 0 75px;
}

.stat-number {
  color: var(--fch-white);
  font-size: 60px;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-item p {
  font-size: 24px;
  margin: 0;
}

.team-section {
  background: var(--fch-soft);
}

.team-card {
  align-items: center;
  background: var(--fch-white);
  display: flex;
  gap: 24px;
  min-height: 154px;
  padding: 30px;
  transition: background-color 400ms, color 400ms;
  width: 100%;
}

.team-card:hover {
  background: var(--fch-blue);
  color: var(--fch-white);
}

.team-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  flex: 0 0 135px;
  height: 135px;
  object-fit: cover;
  width: 135px;
}

.team-info {
  min-width: 0;
}

.team-card h3 {
  color: var(--fch-blue);
  font-size: 18px;
  letter-spacing: 2px;
  margin: 0 0 10px;
  text-transform: uppercase;
  transition: color 400ms;
}

.team-card:hover h3,
.team-card:hover a {
  color: var(--fch-white);
}

.team-card p {
  margin-bottom: 8px;
}

.team-card a {
  color: var(--fch-black);
  font-size: 14px;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.bottom-section {
  background: var(--fch-charcoal);
  color: var(--fch-white);
  padding: 50px 0;
}

.interior-main {
  background: var(--fch-white);
}

.interior-page {
  padding: 80px 0 90px;
}

.content-narrow {
  max-width: 860px;
}

.content-flow > * + * {
  margin-top: 1rem;
}

.interior-page h1 {
  font-size: 36px;
  line-height: 1.25;
  margin-bottom: 32px;
}

.interior-page h2 {
  color: #363636;
  font-size: 22px;
  line-height: 1.3;
  margin-top: 2rem;
}

.interior-page h3 {
  color: #363636;
  font-size: 18px;
  line-height: 1.35;
  margin-top: 1.5rem;
}

.interior-page ul {
  padding-left: 1.25rem;
}

.bottom-social {
  text-align: right;
}

.bottom-social h2 {
  color: var(--fch-white);
  font-size: 18px;
  margin: 0 0 18px;
}

.social-links {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin: 0;
}

.social-links a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--fch-white);
  display: inline-flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  text-decoration: none;
  transition: background-color 300ms, border-color 300ms, color 300ms;
  width: 42px;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--fch-white);
  border-color: var(--fch-white);
  color: var(--fch-charcoal);
}

.site-footer {
  background: var(--fch-charcoal);
  color: var(--fch-white);
  font-size: 14px;
  padding: 15px 0;
}

.site-footer a {
  color: var(--fch-white);
}

.back-to-top {
  background: var(--fch-blue);
  border: 0;
  border-radius: 0;
  bottom: 1rem;
  color: var(--fch-white);
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 1rem;
  transform: translateY(0.5rem);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 1030;
}

.back-to-top:hover {
  background: var(--fch-blue-dark);
  color: var(--fch-white);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes cursorPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(245, 245, 245, 0.98);
    margin: 0 -12px;
    padding: 0 12px 12px;
  }

  .site-nav .nav-link {
    line-height: 46px;
    width: 100%;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .about-image {
    min-height: 360px;
  }

  .about-content {
    padding: 70px 32px;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-social {
    text-align: left;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    background-attachment: scroll;
    min-height: 560px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .headline-rotator {
    font-size: 24px;
  }

  .site-section,
  .clients-section,
  .team-section {
    padding: 70px 0 50px;
  }

  .team-card {
    align-items: center;
    flex-direction: column;
    min-height: 0;
    text-align: center;
  }

  .section-heading h2,
  .service-callout h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .about-content h2 {
    font-size: 38px;
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 48px;
  }

  .stat-item p {
    font-size: 20px;
  }
}
