/* Assembly House — shared styles
   AH Commons palette: charcoal, ivory, antique gold, mahogany, emerald accent */

:root {
  --cream: #f2ece0;
  --cream-deep: #e6dcc4;
  --charcoal: #17140f;
  --brown: #4a2a20;
  --terracotta: #c6a15b;
  --terracotta-deep: #a3813f;
  --olive: #123c34;
  --gold: #c6a15b;
  --white: #fffdf8;
  --line: rgba(23, 20, 15, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  font-weight: 400;
}

h1, h2, h3, .wordmark {
  font-family: 'Cinzel', serif;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.logo-img { height: 42px; }

/* Mobile hamburger toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 210;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Brand lockup: AH script above "Assembly House" wordmark, in black */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  line-height: 1;
}

.brand-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-logo span {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: 2.5px;
  font-size: 0.72rem;
  color: #000;
  text-transform: uppercase;
}

.brand-logo.brand-logo-lg img { height: 64px; }
.brand-logo.brand-logo-lg span { font-size: 0.9rem; letter-spacing: 3px; }

nav.main-nav a {
  text-decoration: none;
  margin-left: 30px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  color: var(--brown);
  transition: color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--terracotta); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover { background: var(--terracotta-deep); transform: translateY(-1px); }

.btn.outline {
  background: transparent;
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
}

.btn.outline:hover { background: var(--terracotta); color: var(--white); }

/* Hero */
.hero {
  padding: 110px 6% 90px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #221d16 0%, var(--charcoal) 70%);
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  max-width: 780px;
  margin: 0 auto 22px;
  line-height: 0.95;
  color: var(--cream);
}

.hero h1 em { font-style: normal; color: var(--terracotta); }

.hero h1 .hero-line {
  display: block;
}

.hero h1 .hero-sub {
  display: block;
  font-family: 'Fraunces', serif;
  font-style: normal;
  font-size: 0.4em;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.3;
}

.hero p {
  max-width: 540px;
  margin: 0 auto 32px;
  color: rgba(242, 236, 224, 0.72);
  font-size: 1.05rem;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Section shell */
section.block { padding: 90px 6%; max-width: 1200px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 56px; }

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; }

.section-head p { color: var(--brown); max-width: 560px; margin: 16px auto 0; }

/* Locations grid */
.location-group {
  margin-bottom: 56px;
}

.location-group:last-child { margin-bottom: 0; }

.location-group-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.location-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.location-type-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--charcoal);
  background: rgba(255, 253, 248, 0.85);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.location-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(43, 36, 29, 0.08);
  text-decoration: none;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.location-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(43, 36, 29, 0.14); }

.location-photo {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.location-status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--white);
  background: var(--olive);
}

.location-status.soon { background: var(--gold); color: var(--charcoal); }

.location-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.location-body h3 { font-size: 1.4rem; margin-bottom: 8px; }

.location-body p { color: var(--brown); font-size: 0.92rem; margin-bottom: 20px; flex: 1; }

.location-cta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  padding-bottom: 3px;
  align-self: flex-start;
}

/* About / concept */
.about-block {
  background: var(--charcoal);
  color: var(--cream);
}

.about-block .section-head p,
.about-block p { color: rgba(244, 236, 221, 0.72); }

.about-block .section-head h2 { color: var(--white); }

/* Wine club banner */
.wine-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--olive);
  color: var(--white);
  border-radius: 20px;
  padding: 44px 44px;
}

.wine-banner h2 { font-family: 'Fraunces', serif; color: var(--white); font-size: 1.8rem; margin-bottom: 8px; }
.wine-banner p { color: rgba(255,255,255,0.82); max-width: 460px; }

/* Location page: sticky sub-nav */
.location-hero {
  padding: 130px 6% 60px;
  text-align: center;
  background: linear-gradient(160deg, #221d16, var(--charcoal));
}

.location-hero .eyebrow { margin-bottom: 12px; }

.location-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 14px; color: var(--cream); }

.location-hero .address { color: rgba(242, 236, 224, 0.72); font-size: 1rem; margin-bottom: 26px; }

.sub-nav {
  position: sticky;
  top: 78px;
  z-index: 150;
  display: flex;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 14px 6%;
  flex-wrap: wrap;
}

.sub-nav a {
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--brown);
  transition: background 0.2s ease, color 0.2s ease;
}

.sub-nav a:hover { background: var(--cream-deep); color: var(--terracotta); }

.loc-section { padding: 80px 6%; max-width: 1100px; margin: 0 auto; scroll-margin-top: 140px; }

.loc-section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }

.loc-section > p.lead { color: var(--brown); max-width: 640px; margin-bottom: 40px; }

.loc-section:nth-child(even) { background: var(--white); border-radius: 24px; }

/* Menu images */
.menu-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.menu-gallery img {
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(43,36,29,0.1);
}

/* Events list */
.events-list { display: flex; flex-direction: column; gap: 14px; }

.event-row {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 18px 22px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(43,36,29,0.06);
}

.event-date {
  font-weight: 700;
  color: var(--terracotta);
  min-width: 150px;
  font-size: 0.88rem;
}

.event-desc { color: var(--brown); font-size: 0.95rem; }

/* Contact / info grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.info-card h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--terracotta);
  margin-bottom: 10px;
  font-weight: 700;
}

.info-card p { color: var(--brown); margin-bottom: 4px; }

.info-card a { color: var(--charcoal); text-decoration: underline; }

.map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Coming soon */
.coming-soon-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 6% 90px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.coming-soon-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,36,29,0.55), rgba(43,36,29,0.78));
}

.coming-soon-hero > * { position: relative; z-index: 1; }

.coming-soon-hero h1 { color: var(--white); }

.coming-soon-hero p { color: rgba(244,236,221,0.85); }

.coming-soon-hero .eyebrow { color: var(--gold); }

/* Footer */
footer {
  padding: 60px 6% 34px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p { color: var(--brown); max-width: 300px; font-size: 0.9rem; margin-top: 12px; }

.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }

.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--terracotta);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--brown);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.footer-col a:hover { color: var(--terracotta); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.78rem;
  color: var(--brown);
}

/* Page-scoped: center all text content (used on the Wine Co. page) */
.center-page .loc-section,
.center-page .section-head {
  text-align: center;
}

.center-page .loc-section > p.lead {
  margin-left: auto;
  margin-right: auto;
}

.center-page .info-grid {
  text-align: center;
}

.center-page .info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-page .wine-banner {
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.center-page .wine-banner p {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 720px) {
  .info-grid { grid-template-columns: 1fr; }
  .sub-nav { top: 0; }

  /* Hamburger nav */
  .menu-toggle { display: flex; }

  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(23, 20, 15, 0.12);
    padding: 10px 0 20px;
  }

  nav.main-nav.open { display: flex; }

  nav.main-nav a {
    margin: 0;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
  }

  /* Centered footer on mobile */
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand p { margin-left: auto; margin-right: auto; }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
  }

  .footer-col { text-align: center; }

  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
