/* new_styles.css is the new stylesheet to use for any new style changes, loaded last in all site pages to override previous wordpress styles. */

/* ============================
   NAV BAR STYLES & ANIMATION
   ============================ */

.main_menu ul li a,
.mobile_menu ul li a {
    transition: all 0.25s ease-in-out;
}

/* Hover effect — desktop menu */
.main_menu ul li a:hover {
    transform: translateY(-2px);
    color: #d04109 !important;
}

/* Subtle background highlight on hover */
.main_menu ul li:hover,
.mobile_menu ul li:hover {
    /* background-color: rgba(0,0,0,0.05); */
    transition: background-color 0.25s ease-in-out;
}

/* Force active link highlight in the NON-sticky desktop nav */
.main_menu a.current,
.main_menu .current_page_item > a {
    color: #fb7f04 !important;     /* match sticky active color */
}

/* ============================
   IMAGES REVEAL ANIMATIONS
   ============================ */

/* Container */
.animated-image {
  overflow: hidden;
  display: block;
}

/* Slide-right: starts hidden + offset to the right */
.animated-image.slide-left img {
  opacity: 0 !important; 
  transform: translateX(60px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  display: block;
  width: 100%;
  height: auto;
}

/* Slide-left: starts hidden + offset to the left */
.animated-image.slide-right img {
  opacity: 0 !important; 
  transform: translateX(-60px) !important;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  display: block;
  width: 100%;
  height: auto;
}

/* When visible: applies to both directions */
.animated-image.visible img {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
