/* Mansfield Homebrew Club — single-page (cPanel-friendly) */

:root{
  /* Lighter warm brown that works with amber accents */
  --bg: #6a4b35;

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);

  --amber: #f6b04b;
  --amber-2: #ffcf7a;

  --border: rgba(255,255,255,0.12);
  --border-amber: rgba(246,176,75,0.35);

  --shadow: 0 18px 50px rgba(0,0,0,0.30);
  --radius: 18px;
  --wrap: 1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

a{ color: var(--amber-2); text-decoration: none; }
a:hover{ text-decoration: underline; }
a:focus-visible{
  outline: 3px solid rgba(246,176,75,0.55);
  outline-offset: 3px;
  border-radius: 10px;
}

.wrap{
  max-width: var(--wrap);
  padding: 0 18px;
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: 1px solid var(--border-amber);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus{ left: 12px; }

/* HERO HEADER (uses the flyer crop) */
.hero-header{
  position: relative;
  background-color: var(--bg); /* fills wide screens cleanly */
}

.hero-header::before{
  content: "";
  display: block;
  min-height: 55vh;
  background-image: url("images/header-flyer.jpg?v=20260222");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* show full artwork on any screen */
}

.hero-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.55));
}

.hero-content{
  text-align: center;
  padding: 16px 0 30px;
}

.hero-notice{
  display: inline-block;
  margin: 0 0 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(246,176,75,0.22);
  border: 1px solid rgba(246,176,75,0.55);
  color: var(--amber-2);
  font-size: 0.92rem;
}

/* SECTIONS */
.section{
  padding: 28px 0;
  background-color: var(--bg); /* consistent background everywhere */
}

.muted{ color: var(--muted); }

/* JOIN BLOCK */
.join-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr; /* left photo / text / right photo */
  gap: 18px;
  align-items: center;
}

.join-media{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.join-media img{
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.join-content{ text-align: center; }

.join-content h2{
  margin: 0 0 10px;
  font-size: 1.6rem;
  letter-spacing: 0.2px;
}

.join-lead{
  margin: 0 0 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.join-details{
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(246,176,75,0.14);
  border: 1px solid var(--border-amber);
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
}

.join-details .label{
  color: rgba(255,207,122,0.98);
  font-weight: 750;
  margin-right: 6px;
}

.join-body{
  margin: 0 0 10px;
  color: rgba(255,255,255,0.74);
  line-height: 1.65;
}

.join-fineprint{
  margin: 0;
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
}

/* ABOUT BLOCK */
.about-content{
  max-width: 860px;
  text-align: center;
}

.about-lead{
  font-size: 1.1rem;
  color: rgba(255,255,255,0.86);
  margin-bottom: 14px;
}

.about-content p{
  color: rgba(255,255,255,0.76);
  line-height: 1.65;
}

.contact-box{
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(0,0,0,0.16);
  border: 1px solid var(--border);
}

.contact-box p{ margin: 6px 0; }

/* FOOTER */
.site-footer{
  background-color: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 18px 0;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
small{ color: var(--muted); }

@media (max-width: 900px){
  .join-grid{ grid-template-columns: 1fr; }
  .join-grid .join-content{ order: -1; }
  .join-media img{ max-height: 340px; }
  .hero-header::before{ min-height: 44vh; }
}


@media (max-width: 600px){
  /* Make the header feel like a real hero on phones (less tall, less empty space) */
  .hero-header::before{
    min-height: 34vh;
    background-size: cover;       /* avoid tiny "postage stamp" header on phones */
    background-position: center 22%;
  }

  .hero-overlay{
    align-items: flex-end;
    background: linear-gradient(to bottom, rgba(0,0,0,0.06), rgba(0,0,0,0.60));
  }

  .hero-content{
    padding: 14px 0 18px;
  }

  .hero-notice{
    font-size: 0.88rem;
    padding: 7px 12px;
  }

  .section{
    padding: 22px 0;
  }

  .join-content h2{
    font-size: 1.35rem;
  }

  .join-details{
    text-align: left; /* easier to scan on phones */
  }

  .wrap{
    padding: 0 14px;
  }
}



/* TOP MENU (styled like the sample, but using site background) */
.top-menu{
  background-color: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.top-menu-inner{
  display: flex;
  justify-content: center;
  gap: 38px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.top-menu a{
  color: rgba(255,255,255,0.90);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 8px 10px;
  border-radius: 12px;
}

.top-menu a:hover{
  background: rgba(0,0,0,0.12);
  text-decoration: none;
  color: var(--amber-2);
}

@media (max-width: 600px){
  .top-menu-inner{ gap: 14px; padding: 10px 0; }
  .top-menu a{ letter-spacing: 0.18em; font-size: 0.82rem; }
}


/* PHOTO GRID */
.photo-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.photo-card{
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: rgba(0,0,0,0.08);
}

.photo-card img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.photo-card figcaption{
  padding: 10px 12px 12px;
  font-size: 0.95rem;
}

@media (max-width: 900px){
  .photo-grid{ grid-template-columns: 1fr; }
  .photo-card img{ height: 260px; }
}
