
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  color: #333;
}
header {
  background-color: #0a192f;
  color: white;
  text-align: center;
  padding: 20px;
}
header a {
  color: #00ffcc;
  text-decoration: none;
}
#projects {
  padding: 20px;
  text-align: center;
}
.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.project-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  cursor: pointer;
  transition: transform 0.2s;
}
.project-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card h3,
.project-card p {
  margin: 0;
  color: inherit;
}
.project-card:hover {
  transform: scale(1.03);
}
.project-card img {
  max-width: 100%;
  height: 100px;
  object-fit: contain;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  text-align: center;
}
.modal-content img {
  max-width: 100%;
  margin: 10px 0;
  border-radius: 4px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.apk-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.apk-button:hover {
  background: #005fa3;
}
.screenshot-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.scroll-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  transition: background-color 0.2s ease;
}

.scroll-btn:hover {
  background-color: #0056b3;
}

.scroll-btn.left {
  margin-right: 10px;
}

.scroll-btn.right {
  margin-left: 10px;
}

.screenshot-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.scroll-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  transition: background-color 0.2s ease;
}

.scroll-btn:hover {
  background-color: #0056b3;
}

.scroll-btn.left {
  margin-right: 10px;
}

.scroll-btn.right {
  margin-left: 10px;
}

.screenshots {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
}

.screenshots img {
  flex: 0 0 auto;
  width: 150px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  scroll-snap-align: center;
  transition: transform 0.2s ease;
}

.screenshots img:hover {
  transform: scale(1.05);
}
/* Lightbox overlay */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#lightbox span {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
