/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background: #f9fafb;
  color: #222;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 40px 0;
}

/* ===== Header ===== */
.site-header {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #28a745;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

.main-nav a:hover {
  color: #28a745;
  transform: scale(1.05);
}
/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
}

/* ===== Post Page ===== */
.post-page h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2.5rem;
  color: #003366;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeIn 1s 0.5s forwards;
}

.blog-post {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  animation: fadeInUp 1s forwards;
}

.blog-post img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  transition: transform 0.5s ease;
}

.blog-post img:hover {
  transform: scale(1.05);
}

.blog-post h2,
.blog-post h3 {
  color: #003366;
  margin-bottom: 15px;
}

.blog-post p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #333;
}

.blog-post ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.blog-post li {
  margin-bottom: 10px;
}

/* ===== Footer ===== */
.site-footer {
  background: #222;
  color: #ccc;
  padding: 2rem 0;
  margin-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 20px;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-grid a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-grid a:hover {
  color: #28a745;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeInUp {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

   .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    background: #fff;
    top: 60px;
    right: 0px;
    width: 200px;
    padding: 20px;
    border-radius: 8px 0 0 8px;
  }

  .main-nav a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .main-nav.active {
    display: flex;
  }
}
