/* =========================
   Style_Home.css (FULL)
   Mash Bill Coffee
   ========================= */

/* 0) Reset + base */
*,
*::before,
*::after{
  box-sizing: border-box;
}

*{
  margin: 0;
  padding: 0;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
  color: #1a1a1a;
}

/* 1) Theme tokens (used by header + footer) */
:root{
  --bg: #2b2b2b;
  --line: rgba(255,255,255,.35);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.78);
}

/* =========================
   2) Header (shared)
   ========================= */
.site-header{
  background: var(--bg);
  color: var(--text);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Top bar */
.header-top{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 32px;
  gap: 20px;
}

.top-left,
.top-right{
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-left{ justify-content: flex-start; }
.top-right{ justify-content: flex-end; }

.brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand-logo{
  width: 106px;
  height: 106px;
  object-fit: contain;
  display: block;
}

/* Bottom nav bar */
.header-nav{
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding: 16px 18px;

  /* white lines around the nav bar block */
  border-top: 1px solid rgba(255,255,255,1);
  border-bottom: 1px solid rgba(255,255,255,1);
}

.header-nav a{
  color: var(--text);
  text-decoration: none;
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 14px;

  display: inline-block;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.header-nav a:hover{
  transform: scale(1.08);
  opacity: 1;
}

/* Responsive header */
@media (max-width: 800px){
  .header-top{
    padding: 18px 16px;
  }
  .brand-logo{
    width: 76px;
    height: 76px;
  }
  .header-nav{
    gap: 22px;
  }
}

/* =========================
   3) Buttons (shared)
   ========================= */
.btn-primary,
.btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;

  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;

  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn-primary{
  background: rgba(255,255,255,.92);
  color: #2b2b2b;
  border: 1px solid rgba(255,255,255,.25);
}

.btn-primary:hover{
  transform: scale(1.04);
}

.btn-secondary{
  background: transparent;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.35);
}

.btn-secondary:hover{
  transform: scale(1.04);
  border-color: rgba(255,255,255,.55);
}

/* =========================
   4) Home hero background section
   ========================= */
.main{
  width: 100%;
  flex: 1;

  /* makes the home page scrollable without forcing infinite scrolling */
  min-height: 200vh;

  background:
    linear-gradient(to top, rgba(51, 81, 52, 0.5) 50%, rgba(255, 255, 255, 0.5) 50%),
    url("Background.jpeg");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Centered logo image (your big PNG) */
.image-container{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-image{
  max-width: 50%;
  max-height: 700px;
  width: auto;
  height: auto;
  display: block;
}

/* Subheader image (if used) */
.subheader{
  width: min(650px, 92vw);
  height: auto;
  display: block;
}

/* =========================
   5) Hero CTA panel
   ========================= */
.hero-cta{
  width: min(720px, 92vw);
  margin: 125px auto 0;
  padding: 20px 22px;
  text-align: center;

  background: rgba(51, 81, 52, 0.75);
  border-top: 1px solid rgba(255,255,255,.35);
  border-bottom: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(2px);
}

.hero-cta-title{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

.hero-cta-text{
  margin: 0 auto 14px;
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.82);
}

.hero-cta-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-cta-points{
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;

  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.78);
}

.hero-cta-points li{
  position: relative;
  padding-left: 12px;
}

.hero-cta-points li::before{
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(255,255,255,.65);
}

/* =========================
   6) Home horizontal gallery strip
   ========================= */
.home-gallery{
  margin-top: 300px;
  width: 100%;
  overflow: hidden;
}

.gallery-track{
  display: flex;
  gap: 16px;
  padding: 0 24px;

  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;

  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.gallery-track::-webkit-scrollbar{
  display: none; /* Chrome/Safari */
}

.gallery-track img{
  height: 460px;
  width: 280px; /* fixed width forces overflow */
  flex: 0 0 auto;

  opacity: 0.7;
  border-radius: 0;
  object-fit: cover;
}

/* =========================
   7) Footer (shared)
   ========================= */
.site-footer{
  background: var(--bg);
  color: rgba(255,255,255,.9);
  border-top: 1px solid rgba(255,255,255,1);
  border-bottom: 1px solid rgba(255,255,255,1);
}

.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 18px;
  text-align: center;
}

.footer-social{
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.social-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;

  border: 1px solid rgba(255,255,255,.25);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.social-btn:hover{
  transform: scale(1.08);
  border-color: rgba(255,255,255,.45);
}

.social-icon{
  width: 22px;
  height: 22px;
  fill: rgba(255,255,255,.92);
}

.footer-meta{
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.75);
}


