/* Apple‑inspired minimalist portfolio */
/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f5f7; /* light gray similar to Apple */
  color: #1d1d1f; /* dark text */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}
/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0071e3; /* Apple blue */
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: #1d1d1f;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #0071e3;
}
/* Hero */
.hero {
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f7 100%);
  padding: 8rem 0 6rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1d1d1f;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #555;
}
.cta-button {
  display: inline-block;
  background: #0071e3;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.2s;
}
.cta-button:hover {
  background: #005bb5;
  transform: translateY(-2px);
}
/* Sections */
.section {
  padding: 4rem 0;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1d1d1f;
}
.section p {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: #333;
}
/* Projects Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.card {
  background: rgba(255,255,255,0.9);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  backdrop-filter: blur(5px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #1d1d1f;
}
.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #555;
}
.card-link {
  color: #0071e3;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.card-link:hover {
  opacity: 0.8;
}
/* Contact */
.contact a {
  color: #0071e3;
  text-decoration: underline;
}
/* Footer */
.footer {
  background: #e5e5e5;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: #555;
}
/* Responsive tweaks */
@media (max-width: 600px) {
  .hero h1 {font-size: 2rem;}
  .cta-button {padding: 0.6rem 1.2rem;}
}
