/* 
 * instagram.css
 * Estilos para la sección de feed de Instagram
 */

 .instagram-feed {
  padding: 5rem 0;
  background-color: var(--color-background);
}

.instagram-feed__title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-weight: bold;
}

.instagram-feed__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.instagram-feed__item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.instagram-feed__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-feed__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.instagram-feed__icon {
  font-size: 2rem;
  color: white;
}

.instagram-feed__item:hover .instagram-feed__image {
  transform: scale(1.05);
}

.instagram-feed__item:hover .instagram-feed__overlay {
  opacity: 1;
}