:root {
  --black: #090909;
  --charcoal: #151515;
  --charcoal-light: #202020;
  --gold: #d5a328;
  --gold-light: #efc34a;
  --white: #ffffff;
  --off-white: #f4f4f2;
  --gray: #b5b5b5;
  --max-width: 1180px;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.97);
  border-bottom: 1px solid #292929;
}

.header-inner {
  max-width: var(--max-width);
  min-height: 82px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text .umwa {
  color: var(--gold);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-text .local {
  padding-left: 12px;
  border-left: 2px solid var(--gold);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #dddddd;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.main-nav a:hover {
  color: var(--gold-light);
}

/* HERO */

.hero {
  min-height: 570px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(
      circle at 75% 50%,
      rgba(213, 163, 40, 0.1),
      transparent 33%
    ),
    linear-gradient(
      120deg,
      #080808 0%,
      #121212 55%,
      #080808 100%
    );
  border-bottom: 1px solid #222222;
}

.hero-content {
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  padding: 80px 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -4px;
}

.hero h1 span {
  color: var(--gold);
  font-size: 0.48em;
  letter-spacing: 4px;
}

.hero-description {
  max-width: 570px;
  margin: 30px 0;
  color: #d0d0d0;
  font-size: 1.25rem;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* BUTTONS */

.button {
  min-height: 48px;
  padding: 12px 22px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  border: 2px solid var(--gold);
  color: #090909;
}

.button-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button-outline {
  background: transparent;
  border: 2px solid #555555;
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* GENERAL SECTIONS */

.section {
  padding: 90px 24px;
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2,
.location-content h2 {
  margin: 5px 0 12px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
}

.section-heading > p:not(.eyebrow) {
  color: #666666;
}

/* NEXT MEETING */

.meeting-section {
  background: var(--off-white);
  color: #111111;
}

.meeting-card {
  max-width: 1000px;
  margin: auto;
  padding: 35px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: center;
  gap: 35px;
  background: var(--white);
  border-left: 7px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.meeting-label {
  margin: 0 0 4px;
  color: #857026;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.meeting-card h3 {
  margin: 0;
  color: #101010;
  font-size: 1.7rem;
  line-height: 1.2;
}

.meeting-time {
  margin: 6px 0 0;
  color: #555555;
  font-size: 1.15rem;
  font-weight: 700;
}

.meeting-location {
  padding-left: 30px;
  border-left: 1px solid #dddddd;
}

.meeting-location strong,
.meeting-location span {
  display: block;
}

.meeting-location span {
  margin-top: 4px;
  color: #666666;
  font-size: 0.9rem;
}

.regular-schedule {
  margin: 25px auto 0;
  text-align: center;
  color: #555555;
}

/* RESOURCES */

.resources-section {
  background: #111111;
}

.resources-section .section-heading > p:not(.eyebrow) {
  color: #bdbdbd;
}

.resource-grid {
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.resource-card {
  min-height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #191919;
  border: 1px solid #303030;
  border-radius: var(--radius);
  transition: 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
  background: #1d1d1d;
  border-color: var(--gold);
}

.resource-icon {
  margin-bottom: 20px;
  display: block;
  color: var(--gold);
  font-size: 2rem;
}

.resource-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.resource-card p {
  margin: 0 0 25px;
  color: #aaaaaa;
  font-size: 0.93rem;
}

.resource-link {
  margin-top: auto;
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* LEADERSHIP */

.leadership-section {
  background: var(--off-white);
  color: #111111;
}

.leadership-grid {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.leader-card {
  min-height: 165px;
  padding: 25px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.07);
}

.leader-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.leader-card p {
  margin: 8px 0 0;
  color: #84691e;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

/* UNION HALL */

.location-section {
  min-height: 430px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    #090909 0%,
    #101010 64%,
    #19150a 100%
  );
}

.location-content {
  width: 100%;
  max-width: 760px;
  margin-left: max(0px, calc((100% - var(--max-width)) / 2));
}

.location-content h3 {
  margin: 25px 0 5px;
  color: var(--gold-light);
  font-size: 1.35rem;
}

.location-content > p:not(.eyebrow) {
  max-width: 630px;
  margin-bottom: 28px;
  color: #bebebe;
}

/* CONTACT */

.contact-section {
  background: var(--gold);
  color: #0a0a0a;
}

.contact-section .eyebrow {
  color: #544000;
}

.contact-section .section-heading {
  margin-bottom: 0;
}

.contact-section .section-heading > p:not(.eyebrow) {
  color: #312a15;
}

/* FOOTER */

.site-footer {
  padding: 45px 24px;
  background: #050505;
  border-top: 1px solid #252525;
  color: #888888;
  text-align: center;
}

.site-footer strong {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.site-footer p {
  margin: 5px 0;
  font-size: 0.82rem;
}

.copyright {
  margin-top: 18px !important;
  color: #555555;
}

/* TABLET */

@media (max-width: 950px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 13px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .main-nav {
    gap: 17px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .meeting-card {
    grid-template-columns: 1fr 1fr;
  }

  .meeting-card .button {
    grid-column: 1 / -1;
  }

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

  .leadership-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* PHONE */

@media (max-width: 650px) {
  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: auto;
  }

  .brand-text {
    justify-content: center;
  }

  .main-nav {
    width: 100%;
    gap: 8px 16px;
    padding-top: 10px;
    border-top: 1px solid #222222;
  }

  .main-nav a {
    font-size: 0.7rem;
  }

  .hero {
    min-height: 470px;
    text-align: center;
  }

  .hero-content {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 22vw, 6rem);
    letter-spacing: -3px;
  }

  .hero h1 span {
    letter-spacing: 2px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 65px 18px;
  }

  .meeting-card {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    text-align: center;
  }

  .meeting-location {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #dddddd;
  }

  .resource-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 240px;
  }

  .leader-card {
    min-height: 125px;
  }

  .location-section {
    text-align: center;
  }

  .location-content {
    margin: auto;
  }
}
/* UMWA HEADER LOGO */

.brand-link {
  display: flex;
  align-items: center;
  gap: 16px;
}

.umwa-logo {
  display: block;
  width: auto;
  height: 64px;
  max-width: 180px;
  object-fit: contain;
}

.local-number {
  padding-left: 16px;
  border-left: 2px solid var(--gold);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  white-space: nowrap;
}

/* Smaller header logo on phones */
@media (max-width: 650px) {

  .umwa-logo {
    height: 50px;
    max-width: 140px;
  }

  .local-number {
    padding-left: 10px;
    font-size: 0.78rem;
    letter-spacing: 1.3px;
  }
}
/* Desktop header logo sizing */
@media (min-width: 651px) {
  .umwa-logo {
    height: 42px;
    width: auto;
    max-width: 125px;
  }

  .header-inner {
    min-height: 64px;
  }
}
/* FORCE DESKTOP LOGO SIZE */
@media screen and (min-width: 651px) {
  .site-header .umwa-logo {
    width: auto !important;
    height: 45px !important;
    max-width: 130px !important;
    max-height: 45px !important;
  }

  .site-header .brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .site-header .header-inner {
    min-height: 68px;
  }
}
