* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  /* prevent horizontal scroll */
}

/* Page container */
.page {
  width: 100%;
  max-width: 1896px;
  /* optional, keeps it from growing too big */
  padding: 15px;
  margin: 0 auto;
  /* center on larger screens */
}

/* --- TOP SVG ROW --- */
.logo-row {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  animation: slideDown 1.5s ease-out forwards;
}

.logo-col {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo svg {
  width: 160px;
  height: auto;
}

/* --- IMAGE FLEX --- */
.flex {
  display: flex;
  gap: 15px;
}

.item {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  height: 600px;

  /* Slide-up animation */
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 1s ease-out forwards;
}

.item:nth-child(1) {
  animation-delay: 0.2s;
}

.item:nth-child(2) {
  animation-delay: 0.4s;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s ease;
  padding: 0 10px;
}

.overlay span {
  color: white;
}

.overlay:hover span {
  background-color: #8ac2af;
  color: white;
  padding: 10px;
}

.item:hover .overlay {
  background: rgba(0, 0, 0, 0.15);
}
.mt-30 {
  margin-top: 30px;
}

.logo-row-under {
  display: flex;
  flex-direction: column; /* Stack text above logo */
  align-items: center;
  margin-top: 40px;
  animation: slideUp 2s ease-out forwards;
}

.logo-text-under h4 {
  font-weight: 100;
  margin-bottom: 20px;
  text-align: center;
}

.logo-under img {
  width: 250px;
  height: auto;
}
/* ---------- ANIMATION ---------- */
@keyframes slideUp {
  from {
    transform: translateY(250px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-250px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  body {
    align-items: flex-start;
  }

  .page {
    width: 100%;
    max-width: 100%;
    padding: 15px;
  }

  /* SVG row becomes vertical stack */
  .logo-row {
    flex-direction: column;
    margin-bottom: 25px;
  }

  .logo-col {
    flex: none;
    width: 100%;
    margin-bottom: 15px;
  }

  .logo svg {
    width: 140px;
    /* smaller for mobile */
  }
  .logo-row {
    display: flex;
    align-items: center;
    margin-bottom: 0px;
  }

  /* Images stack vertically */
  .flex {
    flex-direction: column;
    gap: 20px;
  }

  .item {
    width: 100%;
    height: 280px;

    /* Smaller animation on mobile */
    transform: translateY(30px);
  }

  .overlay {
    font-size: 28px;
    padding: 0 10px;
  }
}
