/*
Theme Name: Business Card
Theme URI:
Author:
Author URI:
Description: A simple one-page business card theme. Built as a minimal foundation you can grow into a full WordPress site later (add pages, a blog, plugins) without starting over.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: business-card
*/

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6ff;
  --card-bg: #ffffff;
  --border: #e6e8f2;
  --text: #1f2333;
  --text-muted: #667085;
  --accent: #4f46e5;
  --accent-dark: #4338ca;
  --accent-soft: #eef0ff;
  --accent-blue: #3b82f6;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 520px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 40px -20px rgba(79, 70, 229, 0.18);
  padding: 56px 40px;
  text-align: center;
}

.card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-blue) 100%);
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
}

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

.card__name {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.card__title {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}

.card__bio {
  margin: 18px auto 0;
  max-width: 380px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.card__divider {
  width: 48px;
  height: 2px;
  background: var(--accent-soft);
  margin: 32px auto;
  border-radius: 2px;
}

.card__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.card__contact li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.card__contact a {
  color: inherit;
  text-decoration: none;
}

.card__contact a:hover {
  color: var(--accent);
}

.card__contact svg {
  flex: none;
  color: var(--accent);
}

.card__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.card__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.card__social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.card__footer {
  margin-top: 36px;
  font-size: 12px;
  color: var(--text-muted);
}

@media (max-width: 480px) {
  .card {
    padding: 40px 24px;
    border-radius: 20px;
  }

  .card__name {
    font-size: 22px;
  }
}
