/* ============================================================
   SECTION: Site Header + Hero (The Brewery Compound)
   Edit: mockup/css/sections/hero.css
   ============================================================ */

.site-header {
  position: absolute;
  top: 2.5rem;
  left: 0;
  right: 0;
  z-index: 10;
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  width: 5rem;
  height: 5rem;
}

@media (max-width: 48rem) {
  .site-logo img {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.site-nav {
  display: flex;
  gap: var(--space-lg);
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-white);
}

.lang-switch {
  display: flex;
  gap: var(--space-xs);
  font-family: var(--font-data);
  font-size: var(--text-xs);
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 0.15rem 0.35rem;
}

.lang-switch a.is-active,
.lang-switch a:hover {
  color: var(--color-white);
}

/* Hero */
.hero {
  --section-bg: var(--color-slate);
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 23, 20, 0.85) 0%,
    rgba(26, 23, 20, 0.4) 45%,
    rgba(26, 23, 20, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  width: 100%;
}

.hero__title {
  font-size: var(--text-4xl);
  color: var(--color-white);
  max-width: 20ch;
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

@media (max-width: 48rem) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: 75vh;
  }
}
