/* ================================================
   ALPINE BAR — TownePlace Suites Bozeman West
   Warm & Rustic · Zodiak + Switzer · Light base
   ================================================ */

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

:root {
  --red:        #B83223;
  --red-h:      #9A2A1D;
  --cream:      #FAF7F2;
  --warm-white: #F5F0E8;
  --tan:        #E8DFD0;
  --tan-dark:   #D4C7B0;
  --bark:       #3D2B1A;
  --bark-mid:   #5C3D22;
  --bark-light: #7A5535;
  --text:       #2A1F13;
  --text-mid:   #5C4433;
  --text-muted: #8B7055;
  --gold:       #C4902A;
  --font-disp:  'Zodiak', Georgia, serif;
  --font-body:  'Switzer', system-ui, sans-serif;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius:     12px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--text); overflow-x: hidden; }
img  { display: block; width: 100%; height: 100%; object-fit: cover; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }

/* ===== NAV ===== */
.ab-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px;
  padding: 20px 48px;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.ab-nav.scrolled {
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(12px);
  padding: 14px 48px;
  box-shadow: 0 1px 0 rgba(61,43,26,0.1);
}
.ab-nav__brand { flex-shrink: 0; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ab-nav__bar-logo { height: 44px; width: 44px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.ab-nav__brand-text { display: flex; flex-direction: column; gap: 1px; }
.ab-nav__brand-name { font-family: var(--font-disp); font-size: 17px; font-weight: 400; color: #fff; letter-spacing: -0.01em; line-height: 1.2; transition: color 0.3s; }
.ab-nav__brand-sub  { font-size: 10px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); line-height: 1; transition: color 0.3s; }
.ab-nav.scrolled .ab-nav__brand-name { color: var(--text); }
.ab-nav.scrolled .ab-nav__brand-sub  { color: var(--text-muted); }
.ab-nav__links { display: flex; gap: 32px; list-style: none; margin-left: auto; }
.ab-nav__links a { font-size: 13px; font-weight: 500; color: rgba(250,247,242,0.85); letter-spacing: 0.02em; transition: color 0.2s; }
.ab-nav.scrolled .ab-nav__links a { color: var(--text-mid); }
.ab-nav__links a:hover { color: #fff; }
.ab-nav.scrolled .ab-nav__links a:hover { color: var(--red); }
.ab-nav__cta {
  margin-left: 20px; padding: 9px 20px;
  background: var(--red); color: #fff;
  border-radius: 6px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.02em; transition: background 0.2s; white-space: nowrap;
}
.ab-nav__cta:hover { background: var(--red-h); }
.ab-nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.ab-nav__hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: background 0.3s; }
.ab-nav.scrolled .ab-nav__hamburger span { background: var(--bark); }

/* Mobile drawer */
.ab-mobile-drawer {
  position: fixed; top: 0; right: -300px; width: 280px; height: 100vh;
  background: var(--cream); z-index: 200; padding: 28px 28px;
  transition: right 0.3s var(--ease);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
.ab-mobile-drawer.open { right: 0; }
.ab-mobile-drawer__close { background: none; border: none; color: var(--text); font-size: 28px; cursor: pointer; margin-bottom: 28px; display: block; line-height: 1; }
.ab-mobile-drawer ul { display: flex; flex-direction: column; }
.drawer-link { display: block; padding: 13px 0; font-size: 16px; font-weight: 500; color: var(--text-mid); border-bottom: 1px solid var(--tan); transition: color 0.2s; }
.drawer-link:hover { color: var(--red); }
.drawer-link--cta { margin-top: 16px; color: var(--red); border: none; font-weight: 600; }
.ab-mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 150; display: none; }
.ab-mobile-overlay.open { display: block; }

/* ===== BUTTONS ===== */
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 7px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.02em; cursor: pointer; border: none;
  transition: background 0.2s, transform 0.1s, border-color 0.2s, color 0.2s;
}
.ab-btn:active { transform: scale(0.97); }
.ab-btn--primary { background: var(--red); color: #fff; }
.ab-btn--primary:hover { background: var(--red-h); }
.ab-btn--ghost { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.ab-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.ab-btn--dark { background: var(--bark); color: var(--cream); }
.ab-btn--dark:hover { background: var(--bark-mid); }
.ab-btn--outline { background: transparent; border: 1.5px solid var(--tan-dark); color: var(--text-mid); }
.ab-btn--outline:hover { border-color: var(--bark-light); color: var(--bark); }
.ab-btn--lg { padding: 16px 36px; font-size: 15px; }

/* ===== HERO ===== */
.ab-hero { position: relative; height: 100vh; min-height: 620px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ab-hero__bg { position: absolute; inset: 0; }
.ab-hero__bg img { filter: brightness(0.55); }
.ab-hero__overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(40,20,8,0.3) 0%, rgba(20,10,4,0.65) 100%); }
.ab-hero__content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 820px; }
.ab-hero__eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.ab-hero__title { font-family: var(--font-disp); font-size: clamp(56px, 9vw, 108px); font-weight: 400; letter-spacing: -0.03em; line-height: 0.92; color: #fff; margin-bottom: 18px; }
.ab-hero__tagline { font-size: clamp(14px, 1.8vw, 18px); color: rgba(255,255,255,0.65); letter-spacing: 0.05em; margin-bottom: 28px; }
.ab-hero__hours { margin-bottom: 40px; }
.ab-hero__hours-badge { display: inline-block; padding: 9px 22px; background: rgba(184,50,35,0.3); border: 1px solid rgba(184,50,35,0.6); border-radius: 30px; font-size: 13px; font-weight: 600; color: #FFB3A8; letter-spacing: 0.04em; }
.ab-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ab-hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.ab-hero__scroll-line { width: 1px; height: 52px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:.2;transform:scaleY(.8)translateY(-4px)} 50%{opacity:.9;transform:scaleY(1)translateY(4px)} }

/* ===== SECTIONS ===== */
.ab-section { padding: 96px 0; }
.ab-section__inner { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.ab-section--bark  { background: var(--bark); }
.ab-section--tan   { background: var(--warm-white); }
.ab-section--gallery { background: var(--bark); padding-bottom: 0; }

/* ===== EYEBROW / TITLES ===== */
.ab-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.ab-eyebrow--light { color: #E8A898; }
.ab-title { font-family: var(--font-disp); font-size: clamp(30px, 4vw, 50px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; color: var(--text); margin-bottom: 20px; }
.ab-title--light { color: var(--cream); }
.ab-body { font-size: 15.5px; line-height: 1.78; color: var(--text-mid); margin-bottom: 14px; }
.ab-body--light { color: rgba(250,247,242,0.7); }
.ab-body--centered { text-align: center; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== ABOUT ===== */
.ab-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 64px; }
.ab-about__images { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; height: 520px; }
.ab-about__img-main { border-radius: var(--radius); overflow: hidden; }
.ab-about__img-stack { display: flex; flex-direction: column; gap: 12px; }
.ab-about__img-stack > div { flex: 1; border-radius: var(--radius); overflow: hidden; }
.ab-about__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ab-pill { padding: 7px 14px; background: var(--tan); border: 1px solid var(--tan-dark); border-radius: 20px; font-size: 12.5px; font-weight: 500; color: var(--text-mid); }

/* Stats */
.ab-stats { display: grid; grid-template-columns: repeat(4,1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--tan-dark); }
.ab-stat { padding: 32px 24px; text-align: center; border-right: 1px solid var(--tan-dark); }
.ab-stat:last-child { border-right: none; }
.ab-stat__num { display: block; font-family: var(--font-disp); font-size: 38px; font-weight: 500; color: var(--red); letter-spacing: -0.03em; }
.ab-stat__label { display: block; font-size: 11.5px; font-weight: 600; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ===== MENU ===== */
.ab-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 52px; }
.ab-menu__cat-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-disp); font-size: 21px; font-weight: 500; color: var(--cream); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(250,247,242,0.15); }
.ab-menu__cat-title svg { width: 18px; height: 18px; color: #E8A898; flex-shrink: 0; }
.ab-menu__items { display: flex; flex-direction: column; }
.ab-menu__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(250,247,242,0.07); }
.ab-menu__item-info { display: flex; flex-direction: column; gap: 2px; }
.ab-menu__item-name { font-size: 14px; font-weight: 500; color: var(--cream); }
.ab-menu__item-note { font-size: 12px; color: rgba(250,247,242,0.4); }
.ab-menu__item-price { font-size: 13.5px; font-weight: 700; color: #E8A898; white-space: nowrap; }
.ab-menu__download { text-align: center; margin-top: 52px; }
.ab-menu__download p { font-size: 14px; color: rgba(250,247,242,0.5); margin-bottom: 14px; }

/* Beer */
.ab-beer-section { margin-top: 52px; padding-top: 40px; border-top: 1px solid rgba(250,247,242,0.12); }
.ab-beer-section__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-disp); font-size: 24px; font-weight: 500; color: var(--cream); margin-bottom: 28px; }
.ab-beer-section__title svg { width: 22px; height: 22px; color: #E8A898; }
.ab-beer-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.ab-beer-col__label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #E8A898; margin-bottom: 12px; display: block; }
.ab-beer-col__price-tag { color: rgba(250,247,242,0.4); font-size: 12px; letter-spacing: 0; font-weight: 500; margin-left: 6px; }
.ab-beer-list { display: flex; flex-direction: column; gap: 0; }
.ab-beer-list > li { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: rgba(250,247,242,0.8); padding: 7px 0; border-bottom: 1px solid rgba(250,247,242,0.06); }
.ab-beer-list__brewery { font-size: 11.5px; font-weight: 600; color: rgba(250,247,242,0.35); letter-spacing: 0.04em; text-transform: uppercase; padding: 10px 0 2px; }
.ab-beer-list__brewery-items { display: flex; flex-direction: column; }
.ab-beer-list__brewery-items li { display: flex; justify-content: space-between; font-size: 13.5px; color: rgba(250,247,242,0.8); font-weight: 400; padding: 6px 0 6px 12px; border-bottom: 1px solid rgba(250,247,242,0.06); }
.ab-beer-price { font-weight: 700; color: #E8A898; font-size: 13px; }
.ab-beer-origin { font-size: 11px; color: rgba(250,247,242,0.3); padding-left: 8px; }

/* ===== HAPPY HOUR ===== */
.ab-hh__layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.ab-hh__time-badge { display: inline-block; padding: 10px 22px; background: rgba(184,50,35,0.12); border: 1px solid rgba(184,50,35,0.35); border-radius: 30px; font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: 0.03em; margin: 12px 0 20px; }
.ab-hh__cards { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; }
.ab-hh__card { background: #fff; border: 1px solid var(--tan-dark); border-radius: var(--radius); padding: 28px 22px; box-shadow: 0 2px 12px rgba(61,43,26,0.07); }
.ab-hh__card-icon { font-size: 30px; margin-bottom: 8px; }
.ab-hh__card-price { font-family: var(--font-disp); font-size: 48px; font-weight: 400; color: var(--red); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.ab-hh__card h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.ab-hh__card ul { display: flex; flex-direction: column; gap: 7px; }
.ab-hh__card ul li { font-size: 13px; color: var(--text-mid); line-height: 1.4; }
.ab-hh__card ul li em { font-size: 11px; font-style: normal; color: var(--text-muted); }
.ab-hh__food-list { display: flex; flex-direction: column; gap: 10px; }
.ab-hh__food-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--text-mid); }
.ab-hh__food-price { font-weight: 700; color: var(--red); white-space: nowrap; }

/* ===== SPECIALS ===== */
.ab-specials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.ab-special-card { background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--tan-dark); box-shadow: 0 4px 20px rgba(61,43,26,0.08); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.ab-special-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(61,43,26,0.14); }
.ab-special-card__body { padding: 28px 24px; }
.ab-special-card__tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); background: rgba(184,50,35,0.07); border: 1px solid rgba(184,50,35,0.2); border-radius: 20px; padding: 4px 12px; margin-bottom: 12px; }
.ab-special-card__body h3 { font-family: var(--font-disp); font-size: 22px; font-weight: 400; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.ab-special-card__body p { font-size: 13.5px; line-height: 1.65; color: var(--text-mid); margin-bottom: 16px; }
.ab-special-card__price { font-size: 20px; font-weight: 700; color: var(--red); font-family: var(--font-disp); }


/* ===== GALLERY ===== */
.ab-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 6px; padding-top: 40px; }
.ab-gallery__item { position: relative; overflow: hidden; cursor: pointer; }
.ab-gallery__item img { transition: transform 0.5s var(--ease); width: 100%; height: 100%; object-fit: cover; }
.ab-gallery__item:hover img { transform: scale(1.07); }
.ab-gallery__item--tall { grid-row: span 2; }
.ab-gallery__item--wide { grid-column: span 2; }
.ab-gallery__cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px; background: linear-gradient(to top, rgba(40,20,8,0.75), transparent); font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.85); letter-spacing: 0.03em; opacity: 0; transition: opacity 0.25s; }
.ab-gallery__item:hover .ab-gallery__cap { opacity: 1; }

/* Lightbox */
.ab-lightbox { position: fixed; inset: 0; background: rgba(20,10,4,0.97); z-index: 999; display: none; align-items: center; justify-content: center; }
.ab-lightbox.open { display: flex; }
.ab-lightbox__img-wrap img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.ab-lightbox__close { position: absolute; top: 20px; right: 28px; background: none; border: none; color: #fff; font-size: 38px; cursor: pointer; opacity: 0.6; line-height: 1; }
.ab-lightbox__close:hover { opacity: 1; }
.ab-lightbox__prev, .ab-lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: 34px; padding: 12px 18px; cursor: pointer; border-radius: 8px; line-height: 1; transition: background 0.2s; }
.ab-lightbox__prev { left: 20px; }
.ab-lightbox__next { right: 20px; }
.ab-lightbox__prev:hover, .ab-lightbox__next:hover { background: rgba(255,255,255,0.18); }

/* ===== CTA BANNER ===== */
.ab-cta { position: relative; padding: 120px 24px; text-align: center; overflow: hidden; }
.ab-cta__bg { position: absolute; inset: 0; }
.ab-cta__bg img { filter: brightness(0.4); }
.ab-cta__overlay { position: absolute; inset: 0; background: rgba(30,15,5,0.5); }
.ab-cta__content { position: relative; z-index: 2; max-width: 540px; margin: 0 auto; }
.ab-cta__content h2 { font-family: var(--font-disp); font-size: clamp(38px, 6vw, 64px); font-weight: 400; color: #fff; letter-spacing: -0.03em; margin-bottom: 16px; }
.ab-cta__content p { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 6px; line-height: 1.6; }
.ab-cta__address { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 40px !important; }

/* ===== FOOTER ===== */
.ab-footer { background: var(--bark); border-top: 1px solid rgba(255,255,255,0.08); padding: 44px 0; }
.ab-footer__inner { max-width: 1160px; margin: 0 auto; padding: 0 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.ab-footer__logo { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: 0.5; }
.ab-footer__links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.ab-footer__links a { font-size: 13px; color: rgba(250,247,242,0.4); transition: color 0.2s; }
.ab-footer__links a:hover { color: var(--cream); }
.ab-footer__copy { font-size: 12px; color: rgba(250,247,242,0.2); }

/* ===== DIVIDER ===== */
.ab-divider { width: 48px; height: 3px; background: var(--red); border-radius: 2px; margin: 0 auto 32px; }
.ab-divider--left { margin: 0 0 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ab-about__grid { grid-template-columns: 1fr; gap: 40px; }
  .ab-about__images { height: 360px; }
  .ab-menu__grid { grid-template-columns: 1fr; }
  .ab-beer-cols { grid-template-columns: 1fr 1fr; }
  .ab-hh__layout { grid-template-columns: 1fr; gap: 36px; }
  .ab-hh__cards { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .ab-nav__links, .ab-nav__cta { display: none; }
  .ab-nav__hamburger { display: flex; }
  .ab-nav { padding: 16px 24px; }
  .ab-section { padding: 72px 0; }
  .ab-section__inner { padding: 0 24px; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
  .ab-stat { border-right: none; border-bottom: 1px solid var(--tan-dark); }
  .ab-hh__cards { grid-template-columns: 1fr; }
  .ab-specials__grid { grid-template-columns: 1fr; }
  .ab-gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .ab-gallery__item--tall { grid-row: span 1; }
  .ab-gallery__item--wide { grid-column: span 2; }
  .ab-beer-cols { grid-template-columns: 1fr; }
  .ab-about__images { grid-template-columns: 1fr; height: auto; }
  .ab-about__img-stack { flex-direction: row; height: 180px; }
}
@media (max-width: 480px) {
  .ab-gallery__grid { grid-template-columns: 1fr; }
  .ab-gallery__item--wide { grid-column: span 1; }
  .ab-hh__cards { grid-template-columns: 1fr; }
  .ab-stats { grid-template-columns: 1fr 1fr; }
}
