:root {
  --club-green: #006b35;
  --club-green-dark: #004a27;
  --club-green-soft: #e9f5ef;
  --club-green-bright: #13a85f;
  --track-red: #c64a2c;
  --ink: #101915;
  --muted: #68736e;
  --line: #dce6df;
  --surface: #f5f8f6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

* {
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: var(--club-green);
  text-decoration: none;
}

a:hover {
  color: var(--club-green-dark);
}

img {
  max-width: 100%;
}

.container-xl {
  max-width: 1200px;
}

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.topbar a:hover {
  color: #fff;
}

.club-header {
  background: linear-gradient(90deg, var(--club-green-dark), var(--club-green) 42%, #057a3f);
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.club-header .navbar {
  min-height: 86px;
  padding: 0;
}

.club-brand {
  min-height: 86px;
  color: #fff;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  min-width: 330px;
  padding-left: 136px;
}

.brand-logo-wrap {
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  position: absolute;
  left: 0;
  top: 14px;
  flex: 0 0 auto;
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  margin-left: 0;
  line-height: 1.05;
}

.brand-copy strong {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
}

.brand-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  margin-top: 4px;
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.18);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  min-height: 86px;
  padding: 0 14px;
  position: relative;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link:not(.nav-cta):hover::after,
.navbar-nav .nav-link:not(.nav-cta).active::after {
  transform: scaleX(1);
}

.navbar-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.14);
}

.nav-cta {
  min-height: 50px !important;
  margin-left: 12px;
  padding-left: 18px !important;
  padding-right: 18px !important;
  align-self: center;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  color: var(--club-green-dark) !important;
  transform: translateY(0);
}

.nav-cta:hover,
.nav-cta.active {
  background: var(--club-green-soft) !important;
  border-color: var(--club-green-soft);
  color: var(--club-green-dark) !important;
  transform: translateY(-2px);
}

.btn {
  border-radius: 6px;
  font-weight: 700;
}

.btn-club {
  --bs-btn-bg: var(--club-green);
  --bs-btn-border-color: var(--club-green);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--club-green-dark);
  --bs-btn-hover-border-color: var(--club-green-dark);
  --bs-btn-hover-color: #fff;
}

.btn-white {
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-color: var(--club-green-dark);
  --bs-btn-hover-bg: var(--club-green-soft);
  --bs-btn-hover-border-color: var(--club-green-soft);
  --bs-btn-hover-color: var(--club-green-dark);
}

.btn-outline-white {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.72);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: var(--club-green-dark);
}

.hero {
  position: relative;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(0, 38, 20, 0.88), rgba(0, 72, 36, 0.66), rgba(0, 0, 0, 0.2)), var(--hero-image);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-home {
  min-height: 560px;
  padding: 118px 0 72px;
}

.hero-home-aerial {
  background-position: center 44%;
}

.page-hero {
  min-height: 380px;
  padding: 112px 0 72px;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 5.8rem;
  line-height: 0.96;
  font-weight: 900;
  margin-bottom: 20px;
  max-width: 760px;
}

.page-hero h1 {
  font-size: 3.5rem;
}

.hero p {
  max-width: 680px;
  font-size: 1.22rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.fact-band {
  background: var(--ink);
  color: #fff;
}

.fact-item {
  padding: 27px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.fact-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.fact-item strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.fact-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.section-pad {
  padding: 82px 0;
}

.section-muted {
  background: var(--surface);
}

.section-green {
  background: var(--club-green);
  color: #fff;
}

.section-stadium-cta {
  background-image: linear-gradient(90deg, rgba(0, 74, 39, 0.92), rgba(0, 107, 53, 0.78), rgba(0, 0, 0, 0.32)), url("../img/stadyum-3.jpg");
  background-size: cover;
  background-position: center;
}

.section-kicker {
  color: var(--club-green);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-green .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.section-title {
  font-size: 2.55rem;
  line-height: 1.12;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 720px;
}

.section-green .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.info-card,
.feature-card,
.member-card,
.contact-card,
.timeline-item,
.gallery-card,
.source-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 100%;
}

.info-card,
.feature-card,
.contact-card,
.source-card {
  padding: 28px;
}

.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.feature-icon,
.contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--club-green-soft);
  color: var(--club-green);
  border-radius: 8px;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.feature-card h3,
.info-card h3,
.contact-card h3,
.source-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.feature-card p,
.info-card p,
.contact-card p,
.source-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split-image {
  border-radius: 8px;
  overflow: hidden;
  min-height: 430px;
  position: relative;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.image-caption-bar {
  position: static;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 8px 8px;
  padding: 16px 18px 18px;
}

.image-caption-bar strong {
  display: block;
  font-size: 1.05rem;
}

.image-caption-bar span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.mini-stat {
  border-top: 3px solid var(--club-green);
  padding: 20px;
}

.mini-stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--club-green);
}

.mini-stat span {
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 24px 24px 24px 86px;
  position: relative;
}

.timeline-year {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  position: absolute;
  left: 22px;
  top: 24px;
  background: var(--club-green);
  color: #fff;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.92rem;
}

.timeline-item h3 {
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.member-card {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--club-green-soft);
  color: var(--club-green);
  border-radius: 8px;
  font-size: 1.55rem;
}

.member-card h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 900;
}

.member-card span {
  color: var(--muted);
  font-size: 0.91rem;
}

.badge-club {
  background: var(--club-green-soft);
  color: var(--club-green-dark);
  border: 1px solid rgba(0, 107, 53, 0.18);
  border-radius: 6px;
  font-weight: 800;
  padding: 7px 10px;
}

.gallery-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-card .gallery-meta {
  padding: 16px 18px;
}

.gallery-card h3 {
  font-size: 1.04rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.gallery-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stadium-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 14px;
}

.stadium-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 8px;
}

.stadium-mosaic .tall {
  grid-row: span 2;
  min-height: 438px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  margin-top: 16px;
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 8px;
  filter: saturate(0.95);
}

.social-grid a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  height: 100%;
  font-weight: 800;
}

.social-grid a:hover {
  border-color: rgba(0, 107, 53, 0.35);
  color: var(--club-green);
  transform: translateY(-2px);
}

.social-grid i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--club-green-soft);
  color: var(--club-green);
  font-size: 1.28rem;
}

.local-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
}

.local-lightbox.is-open {
  display: flex;
}

.local-lightbox__dialog {
  width: min(1100px, 100%);
}

.local-lightbox__image {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  background: #050505;
  border-radius: 8px;
}

.local-lightbox__caption {
  color: #fff;
  font-weight: 800;
  margin-top: 14px;
}

.local-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.local-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 58px 0 26px;
}

.footer-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.footer-social-links i {
  color: #fff;
  width: 18px;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 38px;
  padding-top: 22px;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199.98px) {
  .navbar-nav .nav-link {
    padding-left: 9px;
    padding-right: 9px;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-top: 66px;
  }

  .topbar {
    display: none;
  }

  .club-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 100vw;
  }

  .club-header .navbar {
    min-height: 66px;
    padding: 6px 0;
  }

  .club-brand {
    min-height: auto;
    min-width: 0;
    padding-left: 0;
    align-items: center;
  }

  .brand-logo-wrap {
    width: 50px;
    height: 50px;
    position: static;
  }

  .brand-copy strong {
    font-size: 1.18rem;
  }

  .brand-copy small {
    font-size: 0.78rem;
  }

  .hero,
  .fact-band,
  .section-pad,
  .site-footer {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .row {
    --bs-gutter-x: 1.25rem;
  }

  .navbar-collapse {
    background: rgba(0, 74, 39, 0.98);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 10px;
    padding: 10px;
  }

  .navbar-nav .nav-link {
    min-height: 0;
    padding: 12px;
    border-radius: 6px;
    justify-content: flex-start;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
    justify-content: center;
    min-height: 46px !important;
  }

  .hero-home {
    min-height: 560px;
    padding: 88px 0 72px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  .fact-item,
  .fact-item:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section-pad {
    padding: 66px 0;
  }

  .section-title {
    font-size: 2.1rem;
  }
}

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

  .hero h1 {
    font-size: 3.15rem;
  }

  .page-hero h1 {
    font-size: 2.45rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .split-image,
  .split-image img {
    min-height: 300px;
  }

  .stadium-mosaic {
    grid-template-columns: 1fr;
  }

  .stadium-mosaic .tall {
    min-height: 280px;
  }

  .timeline-item {
    padding: 22px;
  }

  .timeline-year {
    position: static;
    margin-bottom: 14px;
  }
}

@media (max-width: 575.98px) {
  .brand-copy {
    margin-left: 11px;
  }

  .brand-copy strong {
    font-size: 1.08rem;
  }

  .brand-copy small {
    max-width: 135px;
  }

  .hero h1 {
    font-size: 2.35rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .page-hero h1 {
    font-size: 2.15rem;
  }

  .hero p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .info-card,
  .feature-card,
  .contact-card,
  .source-card {
    padding: 22px;
  }

  .feature-card {
    min-height: 100%;
    padding: 18px 14px;
  }

  .feature-card .feature-icon {
    width: 42px;
    height: 42px;
    font-size: 1.12rem;
    margin-bottom: 14px;
  }

  .feature-card h3 {
    font-size: 1.05rem;
  }

  .feature-card p {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .fact-item {
    padding: 20px 8px;
  }

  .fact-item strong {
    font-size: 1.58rem;
  }

  .fact-item span {
    font-size: 0.82rem;
  }
}
