/* Global */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

/* Header */
header {
  background: #4CAF50; /* Green header */
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* Logo */
.logo {
  width: 250px; /* Keep logo size unchanged */
  height: auto;
  margin-right: 15px;
}

/* Header text container */
.header-text {
  flex-grow: 1;
  text-align: left;
}

/* Heading inside header */
header h1 {
  margin: 0;
  color: white;
}

/* Navigation links */
nav {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap if needed */
  justify-content: center; /* Centers items */
}

nav a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #000;
}

nav a:hover {
  text-decoration: underline;
}

/* Main content area */
main {
  padding: 2rem;
}

/* Optional hero section */
.hero {
  background: #e2ffe2;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Example list styling */
.activities ul {
  list-style-type: circle;
  padding-left: 1.5rem;
}

/* Footer */
footer {
  text-align: center;
  background: #333;
  color: white;
  padding: 1rem;
  margin-top: 2rem;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: #ffeb3b;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Images (including the logo) */
img {
  display: block;
  margin: 1rem 0;
}

/* General styling for the gallery page */
.gallery {
  padding: 2rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Active nav styling */
nav ul li a.active {
  font-weight: bold;
  color: #007BFF;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
  header {
    flex-direction: column;  /* Stack elements vertically */
    align-items: center;       /* Center them horizontally */
  }
  
  .header-text {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
  }
  
  nav {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}
