:root {
  --bg: #F6F3EE;
  --surface: #FFFFFF;
  --hero: #232734;
  --nav: #2D3240;
  --text: #1F2430;
  --muted: #5F6775;
  --accent: #C6AE7B;
  --accent-dark: #AE9461;
  --border: #E7E1D8;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.hero {
  background: var(--hero);
  color: white;
  text-align: center;
  padding: 120px 20px 90px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 84px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 18px;
}

.hero p {
  font-size: 30px;
  font-weight: 400;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 10px;
}

.hero-icons a {
  color: #ffffff;
  font-size: 34px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.hero-icons a:hover {
  transform: translateY(-3px);
  opacity: 0.9;
  color: var(--accent);
}

.navbar {
  display: flex;
  justify-content: center;
  gap: 48px;
  background: var(--nav);
  padding: 18px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.navbar a:hover {
  color: var(--accent);
  opacity: 1;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px;
}

.section h2 {
  font-family: "Playfair Display", Georgia, serif;
  text-align: center;
  font-size: 64px;
  margin: 0 0 18px;
  color: var(--text);
}

.section h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 18px auto 0;
  background: var(--accent);
  border-radius: 999px;
}

#about p,
#contact p {
  max-width: 780px;
  margin: 0 auto 16px;
  font-size: 21px;
  text-align: center;
  color: var(--muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.project-card {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  border: 1px solid var(--border);
}

.project-card-content {
  padding: 38px;
}

.project-card-content h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--text);
}

.project-card-content p {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 28px;
}

.project-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

.btn {
  padding: 16px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  display: inline-block;
}

.btn-dark {
  background: var(--hero);
  color: #ffffff;
}

.btn-dark:hover {
  background: #1A1E2A;
}

.btn-light {
  border: 2px solid var(--hero);
  color: var(--hero);
  background: var(--surface);
}

.btn-light:hover {
  background: #F1ECE3;
  border-color: var(--accent-dark);
  color: var(--text);
}

.skills-inline {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  font-size: 24px;
  line-height: 2;
  color: var(--text);
}

.bullet {
  margin: 0 12px;
  color: var(--accent);
  font-weight: 700;
}

#contact a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

#contact a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero {
    padding: 90px 20px 70px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero p {
    font-size: 22px;
  }

  .hero-icons a {
    font-size: 28px;
  }

  .navbar {
    gap: 24px;
    flex-wrap: wrap;
  }

  .section {
    padding: 68px 20px;
  }

  .section h2 {
    font-size: 44px;
  }

  .project-card-content {
    padding: 26px;
  }

  .project-card-content h3 {
    font-size: 32px;
  }

  .project-card-content p,
  #about p,
  #contact p,
  .skills-inline {
    font-size: 18px;
  }
}
