@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --hf-blue: #1c2a83;
  --hf-red: #b42f19;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 16px;
  font-display: swap;
  background: #000000;
  color: #ffffff;
}
h1 {
  font-size: 1.1em;
  font-weight: 400;
  margin: 0;
}
/* HEADER */
header {
  text-align: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
}
#title-nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--hf-blue);
  margin: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(180, 47, 25, 0.4);
}
nav {
  position: relative;
  margin: 0;
  padding: 0;
}
nav #mobile-nav-button {
  padding: 1rem;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
}
nav #nav-menu-container {
  position: absolute;
  right: 0;
  top: 0;
  background-color: black;
  width: 100vw;
  height: 100vh;
  padding-top: 4rem;
}
body.is-mobile nav #nav-menu-container {
  display: none;
}
nav #nav-menu {
  list-style: none;
  margin: 0;
}
nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  transition: all 0.3s;
  padding: 1rem;
  border-radius: 5px;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.5),
    1px -1px 0 rgba(0,0,0,0.5),
    -1px 1px 0 rgba(0,0,0,0.5),
    1px 1px 0 rgba(0,0,0,0.5);
}
nav #nav-menu a {
  font-size: 2rem;
  padding: 2rem;
}
#mobile-nav-dismiss {
  font-size: 2rem;
  padding: 1rem 1.5rem;
  position: absolute;
  right: 0;
  top: 0;
}
/* logo on mobile; hero on tablet/desktop */
#logo-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  padding: 4rem 4rem 1rem;
}
#logo{
  position: relative;
  max-width: 1200px;
  margin: 0 auto 20px;
  cursor: pointer;
}
#logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 20px rgba(180, 47, 25, 0.5));
}
#logo-desktop {
  display: none;
}
.tagline {
  margin-top: 1rem;
  font-size: clamp(0.8em, 4vw, 1.8em);
  font-style: italic;
  color: #ffffff;
  text-shadow:
    -1px -1px 0 #1c2a83,
    1px -1px 0 #1c2a83,
    -1px 1px 0 #1c2a83,
    1px 1px 0 #1c2a83,
    0 0 20px rgba(28, 42, 131, 0.5);
  animation: fadeIn 1.5s ease-in;
  font-weight: 200;
}
#logo-container p {
  margin-top: 1.5rem;
  line-height: 1.1;
  opacity: 0.6;
}
/* logo on mobile; hero on tablet/desktop */
#hero-container {
  display: none;
  margin: 50px auto 0;
  max-width: 1600px;
}
#hero {
  cursor: pointer;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
#band img {
  border-radius: 1rem;
}
#band-info {
  display: none;
}
/* CALENDAR / EVENTS */
#band-calendar {
  margin: auto;
}
#band-calendar tr {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
#band-calendar thead tr {
  display: none;
}
#band-calendar th,
#band-calendar td {
  display: block;
  padding: 0;
}
#band-calendar a {
  /*color: white;*/
}
/* BODY CONTENT */
section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
}
section#events {
  margin-top: 1rem;
}
h2 {
  font-size: 2.5em;
  color: #b42f19;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  text-shadow: 0 0 20px rgba(180, 47, 25, 0.5);
}
h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: #1c2a83;
  margin: 15px auto 0;
  box-shadow: 0 0 10px rgba(28, 42, 131, 0.5);
}
img {
  max-width: 100%;
  height: auto;
}
iframe {
  border: 0;
  width: 100%;
  height: 300px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.media-item {
  background: rgba(28, 42, 131, 0.1);
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #1c2a83;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(28, 42, 131, 0.3);
}
.media-item:hover {
  transform: translateY(-5px);
  border-color: #b42f19;
  box-shadow: 0 8px 24px rgba(180, 47, 25, 0.4);
  background: rgba(28, 42, 131, 0.15);
}
.media-item h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.4em;
  text-shadow:
    -1px -1px 0 #1c2a83,
    1px -1px 0 #1c2a83,
    -1px 1px 0 #1c2a83,
    1px 1px 0 #1c2a83;
}
.media-item p {
  color: #cccccc;
}
.media-placeholder {
  background: linear-gradient(135deg, #1c2a83 0%, #2d3e9f 100%);
  height: 200px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 3px solid #b42f19;
  color: #fff;
  font-size: 2em;
  box-shadow:
    inset 0 0 20px rgba(0,0,0,0.3),
    0 0 20px rgba(180, 47, 25, 0.3);
}
/* THE BAND */
#band-photo-desktop {
  display: none;
}
.band-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.member-card {
  background: rgba(28, 42, 131, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 2px solid #1c2a83;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(28, 42, 131, 0.3);
  font-size: 1rem;
}
.member-card:hover {
  transform: scale(1.05);
  border-color: #b42f19;
  box-shadow: 0 8px 24px rgba(180, 47, 25, 0.4);
  background: rgba(28, 42, 131, 0.15);
}
.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b42f19 0%, #d63a21 100%);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
  border: 4px solid #1c2a83;
  box-shadow:
    0 0 20px rgba(180, 47, 25, 0.4),
    inset 0 0 20px rgba(0,0,0,0.3);
  /* the following matter when the background image is set */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
#erica-photo {
  background-image: url('../resources/members/HeadFirst-Erica.jpg');
}
#brian-photo {
  background-image: url('../resources/members/HeadFirst-Brian.jpg');
}
#mark-photo {
  background-image: url('../resources/members/HeadFirst-Mark.jpg');
}
#phil-photo {
  background-image: url('../resources/members/HeadFirst-Phil.jpg');
}
#dan-photo {
  background-image: url('../resources/members/HeadFirst-Dan1.jpg');
}
#arlen-photo {
  background-image: url('../resources/members/HeadFirst-Arlen2.jpg');
}
.member-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.5em;
  text-shadow:
    -1px -1px 0 #b42f19,
    1px -1px 0 #b42f19,
    -1px 1px 0 #b42f19,
    1px 1px 0 #b42f19;
}
.member-card .role {
  color: #b42f19;
  font-style: italic;
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(180, 47, 25, 0.5);
}
.member-card p {
  color: #cccccc;
  line-height: 1.6;
}
.modal {
  color: white;
}
.modal .modal-header {
  background-color: var(--hf-blue);
  border: none;
}
.modal.show .modal-content {
  color: white;
  background-color: #222;
  border: 4px solid var(--hf-blue);
}
.modal h2 {
  font-size: 1.6rem;
  font-weight: 400;
  margin: 0;
  color: white;
  text-align: left;
  text-transform: unset;
  letter-spacing: unset;
  position: static;
  text-shadow: unset;
}
.modal h2::after {
  content: '';
  display: inline;
  width: unset;
  height: unset;
  background: unset;
  margin: 0;
  box-shadow: unset;
}
.modal .btn-close {
  background-color: white;
  opacity: 0.8;
  margin-right: 0;
}
.modal-body {
  padding: 2rem;
}
.bio-text img {
  margin-bottom: 1rem;
  min-width: 100%;
}
.contact-section {
  text-align: center;
  background: linear-gradient(135deg, #1c2a83 0%, #2d3e9f 100%);
  border-radius: 15px;
  padding: 50px 30px;
  color: #fff;
  box-shadow:
    0 8px 24px rgba(28, 42, 131, 0.5),
    inset 0 0 40px rgba(0,0,0,0.3);
  border: 2px solid #b42f19;
}
.contact-section h3 {
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    0 0 20px rgba(180, 47, 25, 0.7);
  margin-bottom: 30px;
}
.contact-section h3::after {
  background: #b42f19;
}
.contact-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.5),
    1px -1px 0 rgba(0,0,0,0.5),
    -1px 1px 0 rgba(0,0,0,0.5),
    1px 1px 0 rgba(0,0,0,0.5);
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.social-links a {
  display: inline-block;
  padding: 15px 30px;
  background: #b42f19;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s;
  border: 2px solid #fff;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.5),
    1px -1px 0 rgba(0,0,0,0.5),
    -1px 1px 0 rgba(0,0,0,0.5),
    1px 1px 0 rgba(0,0,0,0.5);
  box-shadow: 0 4px 12px rgba(180, 47, 25, 0.4);
}
.social-links a:hover {
  background: #fff;
  color: #b42f19;
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
  text-shadow: none;
}
footer {
  text-align: center;
  padding: 30px;
  background: #1c2a83;
  color: #fff;
  margin-top: 80px;
  text-shadow:
    -1px -1px 0 rgba(0,0,0,0.5),
    1px -1px 0 rgba(0,0,0,0.5),
    -1px 1px 0 rgba(0,0,0,0.5),
    1px 1px 0 rgba(0,0,0,0.5);
  box-shadow: 0 -4px 12px rgba(180, 47, 25, 0.3);
}
