.section {
  padding-top: 0;
  height: auto;  
}
/* Photos section styling */
.photos {
  padding-left: 10%; /* Left margin */
  padding-right: 10%; /* Right margin */
}

.photos-content {
  margin-top: 0;
  padding-top: 0;
}

.photos h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 40px;
font-weight: bold;
 color: black; 
 margin-top: -120px; 
padding-top: 20px;
}

/* Photo grid styles */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Smaller basic size */
  grid-auto-rows: 100px; /* Adjusted to match column size */
  gap: 10px;
  max-height: 600px;
  overflow-y: auto;
border: 5px solid #000000;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); 
border-radius: 10px;
}

.photo-grid div {
  background-size: cover;
  background-position: center center;
  cursor: pointer;
}
.max-width, .photos-content {
  padding-top: 0; /* Adjust or remove padding as needed */
}

/* Full-screen modal styles */
.full-screen-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000; /* High z-index to ensure it's on top */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Tinted background */
}

.full-screen-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
}

/* 'See All Images' button styles */
.see-all {
  display: block;
  width: auto; /* Adjusted to auto */
  padding: 10px;
  margin: 20px auto; /* Centered horizontally */
  text-align: center;
  background-color: #f0f0f0; /* Example color */
  color: #000; /* Example color */
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.see-all:hover {
  background-color: blue;
  color: white;
}

#imageInfo {
color: #555;
font-size: 16px;
    width: 100%;
    text-align: center;
}

/* Expanded photo grid */
.photo-grid.expanded {
  max-height: none;
}

/* Responsive grid adjustments */
@media (min-width: 600px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr); /* More columns for larger screens */
    grid-auto-rows: 150px;
  }
}

@media (min-width: 900px) {
  .photo-grid {
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (min-width: 1200px) {
  .photo-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
  }
}
