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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #050505;
  color: white;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.88),
      rgba(0, 0, 0, 0.94)),
    url("assets/site-bg.jpg") center center no-repeat;
  background-size: 75%;
  opacity: 0.18;
  z-index: -1;
}

.logo-container {
  margin-bottom: 25px;
}

.logo {
  max-width: 220px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.86)),
    url("assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 800px;
  color: #cccccc;
  line-height: 1.6;
  font-size: 18px;
}

.hero-tags {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 800px;
}

.hero-stats {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
  max-width: 760px;
  width: 100%;
}

.stat-card {
  background: rgba(17, 17, 17, 0.78);
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.12);
  backdrop-filter: blur(6px);
}

.stat-card strong {
  display: block;
  color: #39ff14;
  font-size: 28px;
  margin-bottom: 8px;
}

.stat-card span {
  color: #ccc;
  font-size: 14px;
}

.hero-tags span {
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid rgba(57, 255, 20, 0.45);
  color: #39ff14;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.12);
}

.hero-actions {
  margin-top: 35px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.primary-button,
.secondary-button {
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.25s;
}

.primary-button {
  background: linear-gradient(180deg, #39ff14, #18c800);
  color: #111;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.35);
}

.secondary-button {
  background: linear-gradient(180deg, #39ff14, #18c800);
  color: #111;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.35);
}

.primary-button:hover,
.secondary-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.45);
}

.projects-section,
.skills-section {
  position: relative;
  z-index: 1;
}

.projects-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 20px;
}

.projects-section h2,
.skills-section h2 {
  text-align: center;
  color: #ffd700;
  font-size: 40px;
}

.projects-section h2 {
  margin-bottom: 50px;
}

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

.project-card {
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(6px);
  border-radius: 24px;
  padding: 30px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
}

.project-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #0a0a0a;
  border-radius: 18px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.12);
  transition: 0.3s;
}

.project-card:hover .project-image {
  transform: scale(1.02);
}

.project-card h3 {
  margin-bottom: 15px;
  color: #ffd700;
}

.project-card p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-list span {
  background: #222;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.project-actions {
  display: flex;
  gap: 10px;
}

.project-actions a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 12px;
  border-radius: 999px;
  font-weight: bold;
}

.project-actions a:first-child {
  background: linear-gradient(180deg, #ffd700, #ffb300);
  color: #111;
}

.project-actions a:last-child {
  border: 2px solid #ffd700;
  color: #ffd700;
}

.skills-section {
  padding: 80px 20px;
  text-align: center;
}

.skills-section h2 {
  margin-bottom: 35px;
}

.skills-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.skills-list span {
  background: rgba(17, 17, 17, 0.88);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 12px 18px;
  border-radius: 999px;
}

.site-footer {
  padding: 70px 20px 40px;
  text-align: center;
  background: rgba(0, 0, 0, 0.78);
  border-top: 1px solid rgba(57, 255, 20, 0.25);
  backdrop-filter: blur(8px);
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  width: 130px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.45));
}

.footer-title {
  color: #39ff14;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
}

.footer-subtitle {
  color: #ccc;
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.footer-links a {
  color: #39ff14;
  text-decoration: none;
  border: 1px solid rgba(57, 255, 20, 0.4);
  padding: 10px 18px;
  border-radius: 999px;
  transition: 0.25s;
}

.footer-links a:hover {
  background: #39ff14;
  color: #111;
  transform: translateY(-2px);
}

.footer-copy {
  color: #777;
  font-size: 14px;
}

@media (max-width: 768px) {
  body::before {
    background-size: 120%;
    opacity: 0.12;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .projects-section h2,
  .skills-section h2 {
    font-size: 30px;
  }

  .project-actions {
    flex-direction: column;
  }
}