/* =====================================================
   CONFERENCES & CONVENTIONS PAGE
   File: conferences.css
   ===================================================== */

.conferences-page {
  max-width: 1180px;
  margin: 0 auto;
}


/* =====================================================
   HERO
   ===================================================== */

.conference-hero {
  margin: 0 0 24px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-bottom: 5px solid var(--gold);
  background: var(--navy);
  height: 340px;
}

.conference-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}


/* =====================================================
   FEATURE CARDS
   ===================================================== */

.conference-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0 34px;
}

.conference-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 16px 18px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 285px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.conference-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.conference-card img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}

.conference-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  text-transform: uppercase;
  font-size: 1.14rem;
  line-height: 1.15;
}

.conference-card h4 {
  margin: 4px 0 10px;
  color: #9b1c1c;
  font-size: 1.15rem;
}

.conference-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 18px;
}

.conference-card .button {
  margin-top: auto;
}

.conference-icon {
  width: 86px;
  height: 86px;
  margin: 12px auto 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2.7rem;
  border: 5px solid var(--gold);
  box-shadow: 0 5px 14px rgba(0,0,0,.16);
}

.official-visitor-photo {
  object-position: center top;
  border: 4px solid #9b1c1c !important;
}


/* =====================================================
   REDNECK BANQUET BANNER
   ===================================================== */

.redneck-banner {
  max-width: 1040px;
  margin: 34px auto 30px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--gold);
  background: var(--gold);
  height: 320px;
}

.redneck-banner img {
  width: calc(100% + 34px);
  height: calc(100% + 44px);
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: -17px -17px -27px -17px;
}


/* =====================================================
   CONVENTION GOLF SECTION
   ===================================================== */

.convention-golf-section {
  max-width: 1040px;
  margin: 34px auto 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.golf-feature-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 4px solid var(--gold);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  background: #fff;
  isolation: isolate;
}

.golf-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}


/* =====================================================
   GOLF TOURNAMENT BACKGROUND IMAGE
   ===================================================== */

.golf-tournament-card::before {
  background:
    linear-gradient(
      rgba(255,255,255,.04),
      rgba(255,255,255,.04)
    ),
    url("../images/conventions/nysma-golf-background.png")
    center center / cover no-repeat;
}

.golf-tournament-card::after,
.golf-tournament-card .golf-card-content::before {
  content: none;
}

.golf-tournament-card .golf-card-content::after {
  background: rgba(255,255,255,.52);
  backdrop-filter: none;
}

/* =====================================================
   MINIATURE GOLF BACKGROUND
   ===================================================== */

.miniature-golf-card::before {
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(255,255,255,.75) 0 5%,
      transparent 6%
    ),
    radial-gradient(
      circle at 79% 24%,
      rgba(255,255,255,.55) 0 7%,
      transparent 8%
    ),
    linear-gradient(
      155deg,
      #ccecff 0%,
      #edf9ff 36%,
      #9fd279 37%,
      #67ad58 66%,
      #3f833f 100%
    );
}

.miniature-golf-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 130px;
  height: 130px;
  right: -42px;
  bottom: -46px;
  border: 20px solid rgba(255,255,255,.22);
  border-radius: 50%;
}


/* =====================================================
   GOLF CARD HEADINGS
   ===================================================== */

.golf-card-heading {
  min-height: 88px;
  padding: 20px 18px;
  background:
    linear-gradient(
      135deg,
      rgba(4,27,61,.98),
      rgba(6,37,83,.95)
    );
  border-bottom: 3px solid var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.golf-card-heading h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.25vw, 1.85rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .025em;
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
}


/* =====================================================
   GOLF CARD CONTENT
   ===================================================== */

.golf-card-content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.golf-card-content::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -2;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(0,0,0,.12);
  backdrop-filter: blur(2px);
}

.golf-card-introduction {
  max-width: 420px;
  margin: 0 auto 26px;

  color: var(--navy);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .015em;

  text-shadow:
    0 1px 0 rgba(255,255,255,.85);
}

/* =====================================================
   GOLF TOURNAMENT BUTTONS
   ===================================================== */

.golf-button-group {
  width: 100%;
  max-width: 365px;
  margin: 0 auto;
  display: grid;
  gap: 15px;
}

.golf-link-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 15px 18px;

  border: 2px solid var(--gold);
  border-radius: 7px;

  background:
    linear-gradient(
      135deg,
      #071f46 0%,
      #0b326d 55%,
      #071f46 100%
    );

  color: #fff;

  font-family:
    Impact,
    Haettenschweiler,
    "Arial Narrow Bold",
    sans-serif;

  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .065em;
  text-transform: uppercase;

  text-shadow:
    1px 1px 0 #000,
    0 2px 2px rgba(0,0,0,.35);

  box-shadow:
    0 5px 12px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.12);

  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}




/* =====================================================
   MINIATURE GOLF POSTER
   ===================================================== */

.mini-golf-poster-link {
  display: block;
  width: 100%;
  max-width: 415px;
  margin: 0 auto;
  text-decoration: none;
}

.mini-golf-poster {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 9px;
  box-shadow: 0 7px 18px rgba(0,0,0,.2);
  transition: transform .18s ease, box-shadow .18s ease;
}

.mini-golf-poster-link:hover .mini-golf-poster,
.mini-golf-poster-link:focus .mini-golf-poster {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

.poster-instruction {
  margin: 15px 0 0;
  color: var(--navy);
  font-size: .92rem;
  font-weight: bold;
  font-style: italic;
}


/* =====================================================
   LOOKING AHEAD
   ===================================================== */

.spring-conference {
  text-align: center;
  background: var(--cream);
  border: 3px solid var(--navy);
  border-radius: 12px;
  padding: 28px;
  margin: 32px auto;
  max-width: 900px;
  box-shadow: var(--shadow);
}

.spring-conference h2,
.spring-conference h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  margin-top: 0;
}

.spring-conference h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.spring-conference h3 {
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.spring-conference p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.5;
}

.spring-location {
  font-size: 1.35rem !important;
  color: var(--navy) !important;
  margin-top: 14px;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1050px) {

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

  .convention-golf-section {
    gap: 18px;
  }

  .golf-card-content {
    padding: 25px;
  }

  .mini-golf-poster {
    height: 350px;
  }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 720px) {

  .conference-hero {
    margin: 18px 0 24px;
    border-radius: 10px;
    height: auto;
  }

  .conference-hero img {
    height: auto;
  }

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

  .conference-card {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    min-height: auto;
  }

  .conference-card img {
    height: auto;
    max-height: 240px;
  }

  .conference-icon {
    width: 82px;
    height: 82px;
    font-size: 2.5rem;
    margin: 12px auto 22px;
  }

  .redneck-banner {
    height: auto;
    margin: 28px 0;
  }

  .redneck-banner img {
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
  }

  .convention-golf-section {
    grid-template-columns: 1fr;
    margin: 28px 0 34px;
  }

  .golf-feature-card {
    width: 100%;
  }

  .golf-card-heading {
    min-height: 78px;
    padding: 17px 14px;
  }

  .golf-card-heading h2 {
    font-size: 1.35rem;
  }

  .golf-card-content {
    padding: 25px 20px;
  }

  .golf-card-content::after {
    inset: 12px;
  }

  .golf-card-introduction {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .golf-link-button {
    padding: 14px 12px;
    font-size: .86rem;
  }

  .mini-golf-poster {
    height: auto;
    max-height: none;
  }

  .spring-conference {
    padding: 24px 20px;
    margin: 28px 0;
  }

  .spring-conference h2 {
    font-size: 1.65rem;
  }

  .spring-conference h3 {
    font-size: 1.25rem;
  }
}