/* --- Donation Page Custom Styles --- */

.donation-images {
  transition: transform 0.2s, box-shadow 0.2s;
}
.donation-images:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,255,0,0.2);
}
body {
  font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: white;
    margin: 0;
    padding: 0;
}

/* --- Top Layout & Header --- */

.top-container {
  display: flex;
  align-items: center; /* vertically center items */
  justify-content: center; /* horizontally center items */
  gap: 15px;
  width: 100%;
}

.header {
  flex-grow: 1; /* Allows the header to take up the remaining space */
}

/* This rule specifically centers the text inside the header */
.header h1,
.header h2,
.header h3 {
  text-align: center;
  margin: 10px auto;
}

.header {
  flex-grow: 1; /* Allows the header to take up the remaining space */
}

/* --- Dropdown Menu Container --- */
.dropdown {
    position: relative; 
    display: inline-block; 
    margin: 20px;
}

/* --- The Dropdown Button --- */
.dropbtn {
    background-color: #009605;
    color: white;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

/* --- The Container for the Links (Hidden by Default) --- */
.dropdown-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background-color: #288f00;
  min-width: 200px;
  box-shadow: 0px 6px 14px 0px rgb(255, 255, 255);
  z-index: 1;
  border-radius: 5px;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* --- Styling for the Links Inside the Dropdown --- */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block; /* Makes the entire area clickable, not just the text */
    
}

/* --- Change color of dropdown links on hover --- */
.dropdown-content a:hover {
    background-color: #015000;
    transition: background-color 0.3s;
}

/* --- THE MAGIC: Show the dropdown menu when hovering over the container --- */
.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.flex-container {
  display: flex;
  justify-content: space-between; /* Pushes the left and right columns to the edges */
  align-items: center;           /* Aligns columns vertically to the center */
  width: 100%;                   /* Ensure the container takes up full width */
  box-sizing: border-box;
}

.column {
  padding: 20px;
  color: white;
  background-color: #000000;
  flex: 1; /* Allows columns to grow and share space */
  text-align: center; /* Aligns content inside each column to the center */
  display: flex;
  flex-direction: column;
  align-items: center; /* This horizontally centers the images */
  gap: 20px;
}

.column:first-child {
  text-align: left; /* Optional: specific alignment for the left column */
}

.donation-images {
  max-width: 300px; /* This caps the width at 300px */
  width: 100%;      /* This helps it stay responsive on smaller screens */
  height: 50%;     /* This maintains the correct aspect ratio */
  display: block;
  border-radius: 15px;
}

.column:last-child {
  text-align: right; /* Optional: specific alignment for the right column */
}

/* Optional: Add some space between columns for smaller screens */
@media (max-width: 900px) {
  .flex-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .column {
    width: 100%;
    padding: 10px;
    text-align: center;
  }
  .donation-images {
    max-width: 90vw;
    height: auto;
  }
  .header h1 {
    font-size: 2rem;
  }
  .header h2, .header h3 {
    font-size: 1.1rem;
  }
}
