:root {
  --primary: #d8e2dc;
  --accent: #ffcad4;
  --text: #2b2d42;
  --light: #ffffff;
  --link: #457b9d;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary);
  color: var(--text);
}

header {
  background-color: var(--accent);
  text-align: center;
  padding: 4rem 2rem;
}

header h1 {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.icons a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.6rem;
}

.resume-download {
  text-align: center;
  margin: 1.5rem 0 0;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--accent);
  color: var(--text);
  border-radius: 6px;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: background-color 0.2s;
  margin-top: 0.5rem;
}

.btn:hover {
  background-color: #f4b2bf;
}

/* ========== SECTION LAYOUT ========== */

section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
}

h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

/* ========== ABOUT SECTION ========== */

.about {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.about img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--accent);
}

.about div {
  flex: 1;
  font-size: 1.4rem;
  line-height: 1.6;
}

/* ========== PROJECTS SECTION ========== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: var(--light);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
}

.project-buttons {
  display: flex;
  gap: 1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.2rem;
}

.tech-tags span {
  background-color: #e2e6ea;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

/* ========== FOOTER ========== */

footer {
  background-color: var(--light);
  text-align: center;
  padding: 2rem;
  font-size: 1.4rem;
  color: #666;
}
