.navbar-brand img {
  max-width: 280px;
  height: auto;
  width: auto;
}
img {
  max-width: 100%;
  height: auto;
}
.navbar, .headercolor{
  background-color: #DDDDDD;
}
.btn-outline-dark-extra {
    --bs-btn-color: #ffffff;
    --bs-btn-border-color: #ffffff;
  }
.bgllamado{
  background-color: #333333;
}
.carousel {
    border: 1px solid #212529;
}
.border {
  border-color: #000000!important;
}
.border-bottom {
   border-color: #212529!important;
   border-width: 1px!important;
}
.border-top {
   border-color: #212529!important;
   border-width: 1px!important;
}
.mt-6 {
  margin-top: 4rem;
}

.mt-7 {
  margin-top: 5rem;
}

.mt-8 {
  margin-top: 6rem;
}
.mb-6 {
  margin-bottom: 4rem;
}

.mb-7 {
  margin-bottom: 5rem;
}

.mb-8 {
  margin-bottom: 6rem;
}
.h2-ppal{
  display: inline-block;
  position:relative;
}
.h2-ppal::after,.h2-ppal::before{
content:'';
position: absolute;
    width: 440px;
    height: 4px;
    border-top: 1px solid #999999;
    border-bottom: 1px solid #999999;
    background-color: #FFFFFF;
    top: 0.6em;

}
.h2-ppal::before{
left:-460px;
}
.h2-ppal::after{
right: -460px;
}
.h2-lateral {
  font-weight: normal;
  font-size: 1.5rem;
  white-space: nowrap;
}

.linea-expandida {
  height: 4px;
  border-top: 1px solid #999999;
  border-bottom: 1px solid #999999;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease-out;
}

.linea-expandida.animar {
  transform: scaleX(1);
}
.footer {
    background-color: #CCCCCC;
    padding: 20px 0;
    margin-top: 30px;
}

.social-icons a {
    color: #6c757d;
    font-size: 2rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #000000;
}
.bordecito{
    border: 1px solid black;
}
.gallery img {
      cursor: pointer;
    }
    #lightboxImage {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: auto;
  display: block;
}
.modal {
    --bs-modal-width: 60%;
  }
.overlay-container {
  position: relative;
  overflow: hidden;
}

.overlay-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 100%;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-container:hover .overlay-hover {
  opacity: 1;
}
.color-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  cursor: pointer;
}

.color-card img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.color-card:hover img {
  transform: scale(1.05);
}

.color-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(220, 220, 220, 1);
  text-align: center;
  padding: 0.3rem;
  font-weight: bold;
  font-size: 0.9rem;
}

@media (min-width: 1200px) {
  .col-xl-1-5 {
    flex: 0 0 auto;
    width: 12.5%;
  }
}
/* En pantallas pequeñas (menores a 576px) */
@media (max-width: 575.98px) {
  .navbar-brand img {
    max-width: 180px;


  }
}
@media (hover: none) {
  .overlay-hover {
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .lightbox-body {
    min-height: 100vh; /* altura completa */
    padding-top: 4rem; /* deja espacio arriba si lo deseas */
    padding-bottom: 4rem;
  }

  #lightboxImage {
    max-height: 70vh;
    object-fit: contain;
  }

  #lightboxCaption {
    position: relative !important;
    bottom: auto !important;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    text-align: center;
    font-size: 1rem;
    margin-top: 1rem;
  }

  #lightboxModal .btn-close {
    top: 1rem;
    right: 1rem;
    z-index: 1055;
  }
}
