@charset "UTF-8";
/* CSS Document */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 50px; 
padding-bottom: 10px; 
padding-left:10px;
padding-right:10px;  
  background-color: white;
  font-family: Arial, sans-serif;
}

nav {
  width: 100%;
  background-color: rgba(0, 0, 0, 0); /* transparent */
  color: black;
  padding: 0.5rem 1.2rem; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  font-family:"Times New Roman", "serif"; 
   font-size: 1.1rem;
}

.logo {
  flex: 1;
  font-weight:none;
  font-size: 1.4rem;
}

nav ul {
  flex: 2;
  display: flex;
  justify-content: center;  /* ✅ center the links */
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
transform: translateX(-25%); /* <<< shift a little to the left */
}

nav a {
  color: black;
  text-decoration: none;
  font-weight: none;
}

nav a.active {
  border-bottom: 1px solid black; 
  padding-bottom: 5px;            
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  gap: 10px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
	transition: transform 0.4s ease, z-index 0.4s;
  z-index: 1;
	
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block; 
  transition: transform 0.4s ease;
  
}

.gallery-item:hover {
  transform: scale(1.1);
  z-index: 10; /* bring above surrounding images */
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* translucent black */
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0px;
}

.gallery-item:hover img {
  transform: scale(1.05); /* optional zoom-in */
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item:hover .overlay-text {
  opacity: 1;
  transform: translateY(0);
}


.hover-text {
  position: absolute;
  top: 10px;  /* change to top: 10px; for top corner */
  left: 10px;
  background: rgba(0, 0, 0, 0.0);
  color: white;
  padding: 6px 10px;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  border-radius: 0px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover .hover-text {
  opacity: 1;
}

/* Uneven sizing */
.landscape {
  grid-row: span 1;
  grid-column: span 2; 
  aspect-ratio: 16 / 9;
}

.portrait {
  grid-row: span 3; /*3 2*/
  grid-column: span 2; 
  aspect-ratio: 3 / 4;
	
}

.square {
  grid-row: span 2;
	grid-column: span 2;
  aspect-ratio: 1 / 1;
}

