:root {
  --bg: #610909;      /* Your dusty rose background */
  --text: #ffffff;    
  --muted: #e0e0e0;
  --primary: #064fc5; 
  --card: #4405059c;    /* Dark card color for the boxes */
  --border: rgba(192, 4, 4, 0.1);
}

[data-theme="dark"] {
  --bg: #a59191;
  --text: #e8e8e8;
  --muted: #a1a1a1;
  --primary: #3b82f6;
  --card: #241c1a;
  --border: #8d1111;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* --- NEW: The Boxed Card Style --- */
.content-card {
  background: var(--card); /* Dark box as requested */
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 15px 35px zrgba(167, 6, 6, 0.541);
  width: 100%;
}

/* Nav */
header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
nav { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { font-weight: 700; font-size: 1.25rem; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; }

/* Images */
.hero-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 20px;
  justify-self: center;
}

.about-grid img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
}

.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.project-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
  gap: 1.5rem;
}

/* Grids */
.hero-grid, .about-grid {
  display: grid; 
  grid-template-columns: 1fr 1.2fr; 
  gap: 2rem; 
  align-items: center;
  padding: 4rem 0;
}

/* Buttons */
.btn {
  display: inline-block; padding: 0.75rem 1.5rem;
  background: var(--primary); color: white; text-decoration: none;
  border-radius: 8px; font-weight: 600; margin-top: 1rem;
}
.btn-secondary { background: #000000; border: 1px solid var(--border); color: #fff; margin-left: 10px; }

/* Skills Section - Dark Pill Shape */
.skills { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.skill { 
  background: #12141a; 
  color: var(--primary); 
  padding: 0.6rem 1.2rem; 
  border-radius: 50px; 
  font-size: 0.85rem; 
  border: 1px solid var(--border); 
}

/* Sections */
section { padding: 5rem 0; }
h2 { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; }
span { color: var(--primary); }

.containers { justify-self: center;
 padding: 0.75rem 1.5rem;
 background: var(--primary); color: white; text-decoration: none;
 border-radius: 1px; font-weight: 600;
 width: 100%;
}
/* Mobile */
@media (max-width: 768px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; text-align: center; }
  .nav-links { display: none; }
  .content-card { padding: 1.5rem; }
}
