/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* BODY */
body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #eaeaea;
  min-height: 100vh;
}

/* ===== TOP NAVBAR ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  padding: 0 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(18, 28, 36, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* BRAND */
.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.brand span {
  color: #00ffd5;
}

/* NAV */
.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: #cfd8dc;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: #00ffd5;
}

/* ACTIVE LINK */
.nav a.active {
  color: #00ffd5;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: #00ffd5;
  border-radius: 2px;
}

/* ===== MAIN CONTENT ===== */
.main {
  padding: 48px 40px;
  max-width: 1200px;
  margin: auto;
}

.main h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
}

/* ===== CARD ===== */
.card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* HERO IMAGE */
.hero img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin-bottom: 16px;
}

/* ===== GALLERY GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 32px rgba(0,0,0,0.35);
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 32px;

  background: linear-gradient(135deg, #00ffd5, #00c9ff);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 255, 213, 0.35);
}

/* CENTER */
.center {
  text-align: center;
}

/* TEXT */
p {
  font-size: 16px;
  line-height: 1.6;
  color: #d6e0e6;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

  .topbar {
    padding: 12px 20px;
    height: auto;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    gap: 20px;
    padding-bottom: 6px;
  }

  .main {
    padding: 32px 20px;
  }

  .main h1 {
    font-size: 30px;
  }

  .grid img {
    height: 160px;
  }
}
