/* Custom CSS for the portfolio site */

/* Color scheme - customize these to match your preferences */
:root {
  --primary-color: #2E86AB;
  --secondary-color: #A23B72;
  --accent-color: #F18F01;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
}

/* Navigation customizations */
.navbar-brand {
  font-weight: bold;
  font-size: 1.2rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
}

/* Homepage customizations */
.hero-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  margin-bottom: 2rem;
}

/* Project cards */
.project-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Skills section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.skill-category {
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.skill-category h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Code blocks */
.sourceCode {
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

/* Figures and plots */
.figure {
  text-align: center;
  margin: 2rem 0;
}

.figure img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.figure-caption {
  font-style: italic;
  color: #666;
  margin-top: 0.5rem;
}

/* Tables */
.table {
  margin: 1.5rem 0;
}

.table th {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

/* Callout boxes */
.callout {
  margin: 1.5rem 0;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid var(--accent-color);
  background-color: var(--light-gray);
}

.callout-title {
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

/* Print styles */
@media print {
  .navbar, .footer {
    display: none;
  }
  
  .main-content {
    margin: 0;
    padding: 0;
  }
}
