/* General Page Styling */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #fffdf8;
  color: #4b3f37;
  text-align: center;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header Section */
header {
  background-color: #f4ece1;
  padding: 1.2em 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

header h1 {
  color: #6b4f4f;
  font-size: 1.8em;
  margin: 0.3em 0;
}

.nav-buttons {
  margin-top: 0.5em;
}

.nav-buttons a {
  background-color: #d9b99b;
  color: white;
  text-decoration: none;
  padding: 0.6em 1.2em;
  border-radius: 8px;
  font-weight: 600;
  margin: 0.3em;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.nav-buttons a:hover {
  background-color: #b68c6b;
}

/* Gallery Section */
.gallery-section {
  padding: 2em 1em;
}

.gallery-section h2 {
  color: #6b4f4f;
  font-size: 1.6em;
  margin-bottom: 1.5em;
}

/* Gallery Grid Layout */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}

/* Each Post Item */
.gallery-item {
  width: 220px;
  background-color: #fffaf5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Post Images (fix for large resolution) */
.gallery-item img {
  width: 100%;
  height: 220px;           /* keeps all images same height */
  object-fit: cover;       /* crops without stretching */
  display: block;
  border-bottom: 2px solid #d9b99b;
}

/* Post Title */
.gallery-item p {
  margin: 0.8em 0;
  color: #6b4f4f;
  font-weight: 600;
  font-size: 0.95em;
}

/* Footer Section */
footer {
  margin-top: 3em;
  padding: 1.5em 0;
  background-color: #f4ece1;
  color: #6b4f4f;
  font-size: 0.9em;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
}
