/* Basically Basic Steel Theme - Adapted for bash-stack */

/* Reset and Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #303841;
  background-color: #eee;
}

/* Colors - Steel Theme */
:root {
  --base-color: #3a4750;
  --text-color: #303841;
  --accent-color: #d72323;
  --background-color: #eee;
  --code-bg: #fff;
  --border-color: rgba(48, 56, 65, 0.25);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--base-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1.5rem;
}

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

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

/* Layout */
.site-header {
  background: var(--base-color);
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.site-title a {
  color: #fff;
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: #fff;
  min-height: 80vh;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.page-intro {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-intro__inner {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.page-intro__image {
  flex-shrink: 0;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-intro__content {
  flex: 1;
}

.page-intro__title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--base-color);
}

.page-intro__lead {
  font-size: 1.15rem;
  color: #666;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.page-intro__desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Entries (Blog Posts/Projects) */
.entries-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.entry {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 6px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s;
}

.entry:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.entry:last-child {
  margin-bottom: 0;
}

.entry__title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.entry__title a {
  color: var(--base-color);
  text-decoration: none;
}

.entry__title a:hover {
  color: var(--accent-color);
}

.entry__meta {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.entry__excerpt {
  color: var(--text-color);
  line-height: 1.7;
}

.entry__more-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent-color);
  font-weight: 600;
}

/* Section Headers */
.section-title {
  margin: 3rem 0 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--base-color);
}

.section-title h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--base-color);
}

/* Footer */
.site-footer {
  background: var(--base-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 0.875rem;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: #fff;
}

/* Author Info Box */
.author-info {
  background: #f5f5f5;
  border-left: 4px solid var(--accent-color);
  padding: 2rem;
  margin: 3rem 0;
}

.author-info__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.author-info__bio {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #fff;
  color: var(--base-color);
  border: 2px solid var(--base-color);
  border-radius: 50%;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  background: var(--base-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.social-icon svg {
  display: block;
}

/* Projects */
.project-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

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

.project-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.project-card__meta {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.project-card__desc {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.75rem;
  background: var(--accent-color);
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(215, 35, 35, 0.3);
}

.btn:hover {
  background: var(--base-color);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 71, 80, 0.3);
}

.btn-secondary {
  background: var(--base-color);
}

.btn-secondary:hover {
  background: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
  .site-header__inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .site-nav ul {
    gap: 1rem;
  }
  
  .page-intro__inner {
    flex-direction: column;
    text-align: center;
  }
  
  .page-intro__title {
    font-size: 2rem;
  }
  
  .main-content {
    padding: 2rem 1rem;
  }
  
  .profile-image {
    width: 120px;
    height: 120px;
  }
}

/* Footer */
.site-footer {
  background: var(--base-color);
  color: #fff;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
}

.footer-section h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.footer-section p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-section ul, .footer-section ol {
  margin: 0.5rem 0 1rem 1.2rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-section li {
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.8rem;
  color: #fff;
}

.site-footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a {
  color: var(--accent-color);
  font-weight: 600;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .site-footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section h3 {
    font-size: 1rem;
  }
  
  .footer-section p, .footer-section li {
    font-size: 0.85rem;
  }
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

