* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: sans-serif;
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
}
header {
  background: linear-gradient(90deg, #d32f2f, #b71c1c);
  color: white;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
header h2 {
  font-size: 1.5rem;
  font-weight: 400;
}
main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}
section {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
h2 {
  color: #590606;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1rem;
}
a {
  color: #d32f2f;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #b71c1c;
  text-decoration: underline;
}
.social-posts {
  display: grid;
  gap: 1rem;
}
.post-card {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  transition: transform 0.2s;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
footer {
  background: #333;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
}
footer a {
  color: #ff5555;
}
footer a:hover {
  color: #ffffff;
}
/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
  border: 1px solid #ddd;
  display: block;
  aspect-ratio: 3 / 4;
}
.gallery img:hover {
  transform: scale(1.05);
}
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.lightbox.active {
  display: flex;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  background: none;
  color: white;
  font-size: 3rem;
  border: none;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  padding: 0 1rem;
  z-index: 1001;
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}
.prev-btn:hover, .next-btn:hover {
  color: #d32f2f;
}
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  header h2 {
    font-size: 1.2rem;
  }
  section {
    padding: 1.5rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}
