:root {
  --text-color: #3A3A3A;
  --sub-text: #6A6A6A;
  --muted: #9A9A9A;

  --logo-gradient-start: #D9BBEF;
  --logo-gradient-end: #B9B2EC;

  --accent: #B9B2EC;
  --bg: #FFFFFF;
  --bg-thumbnail: #FFFFFF;
  --border: #E8BFD0;
}

/* GLOBAL FONT */
body {
  font-family: "DM Sans", sans-serif;
  color: var(--text-color);
  background: var(--bg);
  margin: 0;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

/* NAVIGATION -------------------------------- */
.navbar {
  width: 100%;
  background-color: var(--bg);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  padding: 1.25rem 1.35rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  font-family: "Pacifico", cursive;
  font-size: 3rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--logo-gradient-start), var(--logo-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.6px;
}

/* RIGHT MENU */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.18s ease;
}

.nav-link:hover {
  opacity: 0.6;
}

/* MAIN CONTENT -------------------------------- */
.container {
  max-width: 1200px;
  padding: 1.25rem 1.35rem;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2.3rem;
}

.section-title {
  font-weight: 700;
  font-size: 28px;
  margin: 0;
}

/* GRID */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.3rem 1.4rem;
}

.item {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.item-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.item-link:hover {
  transform: translateY(-2px);
}

.thumbnail {
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
  background-color: var(--bg-thumbnail);
}

.item-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-title {
  font-size: 1.22rem;
  font-weight: 700;
  margin: 0;
}

.item-subtitle {
  font-size: 1.05rem;
  margin: 0;
  color: var(--sub-text);
}

/* POST PAGE -------------------------------- */
.post-container {
  max-width: 740px;
  margin: 0 auto;
  padding: 4.5rem 1.35rem 0;
  word-break: keep-all;
}

.post-container section {
  margin-bottom: 6.5rem;
}

.post-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.post-container h2 {
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
  color: var(--sub-text);
}

.post-container time {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  display: block;
}

.post-container h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.7rem;
}

.post-container p {
  font-size: 1.15rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.post-container img {
  width: 100%;
  max-width: 520px;
  margin: 2.2rem auto;
  border-radius: 16px;
}

/* Fade Animation */
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}
.fade.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ABOUT PAGE */
.about-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 1.5rem;
}

.about-container h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.about-container p {
  font-size: 1.12rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
  color: var(--text-color);
}
