/* /rebuild/assets/css/layout.css */

/* HEADER BAR: logo + address/phone */

.site-header {
  background: #fff;
  color: #000;
  padding:2px 0px;
}

.header-bar {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0px 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.header-logo img {
  width: 50px;
  height: 50px;
}

.header-right {
  text-align: right;
  font-size: .9rem;
  line-height: 1.4;
}

@media (min-width:880px){
    .header-right {
    text-align: right;
    font-size: .9rem;
    line-height: 1.4;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
}

.header-right p {
  margin-bottom: 0;
}

.site-nav-wrapper {
  background-color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* NAVIGATION */

.main-nav {
  background-color: #050b13;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topnav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 .75rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  
}

.topnav li {
  margin: 0;
}

.topnav li a {
  display: inline-block;
  padding: 15px 35px;
    font-size: 16px;
  letter-spacing: 0px;
  
  color: #000;
  transition: background-color .2s ease, color .2s ease;
}

.topnav li a:hover,
.topnav li a:focus {
  color: #afafaf;
  text-decoration: none;
}

.topnav li a.active {
    background-color: #fff;
    color: #afafaf;
}

.topnav .icon {
  display: none;
}

/* Mobile nav toggle button */
.nav-toggle {
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  min-height: 320px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--skishack-white);
}

.hero::before {
  /* dark overlay to help the logo read over background */
  content: "";
  position: absolute;
  inset: 0;
  
}

.hero-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: flex;
  justify-content: flex-end;
}

.hero-logo-wrap {
  text-align: center;
}

.hero-logo-wrap img {
  max-width: 280px;
  margin: 0 auto 1rem;
}

.hero-location {
  margin: 0;
  font-size: 1rem;
  letter-spacing: .08em;
}

/* BRAND STRIP */

.brand-strip {
  padding: 10px 10px;
  background: #fff;
}

.brand-strip-inner {
  max-width: 1140px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  /* spacing between left/center/right */
  column-gap: 2rem;
}

.brand-item {
  display: flex;
  align-items: center;
}

.brand-left {
  justify-content: flex-start;
}

.brand-center {
  justify-content: center;
}

.brand-right {
  justify-content: flex-end;
}

/* Image rules */
.brand-item img {
  max-height: 59px;
  width: auto;
  object-fit: contain;
}

/* MOBILE STACK */
@media (max-width: 768px) {
  .brand-strip-inner {
    grid-template-columns: 1fr;  /* single column */
    row-gap: 1.5rem;
  }

  .brand-left,
  .brand-center,
  .brand-right {
    justify-content: center; /* center everything on mobile */
  }
}


/* INTRO BLOCK */

.intro-block {
  background-color: #fff;
}

.intro-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-title {
  font-size: 2.25rem;
  font-family:'bangers';
  color: #000;
  margin-bottom: 1rem;
}

.intro-copy {
  color: #000;
  font-size: 18px;
}

/* TRIPTYCH (three-column main block) */

.main-triptych {
  background-color: #fff;
}

.triptych-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.triptych-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Storefront + text */
.storefront-figure {
  margin: 0;
  border-radius: .5rem;
  overflow: hidden;
  
}

.triptych-text {
  text-align: center;
  font-size: 1.05rem;
}

/* OnTheSnow widgets */
.ots-widget {
  margin-bottom: 1rem;
  background-color: #fff;
  border-radius: .5rem;
  overflow: hidden;
  
}

@media (max-width:768px){
    .ots-widget {
  margin-bottom: 1rem;
  background-color: #fff;
  border-radius: .5rem;
  overflow: scroll;
  
}
}

/* Hours & Facebook column */
.hours-block {
  text-align: center;
  font-size: .95rem;
}

.hours-block p {
  margin-bottom: .35rem;
}

.fb-block {
  margin-top: 1.5rem;
}

/* INTERIOR IMAGE */

.interior-photo {
  background-color: #fff;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.interior-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.interior-inner img {
  border-radius: .5rem;
  
}

/* SUMMARY TEXT */

.summary-block {
  background-color: #fff;
}

.summary-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
}

/* MAP SECTION */

.map-section {
  background-color: #fff;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.map-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.map-inner hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1rem;
}

.map-frame {
  width: 100%;
  border: 0;
  border-radius: .5rem;
  overflow: hidden;
  
  margin-bottom: 1rem;
}

/* FOOTER */

.site-footer {
  background-color: #030b12;
  color: var(--skishack-white);
  padding: 2.5rem 1rem;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 2fr 1.4fr;
  gap: 2rem;
  align-items: center;
}

.footer-logo img {
  max-width: 160px;
}

.footer-contact p {
  margin-bottom: .75rem;
  font-size: .95rem;
}

.footer-credit {
  font-size: .8rem;
}

.footer-credit a {
  color: #fff;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: none;
}

.footer-hours {
  text-align: center;
  font-size: .95rem;
}

.footer-hours p {
  margin-bottom: .5rem;
}

/* BACK TO TOP */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background-color: #000;
  color: #fff;
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}
@media (max-width: 768px) {

  /* show hamburger */
  .topnav li.icon {
    display: block;
    text-align:right !important;
  }

  /* collapse menu initially */
  .topnav li:not(.icon) {
    display: none;
  }

  /* drawer open state */
  .topnav.open li {
    display: block;
    width: 100%;
    text-align: left;
  }

  .topnav.open li a {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,.15);
    width:100%;
  }
  
  .topnav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 .75rem;
  list-style: none;
  display: block;
  align-items: center;
  justify-content: center;
}
}