/* I-70 Bass Anglers — Home Page
   Full-bleed redesign with hero, events bar, feature cards, footer
   ============================================= */

/* Suppress page title and top padding on home */
body.page-home .page-title { display: none; }
body.page-home .main-content {
  padding-top: 0;
  padding-bottom: 0;
  background: #dce8f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Hide the global footer on home — replaced by .home-footer section */
body.page-home .site-footer { display: none; }

/* ---- Hero ---- */
/* Full-bleed, no nav. Two-column: text left, big logo right. */
.home-hero {
  background:
    linear-gradient(rgba(35, 48, 80, 0.68), rgba(35, 48, 80, 0.68)),
    var(--header-photo) var(--header-pos-x) var(--header-pos-y) / cover no-repeat;
  color: var(--white);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

/* Centered pair: logo and text sit together in the middle of the hero */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2.5rem;
  min-height: clamp(280px, 42vh, 520px);
  text-align: center;
}

.hero-text {
  flex: 0 1 520px;
  min-width: 0;
}

.hero-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.hero-sub {
  font-size: 1.25rem;
  opacity: 0.92;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--white);
  max-width: 540px;
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-btn--primary {
  background: var(--accent-color);
  color: var(--text-dark);
}

.hero-btn--primary:hover {
  background: #a67520;
  color: var(--text-dark);
  text-decoration: none;
}

.hero-btn--outline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  text-decoration: none;
}

/* Logo on the right — larger than the nav header version */
.hero-logo {
  flex-shrink: 0;
}

.hero-logo .logo-image {
  height: 280px;
  width: auto;
}

/* ---- Events Bar ---- */
.home-events-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1.25rem 0;
}

.home-event-cell {
  background: var(--white);
  padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--primary-color);
  border-radius: 0 0.4rem 0.4rem 0;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-event-cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.home-event-cell:nth-child(2) { border-left-color: var(--teal-color); }
.home-event-cell:nth-child(2) .home-event-label { color: var(--teal-color); }

.home-event-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.3rem;
}

.home-event-date {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.15rem;
}

.home-event-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ---- Feature Cards ---- */
.home-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  background: transparent;
  flex: 1; /* grows to fill remaining first-fold space in the flex column */
}

.home-feature-card {
  background: var(--white);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.2s ease;
  border-radius: 4px;
  overflow: hidden;
}

.home-feature-card:hover { background: var(--background-light); text-decoration: none; color: var(--text-dark); }

.home-feature-card:nth-child(1) { border-left: 3px solid var(--primary-color); }
.home-feature-card:nth-child(2) { border-left: 3px solid var(--teal-color); }
.home-feature-card:nth-child(2) .home-feature-title,
.home-feature-card:nth-child(2) .home-feature-link { color: var(--teal-color); }
.home-feature-card:nth-child(3) { border-left: 3px solid var(--accent-color); }
.home-feature-card:nth-child(3) .home-feature-title { color: #b45309; }

.home-feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.home-feature-desc {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.home-feature-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: auto;
}

/* ---- About Strip ---- */
.home-about {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border-color);
}

.home-about-text { flex: 1; }

.home-about-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.home-about-body {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}

.home-about-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
  border-left: 1px solid var(--border-color);
  padding-left: 2rem;
  flex-shrink: 0;
}

.home-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }

.home-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 600;
}

.home-meta-value { font-size: 1rem; color: var(--text-dark); }
.home-meta-value a { color: var(--primary-color); }

/* ---- Sponsors Bar ---- */
.home-sponsors-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  flex-wrap: wrap;
}

.home-sponsors-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  white-space: nowrap;
  font-weight: 600;
}

.home-sponsors-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

.home-sponsor-pill {
  background: #f5f0e8;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.3rem 0.75rem 0.3rem 0.45rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.home-sponsor-pill:hover { background: #ede7db; border-color: #c8b89a; text-decoration: none; color: var(--text-dark); }

.home-sponsor-pill-logo {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Walsh Customs — branded fonts, no logo */
.home-sponsor-pill--walsh { padding: 0.3rem 0.9rem; }

.home-sponsor-pill-walsh-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
  line-height: 1;
}

.walsh-block {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

.walsh-cursive {
  font-family: 'Pacifico', cursive;
  font-size: 0.75rem;
  color: var(--primary-color);
}

.home-sponsors-more {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-left: auto;
  white-space: nowrap;
}

.home-sponsors-more:hover { color: var(--secondary-color); }

/* ---- Bridge between events bar and quicklinks bar ---- */
/* Shows the page background, labels the following section */
.home-bridge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem;
}

.home-bridge::before,
.home-bridge::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(90, 70, 30, 0.2);
}

.home-bridge-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #b45309;
  white-space: nowrap;
}

/* ---- Quick Links Bar (member navigation — results & standings) ---- */
.home-quicklinks-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0 0 1.25rem;
}

.home-quicklink-cell {
  background: var(--white);
  padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--secondary-color);
  border-radius: 0 0.4rem 0.4rem 0;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-quicklink-cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.home-quicklink-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0 0 0.3rem;
}

.home-quicklink-date {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.15rem;
}

.home-quicklink-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ---- Home Footer Section ---- */
.home-footer {
  background: linear-gradient(to bottom, #dce8f4, var(--primary-color) 36px);
  padding: 2rem 0;
  padding-top: 44px;
}

.home-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-footer-brand {
  flex: 1;
  min-width: 180px;
}

.home-footer-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-footer-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.home-footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-footer-contact a:hover { color: var(--accent-color); text-decoration: none; }

.home-footer-sep {
  color: rgba(255, 255, 255, 0.35);
}

.home-footer-copy {
  width: 100%;
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

/* ---- Home page responsive ---- */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;  /* logo on top (logo-div is first in HTML), text below */
    align-items: center;
    padding: 6rem 1.25rem 2.5rem;
    gap: 1.5rem;
    text-align: center;
    min-height: unset;
  }

  .hero-logo .logo-image { height: 220px; }

  .hero-sub { font-size: 1.5rem; max-width: 100%; }

  .hero-btns { justify-content: center; }

  .hero-btn { font-size: 0.95rem; padding: 0.75rem 1.4rem; }

  .home-features { grid-template-columns: 1fr; flex: none; }

  .home-about { flex-direction: column; gap: 1.5rem; }

  .home-about-meta {
    border-left: none;
    border-top: 1px solid var(--border-color);
    padding-left: 0;
    padding-top: 1.25rem;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    min-width: unset;
  }

  .home-sponsors-bar { flex-wrap: wrap; gap: 0.75rem; }
  .home-sponsors-more { margin-left: 0; }

  .home-footer { padding: 1.5rem 0; padding-top: 44px; }
  .home-footer-inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; padding: 0 1.25rem; }
  .home-footer-brand { min-width: unset; }
}

@media (max-width: 480px) {
  .home-events-bar { grid-template-columns: 1fr; }
  .home-quicklinks-bar { grid-template-columns: 1fr; }
}
