body {
  margin: 0;
  font-family: 'Pixelify Sans', sans-serif;
  color: #ffffff; 
}

.navbar {
  background-color: #ffc729; 
  padding: 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  position: relative;
}

.navbar a {
  color: #3c5169;
  text-decoration: none;
  font-size: 20px;
  flex-shrink: 1;
  font-weight: 700;
  letter-spacing: 1px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
.top-banner {
  width: 100%;
  height: auto;
  display: block;
}
.content {
  padding: 40px;
  padding-top: 20px;  
  background: linear-gradient(#546d8e, #709ad1);
  min-height: 100vh;
  box-sizing:border-box
}
.content a {
  text-decoration: none;
  color: #ffc729;
}
a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
    padding: 10px 0;
    position: relative;
    min-height: 70px;
    padding: 0 1.5rem;
  }

  .navbar a {
    font-size: 18px;
  }

  .content {
    padding: 20px;
  }

  h1 {
    font-size: 28px;
  }

  p {
    font-size: 16px;
  }
}
.btn {
  display: inline-block;
  padding: 50px 100px; 
  font-size: 3rem;   
  background: #709ad1;
  color: white;
  border-radius: 10px;
  text-decoration: none;
}


.btn:hover {
  background: #ffc729;
}

.category {
  margin-bottom: 40px;
}

.category h2 {
  font-family: 'Pixelify Sans', sans-serif;
  color: white;
  font-size: 24px;
  margin-bottom: 10px;
  border-bottom: 2px solid #ffc729;
  padding-bottom: 5px;
}

.image-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.image-row::-webkit-scrollbar {
  display: none;
}

.thumb {
  width: 200px;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
}

.lightbox {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-img {
  width: 60vw;
  max-width: 700px;
  max-height: 80vh;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 50px;
  cursor: pointer;
}

.arrow {
  color: white;
  font-size: 60px;
  cursor: pointer;
  margin: 0;
  z-index: 10000;
  padding: 12px 16px;
  border-radius: 10px;
  user-select: none;
  transform: translateY(-50%)
}

.arrow:hover,
.close:hover {
  opacity: 0.7;
}
@media (max-width: 600px) {
  .lightbox-img {
    width: 70vw;
  }

  .close {
    top: 20px;
    right: 20px;
    font-size: 40px;
  }

  .arrow {
    font-size: 40px;
    margin: 0;
  }
}
.copy-button {
  background: #ffc729;
  font-family: 'Pixelify Sans', sans-serif;
  padding: 12px 20px;
  border: 3px solid #1d2d44;
  cursor: pointer;
  font-size: 20px;
  border-radius: 4px;
}

.copy-button:hover {
  background: #ffd75e;
}

.copied-msg {
  font-family: 'Pixelify Sans', sans-serif;
  color: white;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 18px;
}
.copy-container {
  display: flex;
  align-items: center; 
  gap: 20px; 
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}


@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #709ad1;
    color: white;
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    gap: 1rem;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links a {
    color: white;
    font-size: 1.2rem;
  }

  .nav-links.show {
    display: flex; 
  }
}
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 30px;
  max-width: 1100px; 
  margin-left: auto;
  margin-right: auto;
}


.project-card {
  background: #709ad1;
  border-radius: 14px;
  padding: 20px;
  border: 4px solid #546d8e;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  gap: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card a {
  margin-top: auto;
}


.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.2);
  outline: 3px solid #ffc729;
}

.project-card img {
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.project-card h3 {
  margin: 8px 0 6px;
  color: #ffc729;
  font-size: 1.4rem;
}


.project-card a:hover {
  text-decoration: underline;
}
.project-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-info a {
  margin-top: auto;
  font-weight: 700;
  color: #fff;
}
.project-info a:hover {
  text-decoration: underline;
}


@media (max-width: 600px) {
project-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-card img {
    width: 100%;
    height: 180px;
  }
}
