/* Youth Portal Styles */
.youth-intro {
  text-align: center;
  margin: 2rem auto;
  max-width: 800px;
}

.youth-links .link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
  max-width: 960px;
}

.link-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.link-card .card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
  transition: transform 0.4s ease;
}

.link-card:hover .card-icon {
  transform: scale(1.2) rotate(5deg);
}

.link-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #6c3483;
}

.link-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}
/* Youth Portal Styles - Green Palette */

/* Intro Header */
/* Intro Header with Gradient Accent */
.intro-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

/* Subtle animated gradient shift */
@keyframes gradientShift {
  0% {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  }
  100% {
    background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
  }
}

.intro-header {
  animation: gradientShift 12s ease-in-out infinite alternate;
}

/* Logo */
.intro-logo {
  width: 100px;
  height: auto;
  flex-shrink: 0;
  transition: transform 0.6s ease;
}
.intro-logo:hover {
  transform: scale(1.15) rotate(6deg);
}

/* Heading */
.intro-heading {
  font-family: 'Nunito', 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}
.intro-heading:hover {
  transform: translateY(-2px);
}

.intro-heading:hover {
  color: var(--primary-green-dark);
  transform: translateY(-2px);
}

/* Intro Paragraphs */
.intro-paragraph {
  max-width: 700px;
  margin: 1rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  background: var(--light-gray);
  border-left: 4px solid var(--primary-green);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.intro-paragraph:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.youth-conclusion {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.youth-conclusion h2 {
  color: var(--primary-green);
  text-align: center;
  margin-bottom: 1.5rem;
}

.youth-group, .sunday-school, .youth-contact {
  margin-bottom: 1.5rem;
}
/* Worship Guide Button with Icon */
.youth-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}
.youth-link:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
}
.youth-link .link-icon {
  width: 20px;
  height: 20px;
}

/* Responsive Gallery */
.youth-gallery {
  margin-top: 2rem;
}
.youth-gallery h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-green);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.05);
}
