@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,600");

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0e0e0e;
  color: #f5f5f5;
  line-height: 1.6;
}

a {
  color: #00bfff;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #1ed760;
}

h1, h2, h3 {
  color: #fff;
  font-weight: 600;
}

header {
  background: #111;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.logo-name {
  color: #fff; /* white */
  text-decoration: none;
}

.logo-name:hover {
  color: #ccc; /* optional hover */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
}

nav a:hover {
  background: rgba(255,255,255,0.1);
}

@media screen and (max-width: 600px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

section {
  padding: 80px 20px;
  text-align: center;
}

.container {
  max-width: 1000px;
  margin: auto;
}

/* ---------- Intro ---------- */
#intro {
  background: linear-gradient(135deg, #1a1a1a, #0e0e0e);
  padding: 100px 20px;
}

#intro a.button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #00bfff;
  color: #fff;
  font-weight: 600;
  transition: background 0.3s;
}

#intro a.button:hover {
  background: #1ed760;
}

/* ---------- Images ---------- */
.project-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.project-images img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.project-images img:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.8);
}

/* ---------- Post-Processing / Text ---------- */
.text-section {
  text-align: left;
  margin-top: 40px;
  color: #ccc;
}

.text-section h3 {
  margin-top: 30px;
  color: #fff;
}

.text-section p, .text-section li {
  margin-bottom: 10px;
}

.text-section ul {
  list-style: disc;
  padding-left: 20px;
}

/* ---------- Contact ---------- */
.socials {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.socials a {
  font-size: 28px;
  color: #ccc;
  transition: color 0.3s, transform 0.3s;
}

.socials a:hover {
  color: #1ed760;
  transform: scale(1.2);
}

footer {
  background: #111;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #777;
}

/* Lightbox overlay */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px); /* depth of field effect */
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2000;
}

/* Show when active */
#lightbox.active {
  visibility: visible;
  opacity: 1;
}

/* Enlarged image */
#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.9);
  animation: zoomIn 0.3s ease;
}

/* Close button */
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  transition: color 0.3s;
}
#lightbox-close:hover {
  color: #1ed760;
}

/* Zoom animation */
@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
