/*
Theme Name: Hazam Theme
Theme URI: https://hj-ksa.net/
Author: Mr. Bash
Author URI: https://mr-bash.com/
Description: Custom WordPress theme for Hazam Aljazeera Construction with full ACF-based home page control.
Version: 1.1.1
Text Domain: hazam-theme
*/

.section-project-clients .owl-carousel.owl-dots-bottom-left .owl-dots {
  position: static;
  padding: 16px 0 0;
  text-align: center;
}

.section-project-clients .owl-carousel .owl-dots .owl-dot span {
  width: 14px;
  height: 4px;
  border-radius: 4px;
  background: #d0d0d0;
}

.section-project-clients .owl-carousel .owl-dots .owl-dot.active span {
  background: #b09e59;
  width: 26px;
}

@media (max-width: 1024px) {
  #about .image-effect-one {
    background-color: #000;
  }

  #about .image-effect-one .figcaption {
    position: absolute;
    inset: auto 0 0 0;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    padding: 24px 18px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0));
    transition-delay: 0s;
  }

  #about .image-effect-one h4,
  #about .image-effect-one p {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }

  #about .image-effect-one h4 {
    margin-bottom: 4px;
  }

  #about .image-effect-one p {
    color: rgba(255, 255, 255, 0.92);
  }

  #about .image-effect-one i.link-plus {
    display: none;
  }

  #about .image-effect-one:hover img {
    opacity: 1;
    -webkit-opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
  }
}

.mfp-wrap .mfp-figure {
  overflow: hidden;
}

.mfp-wrap .mfp-bottom-bar {
  top: 40px;
  margin-top: 0;
  left: 0;
  width: 100%;
}

.mfp-wrap .mfp-title {
  padding-right: 0;
  text-align: right;
}

.mfp-wrap .mfp-title .hazam-project-popup-caption {
  direction: rtl;
  text-align: right;
  background: rgba(14, 21, 26, 0.78);
  border: 1px solid rgba(185, 147, 107, 0.55);
  border-radius: 12px;
  padding: 14px 16px;
  width: calc(100% - 20px);
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.mfp-wrap .mfp-title .hazam-project-popup-title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}

.mfp-wrap .mfp-title .hazam-project-popup-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.9;
}

#masonry-container .project-popup-hidden {
  display: none !important;
}

#masonry-container .image-effect-one {
  cursor: zoom-in;
}

@media screen and (max-width: 800px), screen and (max-height: 300px) {
  .mfp-img-mobile .mfp-bottom-bar {
    top: 0;
    bottom: auto;
    margin: 0;
    padding: 0;
    position: absolute;
    background: transparent;
  }

  .mfp-img-mobile .mfp-title .hazam-project-popup-caption {
    width: calc(100% - 10px);
    border-radius: 10px;
    padding: 10px 12px;
  }
}
