* {
  box-sizing: border-box;
}

body {
  font-family: Georgia, serif;
  background: #fffbe3;
  color: black;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 20px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, black, rgba(0, 0, 0, 1) 75px, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 225px, black 225px);
  border-image-slice: 1;
  height: 60px;
  flex-shrink: 0;
}

.logo img {
  max-width: 265px;
  height: auto;
}

/* === Navigation === */
.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links a {
  text-decoration: underline;
  color: inherit;
  font-size: 1rem;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  background-color: #e5e5e5;
  border-color: black;
}


.mobile-menu-toggle {
  display: none;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  background-color: black;
  color: white;
  border-radius: 4px;
}

.mobile-dropdown {
  display: none;
  flex-direction: column;
  background-color: white;
  border: 1px solid #aaa;
  margin: 10px 20px;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  top: 70px;
  right: 20px;
  z-index: 999;
}

.mobile-dropdown a {
  padding: 8px 0;
  text-decoration: underline;
  color: black;
}

.mobile-dropdown.show {
  display: flex;
}

@media screen and (max-width: 800px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .portfolio-item img {
    height: 200px;
  }
}

/* === Portfolio Layout === */
.page-content {
  text-align: center;
  padding: 20px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}


.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 280px; /* or match the tallest image’s height */
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.portfolio-item .label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.9em;
  text-transform: uppercase;
}

.portfolio-item:hover {
  transform: scale(1.03);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px black;
}

#closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.lightbox.hidden {
  display: none;
}


/* === Footer === */
.disclaimer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #333;
  margin-top: auto;
}
