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

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hamburger {
  background: none;
  border: none;
  font-size: 24px;
  color: #0d1b2a;
  cursor: pointer;
}

.dark-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #0d2a11;
  transition: transform 0.2s, color 0.3s;
}

.dark-toggle:hover {
  transform: scale(1.2);
  color: #555;
}

/* Nav */
.main-nav {
  display: flex;
  flex-grow: 1;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #0d1b2a;
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 120px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, #eef2f3, #dbe9f4);
}

.hero h1 {
  font-size: 42px;
  color: #222;
}

.hero span {
  font-size: 18px;
  display: block;
  margin-top: 8px;
  color: #555;
}

.hero p {
  margin-top: 15px;
}

/* Intro */
.intro {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
  text-align: center;
}

.intro h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.intro p {
  margin-bottom: 10px;
}

/* News */
.news {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.news h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.news-list {
  display: grid;
  gap: 20px;
}

.news-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.news-item .date {
  font-size: 14px;
  color: #888;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  background: #0d1b2a;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #1f2f4d;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background: #bfd2e6;
  color: white;
  margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    padding: 40px 20px;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }

  .main-nav.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 30px;
  }

  .main-nav a {
    font-size: 22px;
    color: #0d1b2a;
    font-weight: 600;
  }

  body.dark-mode .main-nav {
    background: rgba(20, 20, 20, 0.95);
  }

  body.dark-mode .main-nav a {
    color: #f0f0f0;
  }

  .hamburger {
    z-index: 1001;
  }
}

  .site-header {
    flex-wrap: wrap;
  }
}
