/* Gallery styles */
.gallery {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.photo-row img {
  width: 25%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 10px;
  cursor: pointer;
}

.photo-row img:hover {
  transform: scale(1.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  z-index: 100;
  position: relative;
}

/* Quote animation styles */
.ml11 {
  font-weight: 400;
  font-size: 1.1rem;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.ml11 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.2em;
  padding-right: 0.05em;
  padding-bottom: 0.1em;
  overflow: hidden;
}

.ml11 .letters {
  display: inline-block;
  line-height: 1.4em;
}

/* Media queries for gallery */
/* Mobile (up to 480px) */
@media (max-width: 480px) {
  .photo-row {
    justify-content: center;
    gap: 5px;
  }
  
  .photo-row img {
    width: 30%;
    max-width: 100px;
    height: auto;
    margin: 3px;
    border-radius: 6px;
  }
  
  .photo-row img:hover {
    transform: scale(1.4);
    z-index: 100;
  }
  
  /* Quote section */
  .ml11 .letters {
    line-height: 1.8em;
  }
  
  .ml11 {
    margin-bottom: 1.5rem;
  }
}

/* Tablet (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .photo-row {
    justify-content: center;
    gap: 8px;
  }
  
  .photo-row img {
    width: 31%;
    max-width: 160px;
    height: auto;
    margin: 4px;
  }
  
  .photo-row img:hover {
    transform: scale(1.45);
    z-index: 100;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
}

/* Large desktop screens */
@media (min-width: 1200px) {
  .photo-row img {
    width: 22%;
    max-width: 220px;
  }
} 