/* Academic Research Lab Style - Inspired by MIT Raman Lab */

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header styling */
.navbar {
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.navbar .site-name {
  font-weight: 600;
  font-size: 1.2rem;
}

/* Navigation links */
.nav-links a {
  font-weight: 500;
  color: #555;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0066cc;
}

/* Main content area */
.theme-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Headings */
h1 {
  border-bottom: 2px solid #0066cc;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  color: #0066cc;
}

h2 {
  color: #333;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  color: #555;
  margin-top: 1.5rem;
}

/* Links */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Code blocks */
pre {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
}

/* Statistics display */
.stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: bold;
  color: #0066cc;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Publication list */
.publication-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

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

.publication-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.publication-authors {
  color: #666;
  margin-bottom: 0.5rem;
}

.publication-journal {
  font-style: italic;
  color: #888;
}

.publication-citations {
  color: #0066cc;
  font-weight: 500;
}

/* Research areas grid */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.research-card {
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #0066cc;
}

.research-card h3 {
  margin-top: 0;
  color: #0066cc;
}

/* Responsive design */
@media (max-width: 768px) {
  .theme-container {
    padding: 1rem;
  }
  
  .stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .research-grid {
    grid-template-columns: 1fr;
  }
}

/* PDF viewer styling */
.pdf-viewer-container {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Language Switcher Styling */
.dropdown-wrapper {
  position: relative;
}

.dropdown-title {
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

.dropdown-title:hover {
  background: #f5f5f5;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-width: 150px;
  z-index: 1000;
  margin-top: 0.5rem;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}

.dropdown-menu a:hover {
  background: #f5f5f5;
  text-decoration: none;
}

/* Language indicator */
.nav-links .nav-item:last-child {
  margin-left: auto;
}
