/* Academic Portfolio - Vinthony Inspired Design */
/* Font: Optima | Color: Blue-Purple */

:root {
  --primary-color: #3d5a80;
  --secondary-color: #5a7ca0;
  --accent-color: #4a68a0;
  --text-dark: #2b2b2b;
  --text-light: #666;
  --border-light: #ddd;
  --bg-white: #ffffff;
  --bg-light: #fafafa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Optima, 'Palatino Linotype', 'Book Antiqua', serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Header Navigation */
nav {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

nav .brand {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  color: var(--text-dark);
}

nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Main Layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Content Layout for Non-Home Pages */
main.content-layout {
  grid-template-columns: 1fr;
  max-width: 900px;
}

main.content-layout .content {
  margin: 0 auto;
  width: 100%;
  max-width: 700px;
}

/* Sidebar - Left Column */
.sidebar {
  padding-top: 1rem;
}

.sidebar-profile {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sidebar-profile img {
  width: 180px;
  height: 180px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-profile h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.sidebar-profile .title {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.sidebar-profile .contact {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1rem;
  line-height: 1.8;
}

.sidebar-profile .contact a {
  display: block;
  color: var(--text-light);
}

.sidebar-links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.sidebar-links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

/* Main Content Area */
.content {
  padding-top: 1rem;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  letter-spacing: 0.3px;
}

section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* About Section */
.about-section p {
  margin-bottom: 1rem;
  text-align: justify;
  color: var(--text-dark);
}

.about-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.about-section li {
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

/* News Items */
.news-list {
  list-style: none;
}

.news-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 1rem;
}

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

.news-date {
  font-size: 0.85rem;
  color: var(--text-light);
  flex-shrink: 0;
  min-width: 80px;
  font-weight: 600;
}

.news-content {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* Research Items */
.research-list {
  list-style: none;
}

.research-item {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-light);
}

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

.research-item strong {
  color: var(--primary-color);
  font-weight: 600;
}

.research-item p {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* Publication/Project Cards */
.publication-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

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

.publication-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--text-dark);
  font-weight: 600;
}

.publication-item .authors {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.publication-item .venue {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.publication-item .links {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.publication-item .links a {
  margin-right: 1rem;
  color: var(--primary-color);
}

/* Highlight Box */
.vibe-highlight {
  background-color: #f0f3f7;
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  border-radius: 2px;
}

.vibe-highlight strong {
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  margin-top: 3rem;
  padding: 2rem;
}

footer .footer-links {
  display: none;
}

footer p {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }

  main.content-layout {
    padding: 1rem;
  }

  main.content-layout .content {
    max-width: 100%;
  }

  nav .navbar-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.85rem;
  }

  .sidebar {
    padding-top: 0;
  }

  .sidebar-profile {
    margin-bottom: 1.5rem;
  }

  .sidebar-profile img {
    width: 120px;
    height: 120px;
  }

  section h2 {
    font-size: 1.1rem;
  }

  footer {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0.5rem;
  }

  nav .navbar-content {
    padding: 0.8rem 0.5rem;
  }

  nav .brand {
    font-size: 1.1rem;
  }

  .sidebar-profile img {
    width: 100px;
    height: 100px;
  }

  .news-date {
    min-width: 60px;
    font-size: 0.75rem;
  }

  section h2 {
    font-size: 1rem;
  }

  section h3 {
    font-size: 0.95rem;
  }
}
