/* 
  GLOBAL RESET & BASE
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Subdued Gradient Background */
  background: linear-gradient(100deg, #1a1a2e, #16213e, #0f3460);
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-top: 60px; /* To accommodate fixed navbar if added */
}

/* HEADER SECTION */
.project-header {
  text-align: center;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay */
}
.project-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.project-header p {
  font-size: 1.2rem;
  color: #d1d1d1;
}

/* SECTION HEADINGS */
section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #1abc9c;
  padding-bottom: 5px;
}

/* OVERVIEW, FEATURES, INSTALLATION, DEMO, BLOGPOST, LINKS SECTIONS */
section {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

section p, section ul, section ol {
  font-size: 1.05rem;
  color: #d1d1d1;
}

section ul, section ol {
  margin-left: 20px;
  margin-top: 10px;
}

.project-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border: 2px solid #1abc9c;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* GALLERY SECTION */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center; /* horizontally aligns images */
  margin-top: 20px;
}

.gallery figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px; /* limit figure width so they don't stretch too large */
}

.gallery figcaption {
  font-size: 0.9rem;
  color: #d1d1d1;
  margin-top: 8px;
  text-align: center;
}

/* LINKS SECTION */
#links {
  text-align: center;
  margin-top: 30px;
}

.btn {
  display: inline-block;
  background-color: #1abc9c;
  color: #ffffff;
  padding: 10px 20px;
  margin: 10px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.btn:hover {
  background-color: #16a085;
  box-shadow: 0 0 10px #1abc9c, 0 0 20px #1abc9c;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.5); /* Subtle dark overlay */
  color: #aaaaaa;
  font-size: 0.9rem;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 768px) {
  .project-header h1 {
    font-size: 2rem;
  }
  .project-header p {
    font-size: 1rem;
  }
  section h2 {
    font-size: 1.5rem;
  }
  section p, section ul, section ol, .btn {
    font-size: 1rem;
  }
  .gallery figure {
    max-width: 200px;
  }
}

