/* Frontend Styles for Football Player Profiles */

.player-profile-card {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  flex-wrap: wrap;
}

.player-photo {
  flex: 0 0 300px;
}

.player-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.player-info {
  flex: 1;
  min-width: 300px;
}

.player-name {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #333;
}

.player-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.player-detail {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: white;
  border-radius: 4px;
  border-left: 3px solid #0073aa;
}

.player-detail .label {
  font-weight: 600;
  color: #555;
}

.player-detail .value {
  color: #333;
}

.player-social-links {
  margin-top: 2rem;
}

.player-social-links h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #0073aa;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: #005177;
  color: white;
}

.social-link.instagram {
  background: #e4405f;
}

.social-link.instagram:hover {
  background: #c13584;
}

.social-link.twitter {
  background: #1da1f2;
}

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

.social-link.facebook {
  background: #1877f2;
}

.social-link.facebook:hover {
  background: #0d65d9;
}

.social-link.youtube {
  background: #ff0000;
}

.social-link.youtube:hover {
  background: #cc0000;
}

/* Players Grid (for shortcode) */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.player-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.player-card-image {
  display: block;
  overflow: hidden;
}

.player-card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.player-card:hover .player-card-image img {
  transform: scale(1.05);
}

.player-card-content {
  padding: 1.5rem;
}

.player-card-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.player-card-content h3 a {
  color: #333;
  text-decoration: none;
}

.player-card-content h3 a:hover {
  color: #0073aa;
}

.player-position {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .player-profile-card {
    flex-direction: column;
  }

  .player-photo {
    flex: 1 1 100%;
  }

  .player-details {
    grid-template-columns: 1fr;
  }

  .players-grid {
    grid-template-columns: 1fr;
  }
}
