/*

  custom.css - All your own CSS goodies
  Version 1.x
  by you

  Use your own styles here! 

  Cheers, 
  ThemeVillain 
  
*/

/* Mobile caption color fix */
@media screen and (max-width: 1024px) {
  a.thumb .caption .title {
    color: #d32d27;
  }

  a.thumb .caption .tag {
    color: #fff;
  }
}



/* Contact button: sending + success states */
.btn.is-sending {
  opacity: 0.85;
  cursor: wait;
}

.btn.is-success {
  background-color: #2ecc71;
  border-color: #2ecc71;
  color: #ffffff;
}

.btn.is-success {
  animation: btnSuccessPop 0.32s ease-out;
}

@keyframes btnSuccessPop {
  0% { transform: scale(1); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* =========================================================
   Lightbox: centered meta overlay fixed at bottom of image
   ========================================================= */

#lightbox {
  position: fixed;
}

#lightbox .lb-img {
  position: relative;
}

/* Meta overlay: bottom + centered */
#lightbox .lightbox-meta {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  width: 100%;
  max-width: 900px;

  padding: 22px 24px 26px;
  text-align: center;
  z-index: 5;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.0) 100%
  );

  pointer-events: none;
}

/* Title */
#lightbox .lightbox-title {
  line-height: 0.25;
    font-size: 1.55rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #d32d27;
}

/* Subtitle */
#lightbox .lightbox-subtitle {
  margin: 0 auto;
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  line-height: 2.5;
  max-width: 80ch;
}

/* Mobile tuning */
@media (max-width: 640px) {
  #lightbox .lightbox-meta {
    padding: 16px 16px 18px;
  }

  #lightbox .lightbox-title {
    font-size: 16px;
  }

  #lightbox .lightbox-subtitle {
    font-size: 13px;
  }
}
