section[sharp="gallery_header"] {
  background: linear-gradient(to right, rgba(26,50,66,0.85), rgba(26,50,66,0.7) 50%, rgba(44,70,44,0.8)), url("/assets/images/forest.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  position: relative;
  padding: 6rem 2rem 5rem;
  margin-bottom: 3rem;
  overflow: hidden;
}
section[sharp="gallery_header"] .container {
  background: transparent;
  color: #fff;
}
section[sharp="gallery_header"]:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/assets/images/forest.png");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  animation: fadeIn 1.5s ease-out;
  z-index: 1;
}
section[sharp="gallery_header"] h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: fadeIn 0.8s ease-out;
  position: relative;
  z-index: 2;
  color: #fff;
}
section[sharp="gallery_header"] h1 span {
  color: #d4a44c;
}
section[sharp="gallery_header"] .subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  animation: fadeIn 1s ease-out;
  position: relative;
  z-index: 2;
  color: #fff;
  opacity: 0.9;
}
section[sharp="gallery_categories"] {
  margin-bottom: 3rem;
  animation: fadeIn 0.8s ease-out;
}
section[sharp="gallery_categories"] div[sharp="gallery_nav"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  padding: 0.5rem;
}
.sharp__gallery_filter {
  background-color: #f5f5f5;
  border: 2px solid #d4a44c;
  color: #1a3242;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.sharp__gallery_filter:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(212,164,76,0.15), rgba(212,164,76,0));
  transform: skewX(-20deg) translateX(-100%);
  transition: transform 0.6s ease;
}
.sharp__gallery_filter:hover {
  transform: translateY(-2px);
  border-color: #b78730;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.sharp__gallery_filter:hover:before {
  transform: skewX(-20deg) translateX(100%);
}
.sharp__gallery_filter.active {
  background: linear-gradient(to right, #d4a44c, #b78730);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(183,135,48,0.3);
}
section[sharp="gallery_grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
  animation: fadeInUp 0.8s ease-out;
}
.sharp__gallery_item {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}
.sharp__gallery_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}
.sharp__gallery_item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 6px solid rgba(255,255,255,0.9);
  border-radius: 6px;
  z-index: 1;
  pointer-events: none;
  transition: all 0.4s ease;
  opacity: 0;
}
.sharp__gallery_item:hover:before {
  opacity: 1;
  border-color: rgba(212,164,76,0.4);
}
.sharp__gallery_item:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26,50,66,0.7), rgba(26,50,66,0) 50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.sharp__gallery_item:hover:after {
  opacity: 1;
}
.sharp__gallery_item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}
.sharp__gallery_item img:hover {
  transform: scale(1.05);
}
@media (max-width: 700px) {
  .sharp__gallery_item img {
    height: 250px;
  }
}
.sharp__gallery_item figcaption {
  padding: 1.2rem;
  background-color: #fff;
  color: #1a3242;
  font-weight: 600;
  text-align: center;
  position: relative;
  border-top: 4px solid #d4a44c;
  font-size: 1.1rem;
}
.sharp__gallery_item figcaption:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #d4a44c, transparent);
}
section[sharp="gallery_message"] {
  text-align: center;
  background: linear-gradient(to right, rgba(26,50,66,0.92), rgba(39,75,99,0.85)), url("/assets/images/Richard-Harris-deer.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 6rem 2rem;
  margin: 5rem 0 3rem 0;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
}
section[sharp="gallery_message"] .container {
  background: transparent;
  color: #fff;
}
section[sharp="gallery_message"]:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/assets/images/Richard-Harris-deer.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}
section[sharp="gallery_message"]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background-image: url("/assets/images/mountain-summit-black.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 40%;
  opacity: 0.1;
  z-index: 1;
}
section[sharp="gallery_message"] h2 {
  color: #fff;
  margin-top: 0;
  font-size: 2.6rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
section[sharp="gallery_message"] h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #d4a44c;
  margin: 1rem auto 0;
}
section[sharp="gallery_message"] p {
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.8;
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}
section[sharp="gallery_message"] a.sharp__button {
  background: linear-gradient(to right, #d4a44c, #b78730);
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 2.5rem;
  display: inline-block;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  border: 2px solid rgba(255,255,255,0.1);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  font-size: 1.1rem;
}
section[sharp="gallery_message"] a.sharp__button:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0));
  transform: skewX(-20deg) translateX(-100%);
  transition: transform 0.6s ease;
}
section[sharp="gallery_message"] a.sharp__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
section[sharp="gallery_message"] a.sharp__button:hover:before {
  transform: skewX(-20deg) translateX(100%);
}
@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@-o-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
