/**
 * Give Page Styles
 * Consistent with Contact Us page hero styling
 */

/* Container */
.give-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Thanks Section */
.give-thanks {
  padding: 30px 20px;
  margin-bottom: 15px;
}

.thanks-card {
  background: white;
  padding: 40px 50px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.thanks-card p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-gray-900);
  margin: 0 0 20px 0;
}

.thanks-card .thanks-intro {
  margin-bottom: 20px;
}

.thanks-card .thanks-methods {
  margin-bottom: 20px;
}

.thanks-card .thanks-footer {
  margin-bottom: 0;
}

/* Ways to Give Section */
.ways-to-give {
  padding: 20px 20px 60px;
  background: white;
}

.ways-to-give h2 {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 50px;
}

.giving-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.giving-method {
  text-align: center;
}

.method-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.method-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.giving-method h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.giving-method p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-gray-900);
  margin-bottom: 15px;
}

.giving-method p strong {
  color: var(--color-accent);
  font-weight: 600;
}

.giving-method .text-instructions {
  font-size: 0.95rem;
  color: var(--color-gray-900);
}

/* Give Button */
.give-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-tertiary-cyan) 100%);
  color: var(--color-primary) !important;
  text-decoration: none;
  border-radius: 5px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  margin-top: 10px;
}

.give-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 145, 77, 0.3);
}

/* Church Center App Section */
.church-center-app {
  background: var(--color-white);
  padding: 60px 20px;
}

.app-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.app-instructions h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.app-instructions p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-gray-900);
  margin-bottom: 15px;
}

.app-instructions ol {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-gray-900);
  margin: 20px 0;
  padding-left: 25px;
}

.app-instructions ol li {
  margin-bottom: 0;
}

.app-instructions strong {
  color: var(--color-primary);
  font-weight: 600;
}

.app-instructions .app-footer {
  margin-top: 20px;
  margin-bottom: 0;
}

/* Video Section */
.app-video h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-align: center;
}

.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: var(--color-black);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.play-button-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 145, 77, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button-overlay {
  background: rgba(255, 145, 77, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
  color: white;
  font-size: 32px;
  margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 968px) {
  .give-hero h1 {
    font-size: 3rem;
  }

  .giving-methods-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .app-content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .method-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .give-hero {
    padding: 80px 20px 60px;
  }

  .give-hero h1 {
    font-size: 2.5rem;
  }

  .give-thanks h2 {
    font-size: 2rem;
  }

  .ways-to-give h2 {
    font-size: 2.25rem;
  }

  .giving-method h3 {
    font-size: 1.5rem;
  }

  .app-instructions h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .give-hero h1 {
    font-size: 2rem;
  }

  .method-image {
    height: 200px;
  }
}
