/* Reset & Variables */
:root {
  --font-primary: 'Google Sans', 'Inter', sans-serif;
  --color-bg: #ffffff;
  --color-surface: #f8f9fa;
  --color-text: #202124;
  --color-text-secondary: #5f6368;
  --color-accent: #1a73e8;
  --color-accent-hover: #1765cc;
  --border-radius-card: 24px;
  --spacing-unit: 8px;
  --container-width: 1200px;
  --transition-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  color: var(--color-text);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

p {
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

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

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  display: block;
  width: 80px; /* Adjust based on preference */
  transition: opacity 0.3s ease;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}

.logo:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  padding: 120px 0 100px;
  max-width: 900px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.5rem;
  max-width: 700px;
  font-weight: 300;
  color: var(--color-text-secondary);
}

/* Projects Grid */
.projects {
  padding: 80px 0 120px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

/* Cards */
.project-card {
  background-color: var(--color-surface);
  border-radius: var(--border-radius-card);
  padding: 48px;
  transition: transform 0.3s var(--transition-ease), box-shadow 0.3s var(--transition-ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
}

.card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-header {
  margin-bottom: 16px;
}

.project-tag {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge {
  display: inline-block;
  background-color: #e8eaed;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 100px;
  margin-right: 12px;
  font-weight: 500;
  vertical-align: middle;
}

.project-desc {
  flex-grow: 1;
  margin-bottom: 32px;
}

/* Buttons & Links */
.btn-link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--color-accent);
  font-size: 1rem;
  transition: color 0.2s ease;
}

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

.btn-link .arrow {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.btn-link:hover .arrow {
  transform: translateX(4px);
}

.btn-link.disabled {
  color: var(--color-text-secondary);
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

/* Footer */
.site-footer {
  padding: 60px 0;
  border-top: 1px solid #f1f3f4;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

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

/* Animation Classes */
.fade-in {
  opacity: 0;
  transition: opacity 1s var(--transition-ease);
}

.fade-in.visible {
  opacity: 1;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-ease), transform 0.8s var(--transition-ease);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 32px;
  }
}
