/* Import Montserrat from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

/* --- Base Typography & Colors --- */
/* Update the font-family for body and headings to use Montserrat */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* Headings: Now using Montserrat with a slightly heavier weight */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #2c3e50;
}

/* --- Links --- */
/* Link styling that echoes GitHub's link color */
a {
  color: #0366d6;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover,
a:focus {
  color: #024f9a;
  text-decoration: underline;
}

/* --- About Block Customization --- */
/* Custom styling for the about block to match the Trestele template look */
#about-block {
  background-color: #f8f9fa;  /* light background to match Cosmo */
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Ensure the image in the about block is rounded (if not already handled by the template) */
#about-block img {
  border-radius: 50%;
  border: 3px solid #ccc;
  max-width: 100%;
  height: auto;
}

/* --- Projects Section Styling --- */
/* If your projects section uses Bootstrap cards, here’s a gentle tweak */
#projects-block .card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  margin-bottom: 1.5rem;
}

#projects-block .card:hover {
  transform: translateY(-5px);
}

/* --- Code Blocks --- */
/* Styling for code blocks to complement the GitHub highlight style */
pre code {
  background-color: #f6f8fa;
  border: 1px solid #d1d5da;
  border-radius: 3px;
  padding: 0.5em;
  overflow-x: auto;
}

/* --- Footer (Optional) --- */
/* A simple footer style for consistency */
footer {
  background-color: #f8f9fa;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* --- Additional Customizations --- */
/* Customize buttons to blend with Cosmo's palette */
.btn-custom {
  background-color: #0366d6;
  border: none;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0.3rem;
  transition: background-color 0.2s ease;
}

.btn-custom:hover,
.btn-custom:focus {
  background-color: #024f9a;
}

/* Add spacing for sections if needed */
.section {
  padding: 3rem 0;
}

/* --- Table Styling --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 0.5em 1em;
  text-align: left;
}

/* css styles */
