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

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  padding-top: 150px;
}

/* ==================================
Index Background Section & BG Rotator
===================================== */
.index-background-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  width: 100%;
  background-image: url("img/487825583_1053669260120718_7351882501207550333_n.jpg");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-image 1s ease-in-out;
  display: flex;
  place-items: start center;
  justify-content: center;
  z-index: 1;
}

.index-background-section::-webkit-scrollbar {
  display: none;
}

.bg-rotator::before,
.bg-rotator::after {
    content:"";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.bg-rotator {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bg-rotator img {
  width: 300px;
  height: auto;
  z-index: 1500;
  position: bottom center;
}

/* layer A visible by default */
.bg-rotator::before {
    opacity: 1;
}

.bg-rotator::before {
  background-image: var(--before-bg);
  background-position: var(--before-position, center center);
  opacity: 1;
}

.bg-rotator::after {
  background-image: var(--after-bg);
  background-position: var(--after-pos, center center);
  opacity: 0;
}

.bg-rotator.show-after::after {
  opacity: 1;
}

.bg-rotator.show-after::before {
  opacity: 0;
}

/* ===========================================
   Index Page Hero SECTION CONTENT 
============================================== */

.hero-logo {
    top: 140px;
    position: absolute;
    pointer-events: none;
    z-index: 1000;
}

.hero-logo img {
  position: relative;
  min-width: 300px;
  height: auto;
}

.hero-content {
  position: relative;
  margin-top: 400px; /* pushes below hero-logo visually */
  text-align: center;
  color: white;
  padding: 2rem 1rem;
  z-index: 1000;
}

.hero-content a {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(82,73,86,.5);
  color: #ffffff;
  border-style: solid;
  border-color: #ffffff;
  border-width: 1px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, filter 180ms ease;
}
.hero-content a:hover {
  transform: translateY(-3px) scale(1.02);
}
.hero-content a:active {
  transform: translateY(-1px) scale(1.01);
}

.hero-intro {
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-events {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

/* =========================
   TILE SECTION
========================= */
.tile-section {
  display: flex;
  flex-direction: column;
  padding: 15px;
  gap: 15px;
}

.tile-section::-webkit-scrollbar {
  display: none;
}

.tile {
  position: relative;
  display: block; /* important for <a> */
  overflow: hidden;
  text-decoration: none;
  color: inherit;

  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tile:hover,
.tile.show-overlay {
  transform: scale(1.02);
}

[class$="-section-text"] h1,
[class$="-section-text"] h2,
[class$="-section-text"] h3 {
  line-height: 1.3;
}

[class$="-section-text"] p {
  line-height: 1.2;
}

.tile > div {
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tile:hover > div,
.tile.show-overlay > div {
  transform: scale(1.08);
}

/* =========================
   TILE SECTION ON INDEX PAGE
========================= */

.mystery-section {
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;

  background-image: url("img/bigfoot-newspaper-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.mystery-section img {
    width: 300px;
    position: relative;
    z-index: 5;
}

.history-section {
    justify-content: center;
    padding: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    min-height: 350px;
    background-image: url(img/wc-1925-seely-foto.jpg);
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.history-section img {
    width: 300px;
}

.local-roots-section {
  color: #ffffff;
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  background-image: url(img/native-room-map.svg);
  background-color: rgba(156,58,34,.8);
  text-align: center;
  background-size: 335px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.local-roots-section img {
  width: 300px;
}

.local-roots-section-text {
  position: absolute;
  inset: 0; /* fills entire tile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 2rem;
  text-align: center;

  background-color: rgba(82,73,86,.8);

  opacity: 0;
  transition: opacity 300ms ease;
}

.local-roots-section:hover .local-roots-section-text,
.tile.show-overlay .local-roots-section-text {
  opacity: 1;
}

.local-roots-section:hover {
  transform: scale(1.02);
}

.plan-a-visit-section {
  line-height: 2;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  color: #ffffff;
  background-color: #044548;
  background-image: url(img/visit-humboldt-tile_1.svg);
  background-size: 360px;
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.plan-a-visit-section img {
  width: 300px;
  margin-top: 200px;
}  

.plan-a-visit-section-text {
  position: absolute;
  inset: 0; /* fills entire tile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 2rem;
  text-align: center;

  background-color: rgba(82,73,86,.8);

  opacity: 0;
  transition: opacity 300ms ease;
}

.plan-a-visit-section:hover .plan-a-visit-section-text,
.tile.show-overlay .plan-a-visit-section-text {
  opacity: 1;
}

.plan-a-visit-section:hover {
  transform: scale(1.02);
}

.online-store-section {
  display: flex;
  flex-direction: column;   /* 👈 important */
  justify-content: center;
  align-items: center;

  padding: 15px;
  position: relative;
  overflow: hidden;

  min-height: 350px;

  color: #ffffff;
  text-align: center;

  background-image: url("img/Willow-Creek_Bigfoot-500x500.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.online-store-section img {
  width: 125px;
}

.online-store-section-text {
  position: absolute;
  inset: 0; /* fills entire tile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 2rem;
  text-align: center;

  background-color: rgba(82,73,86,.8);

  opacity: 0;
  transition: opacity 300ms ease;
}

.online-store-section:hover .online-store-section-text,
.tile.show-overlay .online-store-section-text {
  opacity: 1;
}

.online-store-section:hover {
  transform: scale(1.02);
}


.calendar-wc-chamber-section {
  justify-content: center;
  line-height: 1.5;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  color: #ffffff;
  background-image: url(img/mountainscape.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(73, 91, 99, 0.8);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  text-align: center;
}

.calendar-wc-chamber-section img {
  width: 250px;
} 

.calendar-wc-chamber-section-text {
  position: absolute;
  inset: 0; /* fills entire tile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 2rem;
  text-align: center;

  background-color: rgba(82,73,86,.8);

  opacity: 0;
  transition: opacity 300ms ease;
}

.calendar-wc-chamber-section:hover .calendar-wc-chamber-section-text,
.tile.show-overlay .calendar-wc-chamber-section-text {
  opacity: 1;
}

.calendar-wc-chamber-section:hover {
  transform: scale(1.02);
}


.opening-day-section {
  color: #ffffff;
  text-align: center;
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  background-image: url(img/opening-day-tile-bg.svg);
  background-color: rgba(156,58,34,1);
  background-size: 250px;
  background-position: bottom center;
  background-repeat: no-repeat;

  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.opening-day-section img {
  width: 200px;
}

.opening-day-section-text {
  position: absolute;
  inset: 0; /* fills entire tile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 20px;
  text-align: center;

  background-color: rgba(82,73,86,.8);
  background-size: 500px;
  background-position: center center;
  opacity: 0;
  transition: opacity 300ms ease;
}

.opening-day-section:hover .opening-day-section-text,
.tile.show-overlay .opening-day-section-text {
  opacity: 1;
}

.opening-day-section:hover {
  transform: scale(1.02);
}

.fathers-day-bbq-section {
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  background-color: rgba(156,58,34,.9);
  background-image: url(img/fathers-day-bbq.png);
  background-size: 525px;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color:#ffffff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.fathers-day-bbq-section img {
  width: 200px;
}

.fathers-day-bbq-section-text {
  position: absolute;
  inset: 0; /* fills entire tile */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 2rem;
  text-align: center;

  background-color: rgba(82,73,86,.8);

  opacity: 0;
  transition: opacity 300ms ease;
}

.fathers-day-bbq-section:hover .fathers-day-bbq-section-text,
.tile.show-overlay .fathers-day-bbq-section-text {
  opacity: 1;
}

.fathers-day-bbq-section:hover {
  transform: scale(1.02);
}

.bigfoot-days-section {
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  color: #000000;
  background-image: url(img/bigfoot-daze-icon.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.bigfoot-days-section img {
  width: 150px;
}

.bigfoot-days-section-text {
  position: absolute;
  inset: 0; /* fills entire tile */
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 2rem;
  text-align: center;

  background-color: rgba(221, 173, 86, 0.8);
;

  opacity: 0;
  transition: opacity 300ms ease;
}

.bigfoot-days-section:hover .bigfoot-days-section-text,
.tile.show-overlay .bigfoot-days-section-text {
  opacity: 1;
}

.bigfoot-days-section:hover {
  transform: scale(1.02);
}

.hammer-in-section {
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  background-color: #645251;
  text-align: center;
  color:#ffffff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.hammer-in-section img {
  width: 150px;
}

.membership-dinner-section {
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  min-height: 350px;
  background-color: rgba(82,73,86,.6);
  text-align: center;
  color:#ffffff;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

@media (max-width: 600px) {
  .bigfoot-days-section-text {
    justify-content: flex-start;
    padding-top: 40px;
    overflow-y: auto;
  }
}