/* AI Studio Dark Theme Variables */
:root {
  --color-bg: #1a1a1a; 
  --color-text-main: #e3e3e3;
  --color-text-muted: #a0a0a0;
  --color-accent: #a8c7fa; 
  --color-border: #333333;
  
  --font-family: 'Outfit', 'Roboto', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }

/* Layout */
.main-container {
  max-width: 760px; /* Tighter for better reading line-length */
  margin: 0 auto;
  padding: 80px 24px; 
}

.section {
  margin-bottom: 80px;
}

/* Typography */
.display-name {
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
}

.body-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* Links & Buttons */
.action-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.link-btn {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 500;
  transition: opacity 0.2s;
}

.link-btn:hover {
  opacity: 0.8;
}

.text-link {
  color: var(--color-text-main);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Lists and Items (Experience, Education) */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.list-item {
  display: flex;
  gap: 24px;
}

.item-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 4px;
  object-fit: contain;
  flex-shrink: 0;
}

.item-content {
  flex: 1;
}

.item-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.item-meta {
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-top: 4px;
}

.item-tech {
  font-size: 0.9rem;
  color: var(--color-text-main);
  font-weight: 500;
}

/* Project Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.project-item {
  display: flex;
  flex-direction: column;
}

.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

/* Stack Section */
.stack-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stack-item .item-title {
  margin-bottom: 4px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 48px 24px;
}

.footer-content {
  max-width: 760px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 600px) {
  .list-item {
    flex-direction: column;
    gap: 16px;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
}
