@charset "UTF-8";
/* CSS Document */

/* Clears the fixed/absolute header (no hero section on these pages) */
#sliderPrincipal {
  padding-top: 140px;
}
@media (max-width: 600px) {
  #sliderPrincipal { padding-top: 85px; }
  .imPrincipal > br { display: none; }
}

/* Video thumbnail tiles that open the shared .video-modal */
.video-trigger {
  cursor: pointer;
}
.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: background .2s ease;
}
.photo-grid-item:hover .video-play-icon {
  background: #f58232;
}
.video-play-icon::before {
  content: '';
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

/* Overrides inside.css's .imPrincipal a { color: black; }, invisible on this dark layout */
.imPrincipal a {
  color: #f58232;
}

/* ── Photo gallery grid + lightbox (shared) ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.photo-grid-item {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: linear-gradient(90deg, #161616 25%, #262626 37%, #161616 63%);
  background-size: 400% 100%;
  animation: photoGridShimmer 1.4s ease infinite;
}
.photo-grid-item.is-loaded {
  animation: none;
  background: none;
}
.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .4s ease, transform .3s ease;
}
.photo-grid-item img.is-loaded {
  opacity: 1;
}
.photo-grid-item:hover img {
  transform: scale(1.06);
}
.photo-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 44px 18px 16px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,0));
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: .3px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.photo-grid-item:hover .photo-caption,
.photo-grid-item:focus-within .photo-caption {
  opacity: 1;
  transform: translateY(0);
}
@keyframes photoGridShimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
@media (max-width: 900px) {
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}

/* Larger-preview variant, for standalone photo gallery pages */
.photo-grid.photo-grid-lg {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .photo-grid.photo-grid-lg { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .photo-grid.photo-grid-lg { grid-template-columns: repeat(1, 1fr); gap: 10px; }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.visible { display: flex; }
.lightbox-image {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  border-radius: 4px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(0,0,0,.4);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 50%;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: #f58232; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #ddd;
  font-size: 14px;
  letter-spacing: 1px;
}
.lightbox-caption {
  position: absolute;
  bottom: 54px;
  left: 50%;
  width: min(80vw, 720px);
  transform: translateX(-50%);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .3px;
  text-align: center;
}
.lightbox-caption:empty {
  display: none;
}
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { padding: 8px 12px; font-size: 22px; }
  .lightbox-close { top: 14px; right: 14px; }
}

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.video-modal.visible { display: flex; }
.video-modal-inner {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}
.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(0,0,0,.4);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 50%;
}
.video-modal-close:hover { background: #f58232; }
