/* ===== RESET & BASE ===== */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body {
  background-color: #fffbf5;
  color: #000000;
  font-family: "anthropicSerif","anthropicSerif Fallback",Georgia,Times New Roman,Times,serif;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  padding: 0;
}

a { 
  color: #000000; 
  text-decoration: underline; 
  text-decoration-color: rgb(255, 106, 0);
}

a:hover { 
  text-decoration: underline;
  color: rgb(255, 106, 0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fffbf5;
  border-bottom: 1px solid #222;
  z-index: 1000;
}

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

.nav-logo {
  color: #fffbf5;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar a { 
  color: #000000; 
}

.navbar a:hover { 
  text-decoration: underline;
  color: rgb(255, 106, 0);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #000000;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-right a {
  text-decoration: none;
  white-space: nowrap;
}

.nav-right .active {
  text-decoration: underline;
  color: rgb(255, 106, 0);
}

/* ===== MAIN CONTAINER ===== */
.container {
  max-width: 800px; 
  margin: 6rem auto 0 auto;
  padding: 0 2rem;
}

.container ul {
  margin-bottom: 2rem;
}

/* ===== HEADER ===== */
.header { 
  text-align: left; 
  margin-bottom: 3rem; 
}

.logo { 
  font-size: 1.5rem; 
  font-weight: 600; 
}

/* ===== INTRO SECTION ===== */
.content-wrapper { 
  display: block; 
}

.intro { 
  display: block; 
  margin-bottom: 2rem; 
}

.profile-img { 
  width: 150px; 
  height: 150px;  
  object-fit: cover; 
  display: block; 
  margin-bottom: 1rem; 
}

.intro-text p { 
  margin-bottom: 1.5rem; 
}

/* ===== SECTIONS ===== */
.section { 
  margin-bottom: 3rem; 
}

.section p {
  margin-bottom: 1.5rem;
}

.section h2 { 
  margin-bottom: 1rem; 
  color: #333333; 
  font-size: 1.2rem; 
  text-transform: uppercase; 
}

.section h4 { 
  margin-bottom: 0.5rem; 
  margin-top: 1rem;
  color: #333333; 
}

.section ul { 
  list-style: disc; 
  padding-left: 1.5rem; 
  margin-bottom: 1rem; 
}

/* ===== HOVER EFFECTS ===== */
.hover-img { 
  /* color:#3498db; */
  position: relative; 
  text-decoration: underline; 
  text-decoration-color: rgb(255, 106, 0);
}

.hover-img:hover,
.sra-team-hover:hover {
  color: rgb(255, 106, 0);
  text-decoration: underline;
}

.sra-hover::after { 
  content: ''; 
  position: absolute; 
  bottom: 0%; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 100px; 
  height: 100px; 
  background-image: url('/assets/sra_logo.png'); 
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: center; 
  opacity: 0; 
  pointer-events: none; 
}

.geoshred-hover::after { 
  content: ''; 
  position: absolute; 
  bottom: 0%; 
  left: 50%; 
  transform: translateX(-50%); 
  width: 200px; 
  height: 200px; 
  background-image: url('/assets/geoshred.png'); 
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: center; 
  opacity: 0; 
  pointer-events: none; 
}

.obsidian-hover::after { 
  content: ''; 
  position: absolute; 
  bottom: 0%; 
  left: 50%; 
  transform: translateX(-50%) translateY(40px); 
  width: 300px; 
  height: 300px; 
  background-image: url('/assets/obsidian.png'); 
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: center; 
  opacity: 0; 
  pointer-events: none; 
}

.hover-img:hover::after { 
  opacity: 1.0;
}

.sra-team-hover { 
  position: relative; 
  cursor: pointer; 
  text-decoration: underline; 
  text-decoration-color: rgb(255, 106, 0);
}

.sra-team-hover::after { 
  content: ''; 
  position: absolute; 
  bottom: 100%; 
  left: 50%; 
  transform: translateX(-50%) translateY(-2px); 
  width: 200px; 
  height: 200px; 
  background-image: url('/assets/sra_core.jpg'); 
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: center; 
  opacity: 0; 
  pointer-events: none; 
}

.sra-team-hover:hover::after { 
  opacity: 1.0; 
}

.sra-hover:not(:hover)::after,
.geoshred-hover:not(:hover)::after,
.obsidian-hover:not(:hover)::after,
.sra-team-hover:not(:hover)::after {
  opacity: 0 !important;
}

/* ===== CONTACT ===== */
.contact { 
  border-left: none; 
  border-top: 1px solid #333; 
  padding-left: 0; 
  padding-top: 1.5rem; 
  margin-top: 2rem; 
  transform: none; 
  width: 100%; 
}

.contact h2 { 
  font-size: 1.1rem; 
  text-transform: lowercase; 
  margin-bottom: 1rem; 
}

.contact ul { 
  list-style: none; 
  padding-left: 0; 
}

.contact li { 
  margin-bottom: 0.5rem; 
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.contact-separator {
  color: #666;
  user-select: none;
}

/* ===== FOOTER ===== */
.footer { 
  margin-top: 5rem; 
  color: #777777; 
  font-size: 0.9rem; 
  text-align: left; 
}

/* ===== BLOG LIST ===== */
.blog-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.blog-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.blog-item:last-child {
  border-bottom: none;
}

.blog-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.blog-title a {
  text-decoration: none;
}

.blog-title a:hover {
  text-decoration: underline;
}

.blog-meta {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.blog-excerpt {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ===== BLOG POST ===== */
.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  text-decoration: none;
}

.back-link:hover {
  color: rgb(255, 106, 0);
  text-decoration: underline;
}

.blog-post h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-meta {
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
  font-size: 0.9rem;
}

.post-content {
  line-height: 1.8;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content em {
  font-style: italic;
}


.post-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content code {
  background: #1a1a1a;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

.post-content img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

@media (max-width: 500px) {
  .menu-toggle {
    display: block;
  }

  .nav-inner {
    padding: 1rem;
  }

  .nav-right {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fffaf2;
    border-top: 1px solid #222;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0;
  }

  .nav-right.active {
    display: flex;
  }

  .nav-right a {
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: 1px solid #222;
  }

  .nav-right a:last-child {
    border-bottom: none;
  }

  body { 
    padding: 0;
  }

  .container {
    padding: 0 1rem;
  }

  .contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .contact-separator {
    display: none;
  }

  .blog-post h1 {
    font-size: 1.6rem;
  }

  .post-content h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 400px) {
  .nav-inner {
    padding: 0.75rem;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .menu-toggle {
    font-size: 1.3rem;
  }
}