/* ============================================================
   CSS CUSTOM PROPERTIES — Minimal dark theme
   ============================================================ */
:root {
  --bg:          #ffffff;
  --text:        #111111;
  --text-muted:  #111111;
  --accent:      #111111;
  --border:      #cccccc;
  --radius:      0px;
  --max-width:   900px;
  --nav-height:  60px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }
ul  { list-style: none; }
li  { list-style: none; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 32px 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  display: inline-block;
  color: var(--accent);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo {
  display: none;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  text-decoration: none;
}
.btn:hover {
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px 32px;
  margin-top: var(--nav-height);
}

.hero-content {
  max-width: 700px;
}

.profile-section {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.profile-image {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent);
  background: #e8e8e8;
}

#hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--accent);
}

.tagline {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-description {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  border: 2px solid var(--text);
  width: fit-content;
  margin: 0 auto;
}

.hero-buttons .btn {
  border: none;
  padding: 10px 20px;
}

.btn-divider {
  color: var(--border);
  font-size: 1.1rem;
  user-select: none;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  background: #f9f9f9;
}

.about-content {
  max-width: 800px;
}

.about-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1rem;
  color: var(--text);
}

.about-meta {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   SKILLS
   ============================================================ */
#skills {
  background: #ffffff;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 800px;
}

.skill-item {
  background: #f9f9f9;
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   EDUCATION
   ============================================================ */
#education {
  background: #f9f9f9;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.education-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.education-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #e8e8e8;
}

.education-card-body {
  padding: 16px;
}

.education-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.education-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
#experience {
  background: #ffffff;
}

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
}

.experience-card {
  background: #f9f9f9;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
}

.experience-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.experience-meta {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.experience-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
}

.project-block {
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
  background: #fafafa;
}

.project-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-block ul {
  margin: 16px 0;
  padding-left: 20px;
}

.project-block li {
  margin: 8px 0;
  color: var(--text);
  line-height: 1.6;
}

.project-tech {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 12px;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: #f9f9f9;
}

.contact-intro {
  color: var(--text);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

.contact-details li {
  margin: 0;
}

.contact-details a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
}

.contact-details a:hover {
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #f9f9f9;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  #hero {
    min-height: 40vh;
    padding: 40px 24px 24px;
  }
  
  #hero h1 {
    font-size: 1.8rem;
  }

  .profile-image {
    width: 100px;
    height: 100px;
  }
  
  .section-title {
    font-size: 1.25rem;
  }

  .education-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 540px) {
  .nav-container {
    padding: 0 16px;
    gap: 20px;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-link {
    font-size: 0.75rem;
  }

  #hero {
    min-height: 30vh;
    padding: 32px 16px 16px;
  }
  
  #hero h1 {
    font-size: 1.5rem;
  }

  .profile-image {
    width: 80px;
    height: 80px;
  }

  .project-links {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }

  .education-grid {
    grid-template-columns: 1fr;
