/* Cleaned CSS for posts/1.html — kept only styles used by that page */

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #222;
  line-height: 2;
}

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

section {
  padding: 80px 10%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(14, 30, 45, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #eaf4ff;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ffc6;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #00ffc6;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== ABOUT / f INTRO ===== */
.about {
  background: #e8f0f5;
  padding: 60px 10%;
  border-radius: 16px;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#blog-intro {
  background: linear-gradient(180deg, #f6fbff 0%, #eef7f7 100%);
  border-radius: 14px;
  padding: 36px 28px;
  margin: 30px 10% 24px;
  box-shadow: 0 6px 18px rgba(14,30,45,0.06);
  text-align: center;
  color: #05323f;
}

#blog-intro .section-title h2 {
  color: #00343f;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.section-title h2 {
  color: #00343f;
  margin-bottom: 20px;
}

/* ===== BLOG INTRO TEXT ===== */
.blog-text {
  max-width: 980px;
  margin: 20px auto 32px;
  padding: 22px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(2, 8, 23, 0.06);
  color: #08323a;
  line-height: 1.6;
  font-size: 1.05rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-text::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, #00ffc6, #007b67);
  border-radius: 999px;
  margin: 0 auto 14px;
}

.blog-text p {
  margin: 0;
  color: #213f43;
}

.blog-text code {
  background: #e9fffb;
  color: #00343f;
  padding: 4px 8px;
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
  font-size: 0.95rem;
}

.blog-text a {
  color: #006b58;
  text-decoration: underline;
  font-weight: 600;
}

/* ===== LAYOUT USED ON THIS PAGE ===== */
.container {
  padding: 0 10%;
  margin-bottom: 40px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== POSTS LIST ===== */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.post-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(2,8,23,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(2,8,23,0.09);
}

.post-card h3 {
  margin-bottom: 8px;
  font-size: 1.125rem;
  color: #00343f;
}

.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.post-meta {
  color: #6b7b84;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.post-card p {
  color: #21343a;
}

/* tags */
.post-tags .tag {
  display: inline-block;
  background: #e9fffb;
  color: #006b58;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-right: 8px;
  margin-top: 10px;
}

/* ===== BUTTONS & PAGINATION ===== */
.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 10px;
  background: #0e1e2d;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 12px;
  transition: background 0.18s, transform 0.12s;
}

.btn:hover { transform: translateY(-2px); background: #007b67; color: #fff; }

.btn.primary {
  background: #00ffc6;
  color: #00343f;
}

.btn.secondary {
  background: transparent;
  color: #00343f;
  border: 1px solid rgba(0,52,63,0.08);
}

/* ===== CONTACT & FOOTER ===== */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact .socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact .socials a {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: #0e1e2d;
  color: white;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
}

.contact .socials a:hover {
  transform: scale(1.1);
  background: #00ffc6;
  color: #00343f;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .container { padding: 0 6%; }
  .blog-text { margin-left: 6%; margin-right: 6%; }
  .post-list { gap: 14px; }
}

@media (max-width: 600px) {
  .blog-text {
    padding: 16px 18px;
    margin-left: 6%;
    margin-right: 6%;
  }

  .blog-text::before {
    width: 42px;
  }
}

pre {
  white-space: pre-wrap;
  text-align: left;
  font-family: 'Inter', sans-serif;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 12px;
  margin-bottom: 12px;  
}