/* Extracted from resources/views/picture-gallery.blade.php. */

/* ===== Corporate Gallery: Responsive, tidy, consistent ===== */
.section-gallery {
  padding-top: clamp(16px, 2.5vw, 32px);
  padding-bottom: clamp(24px, 4vw, 64px);
}

/* Make tabs nicely scrollable on small screens */
.nav-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  margin-bottom: 0.5rem;
}
.nav-tabs-wrapper .nav {
  flex-wrap: nowrap;
  gap: .25rem;
}
.nav-tabs .nav-link {
  white-space: nowrap;
  border: 1px solid var(--bs-border-color);
  margin-right: 0;
  padding: .5rem .75rem;
}
.nav-tabs .nav-link.active {
  background: var(--bs-body-bg);
  border-bottom-color: transparent;
  font-weight: 600;
}

/* Keep tab content padded & consistent */
.tab-content {
  background: transparent;
}
.tab-pane {
  padding-top: .25rem;
}

/* Image helpers */
.object-cover {
  object-fit: cover;
}
.gallery-item {
  border-radius: .75rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.gallery-item img {
  display: block;
}
.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .gallery-item {
    transition: none;
  }
}

/* Tighten spacing on very small screens */
@media (max-width: 575.98px) {
  .text-one {
    font-size: clamp(1.125rem, 4.5vw, 1.5rem);
  }
}

/* Optional: nicer focus ring for accessibility */
.nav-tabs .nav-link:focus-visible,
.gallery-item:focus-visible {
  outline: 3px solid rgba(13,110,253,.4); /* Bootstrap primary-ish */
  outline-offset: 2px;
  border-radius: .75rem;
}

.nav-link {
    color: #d9c90a;
}
.nav-link:hover {
    color: #fff;
}
