@charset "utf-8";
/* CSS Document */
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.8;
  color: #1c1917;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #d97706;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

a:visited {
  color: #b45309;
}

a:hover {
  color: #f59e0b;
}

a:active {
  color: #dc2626;
}

h1, h2, h3, h4 {
  clear: both;
  line-height: 1.3;
}

h1 {
  font-family: 'Space Mono', 'Courier New', monospace;
  font-weight: 700;
  color: #1c1917;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

h2 {
  font-size: 1.1rem;
  color: #57534e;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0.25em;
}

h3 {
  font-size: 0.95rem;
  font-weight: 300;
  color: #78716c;
  font-style: italic;
  letter-spacing: 0.5px;
  margin-top: 0.15em;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1c1917;
  margin-bottom: 0.75em;
  position: relative;
  display: inline-block;
  padding: 0;
}

h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #d97706, #f59e0b);
  border-radius: 2px;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

img:hover {
  transform: scale(1.03);
}

/* ---- Header ---- */
#header {
  text-align: center;
}

#header a {
  font-weight: 500;
}

#header div {
  padding: 1.25em 1.5em;
}

/* ---- Main Content ---- */
#main {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 2.5em;
}

#main p {
  padding-bottom: 1em;
  color: #44403c;
}

/* ---- Sections ---- */
#main section {
  margin-bottom: 3em;
}

#main section:last-child {
  margin-bottom: 0;
}

/* ---- Content Row (image + text) ---- */
.content-row {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 1em;
}

.content-row p {
  flex: 1;
}

/* ---- CTA Button ---- */
.cta {
  text-align: center;
  margin-bottom: 2.5em;
}

.cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
  padding: 0.85em 2.2em;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.cta a::after {
  content: '→';
  transition: transform 0.3s ease;
}

.cta a:hover {
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

.cta a:hover::after {
  transform: translateX(4px);
}

/* ---- Quote ---- */
.quote {
  text-align: center;
  font-size: 0.95rem;
  padding: 2em 2.5em;
  margin: 2em 0;
  background: rgba(217, 119, 6, 0.06);
  border-radius: 12px;
  position: relative;
}

.quote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(217, 119, 6, 0.15);
  position: absolute;
  top: -0.1em;
  left: 0.3em;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote p {
  font-style: italic;
  font-size: 1.05rem;
  color: #292524;
  padding-bottom: 0.75em;
}

.quote cite {
  display: block;
  font-size: 0.85rem;
  color: #a8a29e;
  font-style: normal;
  letter-spacing: 0.3px;
}

/* ---- Float helpers ---- */
.floatL {
  float: left;
  margin-right: 2em;
  margin-bottom: 0.5em;
  max-width: 220px;
  border-radius: 8px;
}

.floatR {
  float: right;
  margin-left: 2em;
  margin-bottom: 0.5em;
  max-width: 220px;
  border-radius: 8px;
}

/* ---- Attribute ---- */
.attribute {
  font-size: 0.75rem;
  padding-top: 2em;
  color: #a8a29e;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 2em;
}

/* ---- Labels Page ---- */
.labels-page {
  text-align: center;
}

.labels-page .beer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.beer {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 1.5em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.beer:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.beer img {
  display: block;
  margin: 0 auto 1.25em;
  max-width: 180px;
  border-radius: 6px;
}

.beer h4 {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}

.beer h4::after {
  display: none;
}

.beer p {
  color: #78716c;
  font-size: 0.9rem;
  line-height: 1.6;
}

.brewed {
  display: inline-block;
  margin-top: 0.5em;
  font-size: 0.8rem;
  color: #a8a29e;
  font-style: italic;
  letter-spacing: 0.3px;
}

/* ---- No Label Placeholder ---- */
.noLabel {
  width: 180px;
  height: 180px;
  border: 2px dashed #d6d3d1;
  border-radius: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25em;
  color: #a8a29e;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.02);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.beer:hover .noLabel {
  border-color: #d97706;
  background: rgba(217, 119, 6, 0.03);
}

/* ---- Responsive tweaks ---- */
@media (max-width: 600px) {
  .content-row {
    flex-direction: column;
    gap: 1em;
  }

  .floatL, .floatR {
    float: none;
    display: block;
    margin: 0 auto 1em;
    max-width: 100%;
  }

  h1 {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 0.9rem;
  }

  h3 {
    font-size: 0.85rem;
  }

  #main {
    padding: 1.5em;
    border-radius: 12px;
  }

  .quote {
    padding: 1.5em;
  }

  .labels-page .beer-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }

  .noLabel {
    width: 140px;
    height: 140px;
  }
}
