:root {
  --bg-color: #000000;
  --card-bg: #111111;
  --text-main: #ffffff;
  --text-muted: #bdbdbd;
  --maroon: #6e000b;
  --maroon-hover: #8f0010;
  --accent: #e5394d;
  --accent-hover: #8f0010;
  --border-color: #3a0a10;
  --font-family: Arial, sans-serif;
  --max-width: 1100px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 3px;
  background-color: var(--maroon);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: var(--maroon);
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--maroon-hover);
  color: #fff;
  transform: translateY(-2px);
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--maroon);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #fff;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #ffb3bb;
}

#hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
}

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

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.project-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--maroon-hover);
}

.project-image {
  width: 100%;
  height: 200px;
  background-color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
}

.project-info {
  padding: 1.5rem;
}

.project-category {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.project-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.project-link {
  color: #fff;
  background-color: var(--maroon);
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.project-link:hover {
  background-color: var(--maroon-hover);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  list-style: none;
}

.skill-tag {
  background-color: var(--card-bg);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: var(--text-main);
}

footer {
  border-top: 1px solid var(--maroon);
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.footer-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 2rem;
}

.social-links a {
  color: #fff;
  background-color: var(--maroon);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--maroon-hover);
}

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .about-layout {
    grid-template-columns: 1fr;
  }
}