@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #FF5F6D 0%, #FFC371 100%);
    /* Fallback */
    --brand-gradient: linear-gradient(135deg, #c74c4a 0%, #6b2c45 100%);
    /* Based on image analysis - deep red to purple/dark */
    --text-color: #333;
    --text-light: #fff;
    --bg-color: #f4f7f6;
    --card-bg: #fff;
    --font-main: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.card {
    background: var(--card-bg);
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}

/* Header Background - matching reference card style */
.header {
    background: var(--brand-gradient);
    height: 120px;
    position: relative;
    display: flex;
    /* For logo if needed later */
    justify-content: flex-end;
    align-items: flex-start;
    padding: 15px 20px;
}

/* Site link in header top right similarly to card? Optional, or just decorative */
.header-site-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9em;
    opacity: 0.9;
}

.profile-img-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: -60px auto 10px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.info-section {
    padding: 0 20px 20px;
}

h1 {
    margin: 10px 0 5px;
    font-size: 26px;
    color: var(--text-color);
    font-weight: 700;
}

p.role {
    color: #666;
    margin: 0 0 35px;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-details {
    text-align: left;
    margin-bottom: 25px;
    padding: 0 10px;
    font-size: 14px;
    color: #444;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.contact-item span.icon {
    margin-right: 12px;
    font-size: 1.2em;
    min-width: 25px;
    text-align: center;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #c74c4a;
}

.btn-container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* Primary Button - Add to Contacts */
.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* WhatsApp Outline Button */
.btn-whatsapp {
    background-color: #fff;
    border: 2px solid #25D366;
    color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #25D366;
    color: white;
}

/* Generic Outline */
.btn-outline {
    background-color: white;
    border: 2px solid #333;
    color: #333;
}

.btn-outline:hover {
    background-color: #333;
    color: white;
}

/* Secondary / Website / LinkedIn */
.btn-secondary {
    background: linear-gradient(135deg, #f5f5f5 0%, #dcdcdc 100%);
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.vcard-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Footer aesthetic element from card */
.footer-logo {
    margin-top: 30px;
    opacity: 0.8;
}

@media (max-width: 380px) {
    .card {
        border-radius: 0;
        height: 100vh;
        max-width: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}