/* Community Component Styles */
.community-section {
  padding: 60px 0;
  background: var(--bg);
}

.community-header {
  text-align: center;
  margin-bottom: 50px;
}

.community-header h3 {
  font-size: 32px;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--text);
}

.community-header p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative; /* inactive overlay için */
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.08);
  border-color: var(--border-light);
}

/* Inactive state (link yok/boş) */
.contact-item.inactive {
  filter: grayscale(0.2);
}

.contact-item.inactive::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
  border-radius: 16px;
}

.contact-item.inactive .contact-link,
.contact-item.inactive .email-link {
  background: var(--border);
  color: var(--text-muted);
  pointer-events: none;
}

.contact-item.inactive:hover {
  transform: none;
  box-shadow: none;
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-light);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.contact-info {
  flex: 1;
}

.contact-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 16px;
  line-height: 1.5;
}

.contact-link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: var(--bg);
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* E-posta Özel Stilleri */
.email-item {
  background: linear-gradient(135deg, var(--surface), var(--surface-light));
  grid-column: span 2; /* İki box yer kaplasın */
}

.email-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.email-address {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.email-address:hover {
  background: var(--surface-light);
  border-color: var(--border-light);
  color: var(--primary);
}

.email-link {
  background: var(--accent);
  color: var(--bg);
  white-space: nowrap;
}

.email-link:hover {
  background: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .email-item {
    grid-column: span 1; /* Mobilde tek box yer kaplasın */
  }
  
  .contact-item {
    padding: 20px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .contact-info h4 {
    font-size: 16px;
  }
  
  .contact-info p {
    font-size: 13px;
  }
  
  .email-section {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .email-address {
    min-width: auto;
    max-width: 100%;
    white-space: normal;
    word-break: break-all;
  }
}

@media (max-width: 768px) {
  .community-section {
    padding: 40px 0;
  }
  
  .community-header h3 {
    font-size: 28px;
  }
  
  .community-header p {
    font-size: 14px;
  }
}
