/* === Global Styles === */
body {
  font-family: 'Baloo 2', cursive;
  margin: 0;
  padding: 0;
  background: #fff8f0;
  color: #333;
  font-size: 16px;
}

.title-text {
  font-size: 28px;
  color: #fff8f0;
  font-weight: bold;
  text-shadow: 1px 1px 2px #000;
}

/* === Header and Navigation === */
header {
  background-color: #ff6f00;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* === Footer === */
footer {
  background-color: #ff6f00;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Section */
.gallery-section {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: rgba;
}

/* Filter Buttons */
.filter-buttons {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  padding: 10px 20px;
  background-color: #e85d04;
  border: none;
  color: white;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  background-color: #d62828;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Card Styles */
.gallery-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
}

.gallery-card:hover {
  transform: scale(1.03);
}

/* Media */
.gallery-card img,
.gallery-card iframe {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

/* Responsive Video */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons button {
    flex: 1 1 45%;
  }
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}