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

body {
  background-color: black;
  color: white;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  padding: 20px;
}

/* Navigation */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.05); /* semi-transparent overlay */
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
}

.nav-list a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 200;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #ffcc00;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-shadow: #000000 2px 2px 4px;
  color: white;
  padding: 40px 20px;
  overflow: hidden;
  z-index: 1;
}

/* Default background image (no blur) */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('https://jeffreyseng.name.my/assets/home_hero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: filter 0.5s ease;
}

/* Black overlay */
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

/* Blur only on hover */
.hero:hover::before {
  filter: blur(4px);
}

.hero h1,
.hero h2,
.hero .tagline {
  position: relative;
  z-index: 1;
}


.hero h1 {
  font-size: 2.5rem;
  color: #ffcc00;
  background-color: #000000b7;
}

.hero h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-top: 10px;
}

.tagline {
  margin-top: 20px;
  font-size: 1.1rem;
  font-weight:600;
  color: #ffffff;
  background-color: #ffcc00c5;
}

/* Blog Section */
.blog-section {
  text-align: center;
  margin-top: 50px;
}

.blog-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffcc00;
}

.blog-section p {
  color: #dddddd;
}

/* Footer */
.site-footer {
  text-align: center;
  margin-top: 60px;
  font-size: 0.9rem;
  color: #666;
}