/* General */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #0a0a0a;
  color: #0ff;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Header */
header {
  padding: 30px;
}
header h1 {
  font-size: 28px;
  color: #ff00ff;
  text-shadow: 0 0 8px #ff00ff, 0 0 20px #ff00ff;
}

/* About Me */
.about-box {
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  background: #111;
  border-radius: 12px;
  border: 2px solid #0ff;
  box-shadow: 0 0 15px #0ff;
}
.about-box h2 {
  font-size: 20px;
  color: #ff33cc;
  text-shadow: 0 0 8px #ff33cc, 0 0 15px #ff33cc;
}
.about-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #0ff;
  text-shadow: 0 0 6px #0ff;
}

/* Social Links */
.social-links a {
  margin: 0 15px;
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.social-links a:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px #ff00ff);
}

/* Projects Section */
.projects {
  max-width: 900px;
  margin: 40px auto;
}
.projects h2 {
  font-size: 22px;
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
  margin-bottom: 20px;
}

/* Project Grid */
.project-grid {
  display: flex;              /* use flexbox */
  gap: 20px;                  /* spacing between cards */
  justify-content: center;    /* center all cards */
  align-items: stretch;       /* make all cards equal height */
  flex-wrap: wrap;            /* wrap to next line on smaller screens */
  max-width: 1200px;
  margin: 40px auto;
}


/* Project card - smaller & centered */
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* push text to bottom if needed */
  width: 300px;                  /* consistent width */
  border: 2px solid #0ff;
  border-radius: 12px;
  background: #222;
  text-decoration: none;
  color: #0ff;
  padding: 15px;
  box-shadow: 0 0 10px #0ff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 2px solid #0ff;
}

.project-card h3 {
  font-size: 16px;
  color: #ff33cc;
  margin: 8px 0;
}

.project-card p {
  font-size: 12px;
  color: #0ff;
}

/* Hover glow effect */
.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #ff00ff;
}


/* Project Grid Layout */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* responsive columns */
  gap: 20px;              /* space between cards */
  justify-items: center;   /* center cards in grid */
  margin: 40px auto;       /* top/bottom spacing */
  max-width: 1200px;       /* prevent grid from stretching too much */
}


/* Footer */
footer {
  padding: 20px;
  background: #111;
  border-top: 2px solid #0ff;
  color: #0ff;
  font-size: 12px;
}

/* Container for image + description */
.project-container {
  display: flex;
  flex-direction: column; /* mobile */
  align-items: center;
  gap: 20px;
  max-width: 1300px;     /* slightly wider container */
  margin: 0 auto;


.project-image img {
  width: 100%;
  max-width: 500px;       /* limit image size */
  height: auto;
  border-radius: 10px;
  border: 2px solid #0ff;
  box-shadow: 0 0 12px #0ff;
}

.project-description {
  text-align: left;
  color: #0ff;
}

.project-description h2 {
  color: #ff33cc;
  text-shadow: 0 0 8px #ff33cc, 0 0 15px #ff33cc;
  margin-bottom: 10px;
}

.project-description p,
.project-description ul {
  font-size: 14px;
  line-height: 1.6;
}

.project-description ul li {
  margin-left: 20px;
  list-style-type: disc;
}

/* Responsive: row layout on wider screens */
@media (min-width: 800px) {
  .project-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .project-description {
    margin-left: 20px;
  }
}
