/* === Base reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden; /* no scrolling */
  font-family: "Inter", sans-serif;
  background: linear-gradient(160deg, #f4f6f7 0%, #e7f0ee 100%);
  color: #1e1e1e;
}

/* === Top bar === */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 10;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.menu-button {
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: #1e1e1e;
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-button:hover .bar {
  background-color: #2a7263;
}

/* === Hero area === */
.hero {
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 70px; /* push below header */
}

/* Intro text */
.intro {
  text-align: center;
  max-width: 600px;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.intro p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: #444;
}

/* === Tiles grid === */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 250px));
  grid-gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.tile {
  background: linear-gradient(145deg, #2a7263, #3fa58f);
  color: white;
  border-radius: 16px;
  text-decoration: none;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease;
}

.tile:hover {
  transform: scale(1.05);
  background: linear-gradient(145deg, #37927f, #46b59a);
}

.tile h2 {
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

/* === Responsive adjustments === */
@media (max-width: 700px) {
  .tiles {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tile {
    width: 80vw;
    height: 100px;
  }
}

/* === Subtle entry animation === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro, .tiles {
  animation: fadeInUp 0.8s ease forwards;
}
