/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  color: #fff;
  background-color: black;
  font-family: 'Playfair Display', serif !important;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  top: 6rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 68rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 68rem;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 3rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

@media (max-width: 767.98px) { 
  h1{
    font-size: 3em !important;
}
    .carousel-caption {
    top: 1em !important; 
    z-index: 10;
  }
    .carousel-item  {
      height: 30rem;
    }
}

/* Contenedor principal de las imágenes */
.image-container {
  display: flex; /* Activa Flexbox para alinear los elementos en una fila */
  justify-content: center; /* Centra las imágenes si hay espacio extra */
  flex-wrap: wrap; /* Permite que las imágenes pasen a la siguiente línea en pantallas pequeñas */
  gap: 1.5rem; /* Espacio entre las imágenes (1.5rem equivale a unos 24px) */
  padding: 1rem; /* Espacio interno para que no se peguen a los bordes */
}

/* Estilo para cada imagen */
.image-container img {
  width: 100%; /* La imagen ocupa todo el espacio de su contenedor flexible */
  max-width: 250px; /* Tamaño máximo para cada imagen */
  height: auto; /* Mantiene la proporción de la imagen */
  border-radius: 8px; /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil para dar profundidad */
  object-fit: cover; /* Asegura que la imagen cubra el espacio sin deformarse */
}

/* Estilos opcionales para la sección */
.gallery-section {
  text-align: center; /* Centra el título h2 */
  margin: 40px 0; /* Margen superior e inferior para la sección */
}