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

:root {
  --background: #ffffff;
  --foreground: #2d3748;
  --muted: #718096;
  --border: #e2e8f0;
  --primary: #2d3748;
}

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

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-logo:hover {
  color: var(--muted);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

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

/* Homepage */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, var(--background) 0%, #f7fafc 100%);
}

.home-content {
  text-align: center;
  max-width: 600px;
}

.home h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.home .tagline {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.home-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: block;
  width: 100%;
  max-width: 280px;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s;
  background: var(--background);
}

.btn:hover {
  background: var(--foreground);
  color: var(--background);
  border-color: var(--foreground);
}

/* About page */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.about-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 2rem;
}

.about-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-content .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.about-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.about-links a {
  color: white;
  text-decoration: underline;
  font-size: 1.125rem;
  transition: color 0.2s;
}

.about-links a:hover {
  color: #d1d5db;
}

.about-bio {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  padding: 2rem;
  border-radius: 0.5rem;
}

.about-bio p {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Resume page */
.page-container {
  min-height: 100vh;
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.resume-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.resume {
  background: white;
  padding: 3rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.resume-download {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--foreground);
  color: white;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-download:hover {
  background: #1a202c;
}

.resume-header {
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.resume-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.resume-header .contact {
  font-size: 0.875rem;
  color: var(--muted);
}

.resume-section {
  margin-bottom: 2rem;
}

.resume-section h2 {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.job {
  margin-bottom: 1.5rem;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.job-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.job-header h3 span {
  font-weight: 400;
}

.job-header .dates {
  font-size: 0.875rem;
  color: var(--muted);
}

.job-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.job-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.job ul {
  list-style: disc;
  margin-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.job ul li {
  margin-bottom: 0.25rem;
}

.resume-link {
  color: var(--primary);
}

.resume-link:hover {
  text-decoration: underline;
}

/* Pottery page */
.pottery-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pottery-header {
  margin-bottom: 2rem;
}

.pottery-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pottery-header p {
  color: var(--muted);
}

.pottery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pottery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pottery-item {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.pottery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.3s;
}

.pottery-item:hover img {
  transform: scale(1.05);
}

.pottery-footer {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 640px) {
  .home h1,
  .about-content h1 {
    font-size: 2.5rem;
  }

  .about-content .tagline {
    font-size: 1.25rem;
  }

  .resume {
    padding: 1.5rem;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
