/* Minimalist Professional Styles - Pastel & Dark Theme */

/* Global Styles */
:root {
  --primary-color: #a8c5e0;        /* Soft pastel blue */
  --secondary-color: #c4a8d8;      /* Soft pastel purple */
  --accent-color: #d4b5b5;         /* Soft pastel pink */
  --text-color: #e8e8e8;           /* Light gray text */
  --text-dark: #1a1a1a;            /* Dark text for light backgrounds */
  --text-muted: #b0b0b0;           /* Muted text */
  --bg-dark: #0f0f0f;              /* Dark background */
  --bg-darker: #0a0a0a;            /* Darker background */
  --bg-light: #1a1a1a;             /* Light dark background */
  --bg-card: #1f1f1f;               /* Card background */
  --border-color: #2a2a2a;         /* Border color */
  --border-light: #3a3a3a;         /* Lighter border */
}

/* Base Styles */
body {
  background: var(--bg-dark);
  color: var(--text-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Card Styles */
.card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: var(--border-light);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid;
  font-size: 0.95rem;
}

.btn-primary {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--text-color);
  color: var(--text-color);
}

.btn-outline:hover {
  background: var(--text-color);
  color: var(--bg-dark);
}

/* Publication Styles */
.publication-item {
  background: var(--bg-card);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  border-left: 2px solid var(--primary-color);
  border: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.publication-item:hover {
  border-color: var(--primary-color);
}

.publication-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.publication-authors {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

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

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 2rem;
  border-left: 1px solid var(--border-color);
}

.timeline-marker {
  position: absolute;
  left: -6px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid var(--bg-dark);
}

/* Section Dividers */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--primary-color);
  margin: 1rem auto 2rem;
}

/* Responsive Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .timeline {
    padding-left: 1rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .card {
    box-shadow: none;
    border: 1px solid var(--border-color);
  }
  
  .btn {
    display: none;
  }
}
