/* Reset and base styles */
body {
  background-color: #f8f9fa;
  font-family: verdana, sans-serif;
}

#wrapper {
  background-color: #ffffff;
  min-height: 100vh;
}

/* Bootstrap navbar customization */
.navbar {
  background-color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: bold;
  color: #49714f !important;
}

.navbar-brand img {
  border-radius: 5px;
}

.nav-link {
  color: #49714f !important;
  font-weight: bold;
  margin: 0 10px;
}

.nav-link:hover {
  color: #2c4a2e !important;
}

.nav-link.active {
  color: #2c4a2e !important;
  text-decoration: underline;
}

/* Tagline styling */
.tagline-text {
  color: #49714f;
  font-family: arial, sans-serif;
  font-size: 1.5rem;
  text-shadow: 2px 2px 4px #ababab;
  margin-bottom: 2rem;
}

/* Content area */
#content {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#content p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Headings */
h1 {
  color: #49714f;
  text-shadow: 2px 2px 4px #ababab;
  margin-bottom: 1.5rem;
}

/* Talks list styling */
.talks-list {
  margin-top: 2rem;
}

.talk-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-left: 4px solid #49714f;
  background-color: #f8f9fa;
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}

.talk-item:hover {
  background-color: #e9ecef;
  transform: translateX(5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.talk-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.talk-item h3 a {
  color: #49714f;
  text-decoration: none;
  font-weight: bold;
}

.talk-item h3 a:hover {
  color: #2c4a2e;
  text-decoration: underline;
}

.talk-location {
  color: #6c757d;
  font-size: 0.95rem;
  margin-bottom: 0;
  font-style: italic;
}

.talk-location a {
  color: #49714f;
  text-decoration: none;
}

.talk-location a:hover {
  text-decoration: underline;
}

/* Blog-specific styles */
#posts-list {
  list-style: none;
  padding: 0;
}

#posts-list li {
  margin-bottom: 15px;
  padding: 15px;
  border-left: 3px solid #49714f;
  background-color: #f8f9fa;
  border-radius: 0 5px 5px 0;
  transition: all 0.3s ease;
}

#posts-list li:hover {
  background-color: #e9ecef;
  transform: translateX(5px);
}

#posts-list li a {
  color: #49714f;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

#posts-list li a:hover {
  color: #2c4a2e;
  text-decoration: underline;
}

#posts-list li small {
  color: #6c757d;
  font-size: 12px;
  margin-left: 10px;
}

/* Markdown content styles */
#post-content {
  line-height: 1.6;
}

#post-content h1,
#post-content h2,
#post-content h3,
#post-content h4,
#post-content h5,
#post-content h6 {
  color: #49714f;
  margin-top: 30px;
  margin-bottom: 15px;
}

#post-content h1 {
  font-size: 28px;
  border-bottom: 2px solid #49714f;
  padding-bottom: 10px;
}

#post-content h2 {
  font-size: 24px;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 5px;
}

#post-content h3 {
  font-size: 20px;
}

#post-content p {
  margin-bottom: 15px;
}

#post-content ul,
#post-content ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

#post-content li {
  margin-bottom: 5px;
}

#post-content blockquote {
  border-left: 4px solid #49714f;
  padding-left: 15px;
  margin: 20px 0;
  font-style: italic;
  color: #6c757d;
}

#post-content code {
  background-color: #f8f9fa;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

#post-content pre {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 20px 0;
}

#post-content pre code {
  background-color: transparent;
  padding: 0;
}

#post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 15px 0;
}

#post-content hr {
  border: none;
  border-top: 1px solid #e9ecef;
  margin: 30px 0;
}

/* Social media icons in navbar */
.navbar-nav .nav-link img {
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover img {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tagline-text {
    font-size: 1.2rem;
  }
  
  .navbar-brand span {
    font-size: 0.9rem;
  }
  
  #content {
    padding: 15px;
  }
  
  .talk-item {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .talk-item h3 {
    font-size: 1.1rem;
  }
  
  #posts-list li {
    padding: 10px;
  }
  
  #post-content h1 {
    font-size: 24px;
  }
  
  #post-content h2 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .tagline-text {
    font-size: 1rem;
  }
  
  .navbar-brand span {
    display: none;
  }
  
  #content {
    padding: 10px;
  }
  
  .talk-item {
    padding: 0.75rem;
  }
  
  .talk-item h3 {
    font-size: 1rem;
  }
}
