/* ============================================================
   Kingdom Connects — CHURCH COMPONENTS
   Scope: church.html
   Purpose: Church profile page activity items and components
   ============================================================ */

/* Hero image for church profile */
.church-hero-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* Welcome message styling */
.welcome-message {
  background: rgba(212, 175, 55, 0.1);
  border-left: 3px solid var(--gold);
  padding: 1rem;
  margin-top: 1rem;
  font-style: italic;
  border-radius: 4px;
}

/* Contact info grid */
.contact-info-grid {
  display: grid;
  gap: 0.75rem;
}

.contact-info-grid .contact-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info-grid .contact-row svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold);
}

/* Social media links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text-color);
  transition: background 0.2s;
}

.social-link:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Service times list */
.service-times-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-times-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.service-times-list li:last-child {
  border-bottom: none;
}

.service-times-list .service-name {
  font-weight: 600;
  color: var(--gold);
}

.service-times-list .service-time {
  color: rgba(255,255,255,0.8);
}

/* Activity/Event items on church profile pages */
.activity-item {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--gold);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.activity-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0;
}

.activity-date {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  white-space: nowrap;
}

.activity-description {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin: 0.75rem 0 0 0;
}

.church-message-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.5rem 0;
}

.church-message-date {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1rem 0;
}

/* Additional activity styling */
.activity-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.activity-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.activity-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.badge-recurring {
  background: rgba(33, 150, 243, 0.2);
  color: #2196f3;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Share buttons for church profiles */
.share-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.share-facebook {
  background: #1877f2;
  color: white;
}

.share-facebook:hover {
  background: #145dbf;
}

.share-twitter {
  background: #1da1f2;
  color: white;
}

.share-twitter:hover {
  background: #0d8bd9;
}

.share-email {
  background: #666;
  color: white;
}

.share-email:hover {
  background: #555;
}

.share-whatsapp {
  background: #25d366;
  color: white;
}

.share-whatsapp:hover {
  background: #1ebe57;
}

/* Card dividers for church profile page */
.church-card-divider {
  border: none;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  margin: 0;
}

/* Mobile share buttons - icon only */
@media (max-width: 768px) {
  .share-btn {
    padding: 0.75rem;
    font-size: 0;
  }
  
  .share-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   Periodic Message Cards & Badges
   ======================================== */
.message-card {
  margin-bottom: 1rem;
}

.message-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.message-header {
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.message-content {
  color: rgba(255,255,255,0.9);
}

.history-card {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--gold);
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-radius: 4px;
}

.history-title {
  font-weight: 600;
  color: var(--gold);
}

.history-excerpt {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.badge-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-daily {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.badge-weekly {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.badge-monthly {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.badge-quarterly {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.badge-yearly {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.badge-one_time {
  background: rgba(107, 114, 128, 0.2);
  color: #9ca3af;
}

.badge-audience {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.text-sm {
  font-size: 0.875rem;
}

/* ========================================
   Announcements & Events (Public Page)
   ======================================== */
.announcement-item,
.event-item {
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--gold);
  padding: 1.25rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.announcement-item:last-child,
.event-item:last-child {
  margin-bottom: 0;
}

.announcement-title,
.event-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.5rem 0;
}

.announcement-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem 0;
}

.event-header {
  margin-bottom: 0.5rem;
}

.event-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.event-image {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}
