/* ============================================
   Bethel Presbyterian Church /give Stylesheet
   ============================================ */

/* ---------------------
   Intro Section
   --------------------- */
.give-intro {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
  text-align: center;
  font-family: 'Goudos', serif;
  background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  animation: sectionFadeIn 1s ease-out forwards;
}
@keyframes sectionFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------
   Give Logo Link Styling
   --------------------- */
.give-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.give-logo a {
  display: inline-block;
  cursor: pointer; /* signals it's clickable */
  text-decoration: none;
}

.give-logo img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  opacity: 0;
  transform: translateY(-10px);
  animation: logoFadeIn 1s ease-out forwards;
  animation-delay: 0.2s;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.give-logo a:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(0,128,0,0.4));
}

@keyframes logoFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------
   Headings
   --------------------- */
.give-intro h2 {
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.give-intro h3 {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ---------------------
   QR Code
   --------------------- */
.give-qr img {
  max-width: 220px;
  height: auto;
  margin: 2rem auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.give-qr img:hover {
  transform: scale(1.05);
}

/* ---------------------
   Funds List
   --------------------- */
.give-funds {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.fund-item {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fund-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.fund-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}
.fund-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
.fund-item a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}
.fund-item a:hover {
  text-decoration: underline;
}

/* ---------------------
   Action Button
   --------------------- */
.action-button {
  display: inline-block;
  font-family: 'Goudos', serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 30px;
  padding: 0.8rem 1.6rem;
  margin-top: 2rem;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 0 8px rgba(0,128,0,0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  animation: buttonFadeIn 1s ease-out forwards;
  animation-delay: 0.6s;
}
.action-button a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.action-button img.button-icon {
  width: 24px;
  height: auto;
}
.action-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25), 0 0 12px rgba(0,128,0,0.4);
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
}
.action-button::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.action-button:hover::after {
  width: 200%; height: 200%;
}
.action-button:disabled {
  background: var(--light-gray);
  color: var(--dark-gray);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
@keyframes buttonFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
