/* Modern Academic Website Styles */

/* Import Google Fonts for better typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --primary-color: #1a365d;
  --secondary-color: #2c5282;
  --accent-color: #3182ce;
  --text-color: #2d3748;
  --text-light: #4a5568;
  --text-muted: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --hover-color: #4299e1;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  color: var(--text-color);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

/* Links */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

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

a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Navigation bar - Modern sticky navigation */
.navigation {
  background-color: var(--primary-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.navigation .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
}

.navigation a {
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
  margin: 0;
}

.navigation a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  border-bottom-color: var(--accent-color);
}

.navigation a:first-child {
  margin-left: -1.5rem;
}

/* Main content */
.main {
  margin-top: 60px;
  padding: 3rem 0;
  min-height: calc(100vh - 60px);
}

.container {
  max-width: 1200px;
}

/* Profile section */
.foto {
  margin-bottom: 2rem;
}

.foto img {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.foto img:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Info section */
.info {
  text-align: left;
  padding-top: 0;
  margin-top: 1.5rem;
}

.info p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

.info a {
  display: inline-block;
  margin-right: 1.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.info a:hover {
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Bio section */
.bio {
  text-align: left;
  line-height: 1.8;
  color: var(--text-light);
}

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

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

/* Section cards */
.section-card {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.section-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Lists */
ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

ul li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-light);
  line-height: 1.7;
}

ul li:before {
  content: "▸";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.1em;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Responsive design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .navigation .container {
    padding: 0 1rem;
  }
  
  .navigation a {
    padding: 1rem 1rem;
    font-size: 0.9rem;
  }
  
  .main {
    padding: 2rem 0;
  }
  
  .section-card {
    padding: 1.5rem;
  }
  
  .info a {
    display: block;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .navigation a {
    padding: 0.875rem 0.75rem;
    font-size: 0.85rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* Additional modern touches */
.pubname {
  color: var(--secondary-color);
  font-weight: 600;
}

.confname {
  font-style: italic;
  color: var(--text-muted);
}

.student-ad {
  border: 2px dashed var(--accent-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  background-color: var(--bg-light);
  margin: 2rem 0;
}

.anchor {
  scroll-margin-top: 80px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: var(--accent-color);
  color: white;
}

::-moz-selection {
  background-color: var(--accent-color);
  color: white;
}

/* Publication styling */
.publication-list {
  margin-top: 1rem;
}

.publication-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

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

.publication-item:hover {
  padding-left: 0.5rem;
}

.publication-item .pubname {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.publication-item .pubname:hover {
  color: var(--accent-color);
}

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

.publication-item .venue {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.publication-item .links {
  margin-top: 0.75rem;
}

.publication-item .links a {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-light);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.publication-item .links a:hover {
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.publication-item .year {
  color: var(--accent-color);
  font-weight: 600;
}

/* Ordered lists for instructions */
ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}
