/* Material Design for Static Site */
:root {
  --primary-color: #1976d2;
  --primary-light: #63a4ff;
  --primary-dark: #004ba0;
  --text-primary: #212121;
  --text-secondary: #757575;
  --background: #ffffff;
  --surface: #ffffff;
  --divider: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

/* App Bar */
.app-bar {
  background: var(--primary-color);
  color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-bar h1 {
  font-size: 24px;
  font-weight: 500;
}

.app-bar nav a {
  color: white;
  text-decoration: none;
  margin-left: 24px;
  font-weight: 400;
  transition: opacity 0.2s;
}

.app-bar nav a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: white;
  padding: 64px 24px;
  text-align: center;
}

.hero h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

/* Sections */
.section {
  margin-bottom: 48px;
}

.section-title {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--primary-color);
  border-bottom: 2px solid var(--divider);
  padding-bottom: 8px;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Card */
.card {
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--shadow);
}

.card-header {
  padding: 16px 16px 0;
}

.card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.card-title:hover {
  text-decoration: underline;
}

.card-date {
  font-size: 14px;
  color: var(--text-secondary);
}

.card-content {
  padding: 16px;
}

.card-excerpt {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.card-footer {
  padding: 0 16px 16px;
}

.tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  text-decoration: none;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 24px;
  text-align: center;
  margin-top: 48px;
}

.footer a {
  color: var(--primary-light);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* FAB (Floating Action Button) */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
  .app-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .app-bar nav {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
  }
  
  .app-bar nav a {
    margin: 0 12px 8px 0;
  }
  
  .hero {
    padding: 48px 16px;
  }
  
  .hero h2 {
    font-size: 24px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .container {
    padding: 16px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}