:root {
  --accent-pink: #b8749b;
  --light-pink: #f3cde1;
  --very-light-pink: #f9eef6;
  --dark-grey: #595959;
}

/* HERO SECTION */
.hero {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--accent-pink);
  padding: 10px;
  margin-top: 70px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 200px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center {
  font-size: 18vw;
  font-weight: bold;
  margin: 0;
  line-height: 1;
}

.hero-left {
  font-family: 'Amatic SC', cursive;
  color: rgba(243, 205, 225, 0.5);
  font-size: 7rem;
  font-weight: 300;
  letter-spacing: 40px;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-center {
    font-size: 6rem;
  }

  .hero-left {
    font-size: 3rem;
    letter-spacing: normal;
  }

  .hero {
    height: auto;
    margin-top: 20px;
  }
}

/* PORTFOLIO */
.portfolio-section {
  padding: 0;
  background: white;
}

.section-title {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
}

.portfolio-filters {
  text-align: center;
  margin-bottom: 30px;
}

.portfolio-filters button {
  background: none;
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
  padding: 8px 20px;
  margin: 0 8px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s ease;
}

.portfolio-filters button.active,
.portfolio-filters button:hover {
  background: var(--accent-pink);
  color: white;
}

.masonry-grid {
  column-count: 3;
  column-gap: 30px; /* More space between columns */
  padding: 20px;
}


.portfolio-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 32px; /* More space between rows */
  break-inside: avoid;
  background: white;
  overflow: hidden;
  transition: transform 0.3s ease;
}


.portfolio-item:hover img,
.portfolio-item:hover video {
  transform: scale(1.05);
    transition: transform 0.3s ease;
}

.portfolio-item video,
.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}


.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent dark overlay */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
    column-gap: 16px;
  }
}
