/* Main CSS for ByteMeDirk Jekyll Site */

/* Base Styles */
:root {
  --primary-color: #2a7ae2;
  --secondary-color: #1756a9;
  --accent-color: #f8f9fa;
  --text-color: #333;
  --light-text: #767676;
  --border-color: #e8e8e8;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  color: var(--light-text);
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.site-title a {
  color: var(--text-color);
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-trigger {
  display: none;
}

.menu-icon {
  display: none;
}

.trigger {
  display: flex;
  gap: 2rem;
}

.page-link {
  color: var(--text-color);
  font-weight: 500;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--accent-color);
  border-radius: 10px;
  margin: 2rem 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-heading {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.5rem;
  color: var(--light-text);
  margin-bottom: 2rem;
  font-weight: 300;
}

.profile-image-container {
  margin: 2rem auto;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Content Areas */
.site-content {
  padding: 2rem 0;
  min-height: 70vh;
}

.home-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
}

/* CTA Section */
.cta-section {
  padding: 3rem 0;
}

.cta-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-card {
  flex: 1;
  min-width: 300px;
  background-color: var(--accent-color);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  text-decoration: none;
  color: white;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

.footer-col-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  color: var(--light-text);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
}

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

.skill-category {
  background-color: var(--accent-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

/* Project Cards */
.project-card {
  background-color: var(--accent-color);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
  .menu-icon {
    display: block;
    cursor: pointer;
  }

  .trigger {
    display: none;
    position: absolute;
    top: 100%;
    right: 15px;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    gap: 1rem;
  }

  .nav-trigger:checked ~ .trigger {
    display: flex;
  }

  .cta-container {
    flex-direction: column;
  }

  .footer-col-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .social-links {
    justify-content: center;
  }
}
