/* Solarized Soft Paper Theme - Indie Web Design */
:root {
  /* Solarized Light Colors */
  --base01: #573c27;
  --base00: #4c3a2c;
  --base: #4c3a2c;
  --base0: #839496;
  --base2: #eee8d5;
  --base3: #fdf6e3;

  /* Solarized Accent Colors */
  --orange: #c69500;
  --cyan: #036b63;
  
  /* Typography */
  --font-family: 'EB Garamond', 'Georgia', serif;
  --font-size-base: 18px;
}

body {
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--base3);
  color: var(--base00);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.7;
  max-width: 850px;
}

/* Indie Web Header */
header {
  margin-bottom: 2.5rem;
  padding: 0.5rem 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 80px;
}

/* Site Branding */
.site-branding {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
  justify-content: center;
  height: 80px;
}

/* Site Title */
.site-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--base01);
  text-decoration: none;
  margin: 0;
}

.site-title:hover {
  color: var(--orange);
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

.site-logo {
  height: 5rem;
  width: auto;
  max-width: 320px;
  transition: all 0.2s ease;
}

.site-title:hover .site-logo {
  transform: translateY(-1px);
  opacity: 0.8;
}


/* Navigation */
.nav-container {
  display: flex;
  height: 80px;
  align-items: center;
}

.nav-container ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-container a {
  text-decoration: none;
  color: var(--base00);
  padding: 6px 14px;
  display: block;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 1.2rem;
  border-radius: 100px;
  background: transparent;
  border: 1px solid transparent;
}

.nav-container a:hover {
  background: var(--cyan);
  color: var(--base3);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



.nav-container a:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Main Content */
main {
  margin-bottom: 4rem;
}

h1 {
  color: var(--base01);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  color: var(--base01);
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

h3 {
  color: var(--base01);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  margin-bottom: 1.2rem;
  color: var(--base00);
}

/* About layout: photo + text card */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 2.25rem;
  margin-top: 0.5rem;
  border-radius: 18px;
  background: rgba(238, 232, 213, 0.7); /* var(--base2) with a soft overlay */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Image column */
.profile-pic {
  width: 100%;
          /* keeps it from dominating vertically */
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Text column */
.about-text {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertically pleasant, not forced top/bottom */
}

.about-text p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
}



/* Links */
a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 2px;
  color: var(--cyan);
  text-decoration-color: var(--cyan);
}

/* Lists */
ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.6rem;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid var(--cyan);
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--base2);
  border-radius: 0 12px 12px 0;
  color: var(--base0);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer */
footer {
  padding-top: 2rem;
  margin-top: 4rem;
  text-align: center;
  color: var(--base0);
  font-size: 0.9rem;
}

/* Indie Web Features */
.post-meta {
  color: var(--base0);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.post-meta time {
  color: var(--base0);
}

/* Notes Grid Layout */
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.5rem;
  row-gap: 3rem;
}

@media (max-width: 768px) {
  .notes-grid {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
}

.note-entry {
  background: var(--base3);
  padding: 1.5rem;
  border-radius: 16px;
  margin: 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--base2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.note-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.note-icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.note-entry:hover .note-icon {
  opacity: 1;
}

.note-entry h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--base01);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.note-entry .post-meta {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.note-entry .post-meta time {
  font-size: 0.85rem;
  color: var(--base0);
  font-weight: 500;
}

.note-entry .e-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.note-entry .e-content p {
  flex: 1;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
}

/* Note Card Links */
.note-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 2rem;
}

.note-card-link:hover .note-entry {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

}

.note-card-link:hover {
  text-decoration: none;
}

.note-card-link:hover .note-icon {
  opacity: 1;
}

/* Note Navigation */
.note-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--base2);
}

.note-navigation p {
  margin: 0;
}

.note-navigation a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.note-navigation a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 20px 15px;
    font-size: 16px;
  }
  
  /* Mobile Header Layout */
  header {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    min-height: auto;
  }
  
  .site-branding {
    height: auto;
    align-items: center;
    text-align: center;
  }
  
  /* Mobile Navigation */
  .nav-container {
    height: auto;
    justify-content: center;
  }
  
  .nav-container ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
  }
  
  .nav-container a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
    background: var(--base2);
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
  }
  
  .nav-container a:hover,
  .nav-container a:focus {
    background: var(--base01);
    color: var(--base3);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .nav-container a:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .site-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .nav-container ul {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .nav-container a {
    width: 100%;
    padding: 14px 16px;
  }
  
  header {
    padding: 0.5rem 0;
  }
}

/* Content Feed Styles - Magazine */
#content-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
  row-gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 12px;
  max-height: 600px;
  overflow-y: auto;
  border: none;
  background: rgba(238, 232, 213, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  #content-feed {
    grid-template-columns: 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
    padding: 1.5rem;
    max-height: 500px;
  }
}

/* Custom Scrollbar for Content Feed */
#content-feed::-webkit-scrollbar {
  width: 8px;
}

#content-feed::-webkit-scrollbar-track {
  background: var(--base2);
  border-radius: 4px;
}

#content-feed::-webkit-scrollbar-thumb {
  background: var(--base0);
  border-radius: 4px;
  transition: background 0.2s ease;
}

#content-feed::-webkit-scrollbar-thumb:hover {
  background: var(--base01);
}

/* Firefox scrollbar styling */
#content-feed {
  scrollbar-width: thin;
  scrollbar-color: var(--base0) var(--base2);
}

.feed-item {
  background: var(--base3);
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--base2);
  margin-bottom: 2rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feed-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.feed-item-header {
  margin-bottom: 0;
  display: block;
  padding: 1.5rem;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.2);
  transition: border-bottom-color 0.2s ease;
}


.feed-item-type {
  display: none;
}

.feed-item-meta {
  flex: 1;
}

.feed-item-meta h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feed-item-meta h3 a {
  color: var(--base01);
  text-decoration: none;
  transition: color 0.2s ease;
}

.feed-item-meta h3 a:hover {
  color: var(--cyan);
}

.feed-item-meta time {
  font-size: 0.9rem;
  color: var(--base0);
  font-weight: 600;
  margin-bottom: 0;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feed-item .e-content {
  margin-left: 0;
  padding: 1.5rem;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
}

.feed-item .e-content p {
  margin-bottom: 1rem;
  color: var(--base00);
  line-height: 1.8;
  font-size: 1rem;
  font-style: normal;
}

.feed-item .e-content p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  font-style: normal;
}

.feed-item .e-content a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.feed-item .e-content a:hover {
  color: var(--cyan);
  text-decoration: underline;
}

/* Feed Links */
.feed-links {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--base2);
}

.feed-links p {
  margin: 0;
  color: var(--base0);
}

.feed-links a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.feed-links a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* Font Awesome Icons */
.fa-brands {
  margin-right: 0.5rem;
  color: var(--cyan);
  transition: color 0.2s ease;
}

a:hover .fa-brands {
  color: var(--orange);
}

/* Connect Page Styles - Bookmark Style */
.connect-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.connect-item {
  margin-bottom: 0.5rem;
  padding: 1rem;
  background: var(--base2);
  border-radius: 8px;
  border-left: 4px solid var(--orange);
  position: relative;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.connect-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  border-left-color: var(--cyan);
  background: var(--base3);
}

.connect-item h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.connect-item h3 a {
  color: var(--base01);
  text-decoration: none;
  transition: color 0.2s ease;
}

.connect-item h3 a:hover {
  color: var(--orange);
}

.connect-subtitle {
  margin: 0;
  color: var(--base0);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.4;
}

.connect-item .fa-brands {
  margin-right: 0.5rem;
  color: var(--cyan);
  transition: color 0.2s ease;
}

.connect-item h3 a:hover .fa-brands {
  color: var(--orange);
}

/* Bookmark corner effect */
.connect-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-top: 15px solid var(--base2);
  border-radius: 0 8px 0 0;
}

/* Mobile responsive for connect page */
@media (max-width: 768px) {
  .connect-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}