
/* Middle Section - Text Mask */
.middle-section {
  height: 50vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: white;
  z-index: 10;
  transition: height 0.3s ease;
}

.middle-section.expanding {
  height: 60vh;
}

.mask-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mask-text {
  font-size: clamp(2rem, 5vw, 9rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  background: url("../img/kigal.PNG");
  background-size: 200%;
  background-position: center;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 2;
  transform: scale(1);
  transition: all 0.1s ease-out;
}

.background-reveal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/kigal.PNG");
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.2);
  transition: all 0.1s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mask-text {
    font-size: clamp(1.5rem, 8vw, 5rem);
    letter-spacing: 0.02em;
  }
}
