/* ✨ Elegant Dark Theme with Gold Accents */
:root {
  --bg: #0b0d10;
  --card: #151921;
  --text: #eaeaea;
  --muted: #b3b3b3;
  --accent: #f6c74b; /* Soft gold accent */
  --accent-light: #ffdc75;
  --border: rgba(255, 255, 255, 0.07);
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

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

/* Body and Global */
body {
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(180deg, #0b0d10 0%, #0d1117 100%);
  color: var(--text);
  line-height: 1.7;
  padding-bottom: 50px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(11, 13, 16, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 100;
}

header div {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* Navigation */
nav a {
  color: var(--text);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

nav a:hover::after {
  width: 100%;
}

/* Container */
.container {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Headings */
h1 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.5px;
}

h2 {
  margin-top: 30px;
  margin-bottom: 14px;
  font-size: 1.4rem;
  color: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding-left: 10px;
}

p {
  color: var(--muted);
  margin-bottom: 14px;
}

/* Cards */
.card {
  background: linear-gradient(180deg, #13161c 0%, #0f1217 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  padding: 24px;
  margin-bottom: 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(246, 199, 75, 0.15);
}

/* Project Blocks */
.proj {
  margin-bottom: 24px;
}

.proj h3 {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.proj p {
  color: var(--muted);
  margin-bottom: 10px;
}

.proj img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.proj img:hover {
  transform: scale(1.03);
  filter: brightness(1.15);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #111;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  margin-top: 6px;
  box-shadow: 0 3px 8px rgba(246, 199, 75, 0.25);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 199, 75, 0.35);
}

/* Footer */
footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 30px;
  padding: 20px;
  border-top: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.7);
  backdrop-filter: blur(6px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card, h1, h2, p {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 720px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    display: inline-block;
    margin: 6px 10px;
  }

  h1 {
    font-size: 1.8rem;
  }
}

