/* ============================================
   Business Card - Minimal Design
   ============================================ */

:root {
    --radius: 1rem;
    --background: oklch(0.98 0 0);
    --foreground: oklch(0.145 0 0);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.145 0 0);
    --primary: oklch(0.55 0.2 250);
    --muted: oklch(0.556 0 0);
    --border: oklch(0.9 0 0);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.dark {
    --background: oklch(0.1 0 0);
    --foreground: oklch(0.98 0 0);
    --card: oklch(0.14 0 0);
    --card-foreground: oklch(0.98 0 0);
    --primary: oklch(0.65 0.2 250);
    --muted: oklch(0.6 0 0);
    --border: oklch(0.25 0 0);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
}

/* Centered Card Wrapper */
.card-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Business Card */
.business-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 24px oklch(0 0 0 / 5%);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dark .business-card {
    box-shadow: 0 4px 24px oklch(0 0 0 / 30%);
}

/* Theme Toggle */
.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    color: var(--foreground);
    border-color: var(--foreground);
}

.theme-toggle i {
    font-size: 18px;
}

.theme-toggle .icon-sun {
    display: none;
}

.theme-toggle .icon-moon {
    display: block;
}

.dark .theme-toggle .icon-sun {
    display: block;
}

.dark .theme-toggle .icon-moon {
    display: none;
}

/* Card Content */
.card-content {
    text-align: center;
}

/* Avatar */
.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: 1.5rem;
    filter: grayscale(100%) brightness(1.1);
    transition: filter 0.3s ease;
}

.dark .avatar {
    filter: grayscale(100%) brightness(0.8);
}

.name {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.role {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
}

.divider {
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin: 2rem auto;
    border-radius: 1px;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--foreground);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border: 1px solid transparent;
}

a.contact-item:hover {
    background: oklch(from var(--primary) l c h / 10%);
    border-color: oklch(from var(--primary) l c h / 20%);
    color: var(--primary);
}

.contact-item i {
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item.location {
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-item.location i {
    color: var(--muted);
}

/* Responsive */
@media (max-width: 480px) {
    .business-card {
        padding: 2rem 1.5rem;
    }

    .name {
        font-size: 1.5rem;
    }
}

/* Request Section */
.request-section {
    text-align: center;
}

.request-label {
    font-size: 0.75rem;
    /* text-transform: uppercase; */
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.request-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.btn-request {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--foreground);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 80px;
}

.btn-request:hover {
    border-color: var(--primary);
    background: oklch(from var(--primary) l c h / 8%);
    color: var(--primary);
}

.btn-request i {
    font-size: 22px;
    color: var(--primary);
}

@media (max-width: 480px) {
    .request-buttons {
        gap: 0.5rem;
    }

    .btn-request {
        padding: 0.75rem 1rem;
        min-width: 70px;
        font-size: 0.75rem;
    }

    .btn-request i {
        font-size: 18px;
    }
}