/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0e0e0e;
  color: #f0f0f0;
  text-align: center;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75); /* darken the bg for contrast */
  z-index: -1; /* sit behind content */
}


/* Logo styling */
.logo {
  width: 128px;
  height: 128px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

/* Container */
.container {
  max-width: 600px;
  padding: 2rem;
  border: 1px solid #333;
  border-radius: 12px;
  background-color: #1a1a1a;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Headings */
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

p {
  font-size: 1.1rem;
  color: #aaa;
}

/* Navigation Bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(6px);
}


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

.logo-small {
  width: 48px;
  height: 48px;
}

nav a {
  color: #f0f0f0;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

nav a:hover {
  color: #9f9f9f;
}

/* Adjust main container to compensate for fixed nav */
main.container {
  margin-top: 100px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-color: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.hero-title .highlight {
  color: #f0f0f0;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #bbb;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  background-color: #f0f0f0;
  color: #0e0e0e;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}

.cta-button:hover {
  background-color: #dcdcdc;
}

/* Simple fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  min-height: auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  margin: 4rem auto;
  max-width: 700px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}

.section h2 i {
  color: #f0f0f0;
  margin-right: 0.5rem;
  font-size: 1.2em;
  vertical-align: middle;
}

.section p {
  font-size: 1.1rem;
  color: #aaa;
  line-height: 1.6;
}

.hero,
.section {
  padding-top: 80px; /* Was 120px */
}

html {
  scroll-behavior: smooth;
}

.glow-icon {
  transition: color 0.3s ease, text-shadow 0.3s ease;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    text-shadow: none;
  }
  100% {
    text-shadow:
      0 0 5px #ffffff,
      0 0 10px #00f0ff,
      0 0 20px #00f0ff;
  }
}

.glow-icon:hover {
  color: #ffffff;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #00f0ff,
    0 0 20px #00f0ff;
  cursor: pointer;
}

.footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-content a {
  color: #aaa;
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.footer-content a:hover {
  transform: scale(1.2);
  color: #fff;
}

.footer-note {
  font-size: 0.9rem;
  color: #666;
}

.about-blurb {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.about-icons {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-icons div {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  color: #aaa;
}

.about-icons i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #00f0ff;
  transition: transform 0.3s ease;
}

.about-icons i:hover {
  transform: scale(1.2);
  text-shadow: 0 0 10px #00f0ff;
}

.beliefs {
  background: rgba(20, 20, 20, 0.5);
}

.belief-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.belief {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.belief:hover {
  transform: translateY(-4px);
}

.belief h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #f0f0f0;
}

.belief p {
  font-size: 0.95rem;
  color: #ccc;
}

.timeline-container {
  position: relative;
  margin: 4rem auto;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  max-width: 700px;
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  top: 0.5rem;
  left: -0.6rem;
  width: 1rem;
  height: 1rem;
  background-color: #00f0ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f0ff;
}

.timeline-content {
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.05);
}

.timeline-content h3 {
  margin-top: 0;
  color: #f0f0f0;
  font-size: 1.1rem;
}

.timeline-content p {
  color: #ccc;
  font-size: 0.95rem;
}

.timeline-content h3 i {
  color: #00f0ff;
  margin-right: 0.5rem;
  font-size: 1.1rem;
  vertical-align: middle;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
  transition: transform 0.3s ease;
}

.timeline-content:hover h3 i {
  transform: scale(1.2);
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.7);
}

.timeline-dot {
  position: absolute;
  top: 0.5rem;
  left: -0.6rem;
  width: 1rem;
  height: 1rem;
  background-color: #00f0ff;
  border-radius: 50%;
  box-shadow: 0 0 10px #00f0ff;
  animation: pulseDot 2s infinite alternate ease-in-out;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 6px #00f0ff;
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 14px #00f0ff;
    transform: scale(1.2);
  }
}

nav a.active {
  color: #00f0ff;
  font-weight: bold;
  border-bottom: 2px solid #00f0ff;
  padding-bottom: 0.2rem;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.contact-card {
  max-width: 500px;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  background: rgba(24, 24, 24, 0.7);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 2px 16px rgba(0, 255, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.05);
}

.contact-link:hover {
  background: rgba(0, 240, 255, 0.14);
  color: #00f0ff;
  transform: scale(1.03);
}

.contact-link i {
  font-size: 1.7rem;
}

.large-socials {
  gap: 2.5rem;
  margin-top: 3rem;
  width: 100%;
}

.big-link {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 420px;
  justify-content: flex-start;
  font-size: 2rem;
  padding: 1.5rem 2rem;
  border-radius: 18px;
  background: rgba(24, 24, 24, 0.9);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 32px rgba(0, 255, 255, 0.08);
  border: 1.5px solid rgba(0, 240, 255, 0.11);
  transition: 
    background 0.22s cubic-bezier(.55,.13,.54,.93), 
    color 0.18s,
    box-shadow 0.28s, 
    transform 0.16s;
}

.big-link i {
  font-size: 2.4rem;
}

.big-link:hover {
  background: rgba(0, 240, 255, 0.14);
  color: #00f0ff;
  box-shadow: 0 2px 32px #00f0ff55;
  transform: scale(1.04) translateY(-2px);
}

.about-avatar {
  display: block;
  margin: 0 auto 2rem auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #00f0ff;
  box-shadow: 0 0 18px #00f0ff66;
  object-fit: cover;
  background: #111;
  transition: box-shadow 0.3s;
}
.about-avatar:hover {
  box-shadow: 0 0 32px #00f0ffcc;
}

.blog-section {
  max-width: 900px;
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}
.blog-post-card {
  background: rgba(30,30,30,0.6);
  border-radius: 14px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 0 18px #00f0ff16;
  border: 1px solid rgba(0,240,255,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-post-card:hover {
  box-shadow: 0 4px 30px #00f0ff55;
  transform: translateY(-3px) scale(1.01);
}
.blog-post-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}
.blog-post-card h3 a {
  color: #00f0ff;
  text-decoration: none;
  transition: text-shadow 0.18s;
}
.blog-post-card h3 a:hover {
  text-shadow: 0 0 8px #00f0ff99;
}
.blog-meta {
  font-size: 0.92rem;
  color: #999;
  margin-bottom: 1rem;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3 {
  color: #00f0ff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}
.blog-detail-content p {
  color: #f0f0f0;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.blog-detail-content ul, .blog-detail-content ol {
  margin: 1.2rem 0 1.2rem 2rem;
}
.blog-detail-content code {
  background: #191e24;
  color: #00ffae;
  border-radius: 4px;
  padding: 0.2em 0.5em;
  font-size: 1em;
}
.blog-detail-content pre {
  background: #191e24;
  color: #00ffae;
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1.2rem 0;
}
.blog-detail-content a {
  color: #00f0ff;
  text-decoration: underline;
  transition: color 0.2s;
}
.blog-detail-content a:hover {
  color: #fff;
  text-shadow: 0 0 10px #00f0ff88;
}

.blog-detail-content pre,
.blog-detail-content .codehilite {
  background: #181f23;
  color: #00f0ff;
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin: 2rem 0;
  font-size: 1rem;
  overflow-x: auto;
  box-shadow: 0 0 24px #00f0ff28;
  border: 1.5px solid #00f0ff33;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
}

.blog-detail-content code,
.blog-detail-content pre code {
  color: #aaffff;
  background: none;
  font-size: 1em;
  font-family: inherit;
  border-radius: 0;
  padding: 0;
}

.blog-detail-content .codehilite .hll { background-color: #262626 }
.blog-detail-content .codehilite .c { color: #999; font-style: italic }      /* Comment */
.blog-detail-content .codehilite .k { color: #00ffea }                      /* Keyword */
.blog-detail-content .codehilite .s { color: #fffa7b }                      /* String */
.blog-detail-content .codehilite .n { color: #00f0ff }                      /* Name */
.blog-detail-content .codehilite .o { color: #ffb970 }                      /* Operator */
.blog-detail-content .codehilite .mi { color: #aaffaa }                     /* Number */
.blog-detail-content .codehilite .p { color: #fff }                         /* Punctuation */

pre, code {
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
}

.blog-detail-content {
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 0;
  line-height: 1.7;
}
.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content pre,
.blog-detail-content ul,
.blog-detail-content ol,
.blog-detail-content blockquote {
  text-align: left;
}

.blog-featured-img {
  display: block;
  max-width: 100%;
  max-height: 320px;
  margin: 0 auto 2rem auto;
  border-radius: 12px;
  box-shadow: 0 0 30px #00f0ff18;
  object-fit: cover;
}