/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f0f8ff; /* Light baby blue background */
  color: #2d0057; /* Deep purple text */
  line-height: 1.6;
  padding: 20px;
  background: linear-gradient(to bottom, #f0f8ff, #e3d9ff);
}

header {
  background-color: #5D00A3;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  color: #B2F0FF;
  background-color: rgba(0, 0, 0, 0.233); /* semi-transparent black */
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

header img {
  margin-bottom: 10px;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 10px;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #add8e6; /* Lighter baby blue on hover */
}

main {
  max-width: 800px;
  margin: 40px auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(106, 13, 173, 0.1);
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.logo {
  width: 120px;
  height: auto;
  margin: 10px auto;
  display: block;
}

section {
  padding: 40px 20px;
  border-bottom: 1px solid #e4e4e4;
  animation: fadeIn 0.6s ease;
}

.cta-button {
  background-color: #5D00A3;
  color: white;
  padding: 10px 24px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  display: inline-block;
}

.cta-button:hover {
  background-color: #7A1EBF;
}

.about-preview {
  background-color: #f7f0ff; /* soft lavender to complement theme */
  padding: 25px 30px;
  border-radius: 10px;
  margin: 30px 0;
  border-left: 6px solid #5D00A3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-preview img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  width: 250px;
  height: 180px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease-in-out;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.fundraiser-highlight {
  background-color: #fff8f0;
  padding: 2rem;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.fundraiser-title {
  font-size: 2rem;
  color: #7b2cbf;
  margin-bottom: 1rem;
}

.fundraiser-description {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.fundraiser-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fundraiser-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.fundraiser-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.fundraiser-gallery a:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.schedule-box {
  background-color: #fff3cd;
  color: #856404;
  padding: 1rem;
  margin-top: 1.5rem;
  border-left: 6px solid #ffc107;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
}

.fundraiser-location {
  margin-bottom: 1.5rem;
  color: #444;
}

.fundraiser-location h3 {
  color: #009688;
  margin-bottom: 0.5rem;
}

.fundraiser-btn {
  display: inline-block;
  background-color: #7b2cbf;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.fundraiser-btn:hover {
  background-color: #5a1f91;
}

.social-link {
  display: inline-block;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}


@media (max-width: 600px) {
  .construction-banner {
    display: none;
  }
}

@media (min-width: 900px) {
  main {
    max-width: 1000px;
  }

  .hero,
  .section-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 40px;
  }

  .section-card p {
    max-width: 60%;
  }
}

