/* project-web-banner.css */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fafafa;
  margin: 0;
  padding: 0;
}

main.container {
  max-width: 900px;
  margin: 3rem auto 4rem;
  padding: 0 1rem;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

p.description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-images img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}

.project-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.btn-back {
  display: inline-block;
  background-color: #D32F2F;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  transition: background-color 0.3s ease;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 180px;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
}

.btn-back:hover {
  background-color: #a52727;
  box-shadow: 0 6px 18px rgba(165, 39, 39, 0.7);
}
.enlargeable {
  cursor: zoom-in;
  transition: 0.3s ease;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


p{
  text-align: center;
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  p.description {
    font-size: 1rem;
  }

  .btn-back {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
