html {
  overflow-x: hidden;
}

body {
  font-family: 'Lora', serif;
  color: #2B2B2B;
  background-color: #F8F6F1;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  font-weight: normal;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

nav a {
  color: #2B2B2B;
  text-decoration: none;
}

nav a:hover {
  color: #84894A;
  text-decoration: underline;
}

/* Gallery page specific styles - only for the actual gallery page */
.gallery-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.gallery-page .gallery-image {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.gallery-page .gallery-image:hover {
  transform: scale(1.02);
}

.gallery-page .gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-page .gallery-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.gallery-page .gallery-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 246, 241, 0.95);
  color: #2B2B2B;
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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