:root {
  /* Option B: Warm Minimalist (Off-White) */
  --bg-color: #fdfbf7;
  /* Warm Cream */
  --text-color: #4b5563;
  /* Warm Gray */
  --heading-color: #1c1917;
  /* Stone 900 */
  --accent-color: #d97706;
  /* Amber 600 */
  --nav-bg: rgba(253, 251, 247, 0.9);
  --card-bg: #ffffff;
  /* White cards for subtle contrast */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

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

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.mb-5 {
  margin-bottom: 3rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.5rem;
  border: 2px solid var(--accent-color);
  padding: 5px 10px;
  border-radius: 4px;
}

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

.nav-link {
  color: var(--heading-color);
  font-size: 0.9rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.nav-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 120px;
  /* Added padding to clear fixed navbar */
}

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

.eyebrow {
  color: var(--accent-color);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 1rem;
  margin-bottom: 20px;
  display: block;
}

.big-heading {
  color: var(--heading-color);
  font-size: 4rem;
  margin-bottom: 10px;
}

.sub-heading {
  color: var(--text-color);
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text {
  max-width: 500px;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 1.25rem 1.75rem;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  color: var(--accent-color);
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background: rgba(100, 255, 218, 0.1);
  text-decoration: none;
}

/* About Section */
.about-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  margin-bottom: 15px;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 200px));
  gap: 10px;
  margin-top: 20px;
}

.skill-item {
  position: relative;
  padding-left: 20px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
}

.skill-item::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.profile-pic-wrapper {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

.profile-pic {
  width: 100%;
  border-radius: 4px;
  filter: grayscale(100%) contrast(1);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.profile-pic-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  z-index: 0;
  transition: var(--transition);
}

.profile-pic-wrapper:hover .profile-pic {
  filter: none;
}

.profile-pic-wrapper:hover::after {
  top: 15px;
  left: 15px;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.project-card {
  background-color: var(--card-bg);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-7px);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.folder-icon {
  color: var(--accent-color);
  font-size: 40px;
}

.project-links a {
  color: var(--text-color);
  margin-left: 10px;
}

.project-links a:hover {
  color: var(--accent-color);
}

.project-title {
  color: var(--heading-color);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 1rem;
  margin-bottom: 20px;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--text-color);
}

/* Contact Section */
.contact-section {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 100px;
}

.contact-button {
  margin-top: 50px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.8rem;
  color: var(--text-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 20px;
  }

  .big-heading {
    font-size: 3rem;
  }

  .sub-heading {
    font-size: 2rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .profile-pic-wrapper {
    margin: 50px auto 0;
  }

  .navbar .nav-links {
    display: none;
    /* Mobile menu implementation needed if interacting */
  }
}