/* 
 * Minimalist Premium Portfolio Theme
 * Supports Light (Default) and Dark Mode.
 */
:root {
  /* Light Theme (Default) */
  --bg-color: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --accent-color: #2563eb;
  --accent-gradient: linear-gradient(135deg, #2563eb, #0ea5e9);
  --nav-bg: rgba(248, 250, 252, 0.85);
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --icon-color: #475569;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 900px;
  --spacing: 2rem;
}

[data-theme=dark] {
  /* Dark Theme */
  --bg-color: #0d0f12;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --accent-color: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #8b5cf6, #3b82f6);
  --nav-bg: rgba(13, 15, 18, 0.85);
  --card-bg: #1e222a;
  --card-border: rgba(255, 255, 255, 0.05);
  --icon-color: #e2e8f0;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
}
p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  margin-left: 0.5rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.sun-icon {
  display: none;
}

.moon-icon {
  display: block;
}

[data-theme=dark] .sun-icon {
  display: block;
}

[data-theme=dark] .moon-icon {
  display: none;
}

/* Page Content */
.page-content {
  padding: 4rem 0;
  min-height: calc(100vh - 150px);
}

/* Project Cards Grid */
.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .project-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.project-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme=dark] .project-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.project-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.project-card h3 a {
  color: var(--text-main);
}

.project-card p {
  font-size: 1rem;
  flex-grow: 1;
}

/* Project Single Page */
.project-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.back-link:hover {
  color: var(--text-main);
}

.project-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--accent-gradient);
  color: #fff !important;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 500;
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  margin-top: 1rem;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--accent-color);
  color: var(--accent-color) !important;
}

.btn-outline:hover {
  background: var(--accent-color);
  color: #fff !important;
}

/* Footer */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.footer-copyright {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: right;
  }
}
.footer-copyright p {
  margin: 0;
  color: inherit;
}

/* Blog Timeline */
.blog-container {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-year {
  font-size: 2rem;
  font-weight: 700;
  margin: 3rem 0 1.5rem;
  color: var(--text-main);
}

.timeline {
  border-left: 2px solid var(--card-border);
  margin-left: 1rem;
  padding-left: 2rem;
  position: relative;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--accent-color);
  box-shadow: 0 0 0 4px var(--bg-color);
  transition: box-shadow 0.3s ease;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.timeline-content h3 a {
  color: var(--accent-color);
  font-weight: 500;
}

.timeline-content h3 a:hover {
  opacity: 0.8;
}

/* Post Metadata */
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.meta-icon {
  color: var(--text-muted);
}

/* Single Post Header */
.post-container {
  max-width: 800px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
}

.post-title-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.post-back-arrow {
  margin-top: 0.3rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.post-back-arrow:hover {
  transform: translateX(-4px);
  opacity: 1;
}

.post-title {
  margin-bottom: 0;
}

.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
}

/*# sourceMappingURL=style.css.map */