/* Custom styles for Aarish's portfolio */

:root {
  --md-primary-fg-color: #673ab7;
  --md-accent-fg-color: #9c27b0;
  --md-primary-bg-color: #ffffff;
  --md-default-bg-color: #ffffff;
}

/* Hero section styling */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  margin: -1.5rem -1.5rem 2rem -1.5rem;
  border-radius: 0 0 1rem 1rem;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-section .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Project cards */
.project-card {
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  padding: 2rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.project-card h3 {
  color: var(--md-primary-fg-color);
  margin-top: 0;
}

.project-card .tech-stack {
  background: var(--md-code-bg-color);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-family: var(--md-code-font);
  font-size: 0.9rem;
  margin: 1rem 0;
}

/* Experience timeline */
.experience-item {
  border-left: 3px solid var(--md-primary-fg-color);
  padding-left: 2rem;
  margin: 2rem 0;
  position: relative;
}

.experience-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 13px;
  height: 13px;
  background: var(--md-primary-fg-color);
  border-radius: 50%;
}

.experience-item h3 {
  margin-top: 0;
  color: var(--md-primary-fg-color);
}

.experience-item .company {
  font-weight: 600;
  font-size: 1.1rem;
}

.experience-item .duration {
  color: var(--md-default-fg-color--light);
  font-style: italic;
  margin-bottom: 1rem;
}

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

.skill-category {
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skill-category h4 {
  color: var(--md-primary-fg-color);
  margin-top: 0;
  margin-bottom: 1rem;
}

.skill-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-category li {
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
}

.skill-category li:last-child {
  border-bottom: none;
}

/* Social links */
.social-links {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--md-primary-fg-color);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  background: var(--md-accent-fg-color);
  transform: translateY(-1px);
  color: white;
}

/* Highlights section */
.highlights {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.highlights h2 {
  color: var(--md-primary-fg-color);
  margin-top: 0;
}

.highlights ul {
  list-style: none;
  padding: 0;
}

.highlights li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlights li::before {
  content: '✨';
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .tagline {
    font-size: 1.25rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    flex-direction: column;
  }
}

/* Code blocks */
.codehilite pre {
  border-radius: 0.5rem;
  padding: 1rem;
}

/* Admonitions */
.admonition {
  border-radius: 0.5rem;
  border-left: 4px solid var(--md-primary-fg-color);
}

/* Tables */
table {
  border-collapse: collapse;
  margin: 1rem 0;
  width: 100%;
}

table th,
table td {
  border: 1px solid var(--md-default-fg-color--lightest);
  padding: 0.75rem;
  text-align: left;
}

table th {
  background: var(--md-default-fg-color--lightest);
  font-weight: 600;
}