/* styles.css */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8f1e9 0%, #f5f7fa 100%);
    color: #2d2d2d;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* === LEFT COLUMN === */
.left-column {
    text-align: left;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-column {
    text-align: center;
    min-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === NAME WITH ACCENT LINE === */
.name-with-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.name-with-line h1 {
    margin: 0;
    font-size: 2.1em;
    font-weight: 800;
    line-height: 1.1;
}

.accent-line {
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, #f7931a 0%, #ff9f43 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

/* === X (TWITTER) ICON === */
.x-icon {
    transition: fill 0.2s ease;
}

.contact-link:hover .x-icon {
    fill: #f7931a;
}

/* === REST OF STYLES === */
.subtitle {
    font-size: 1.05em;
    color: #4a7c8c;
    margin: 0 0 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.profile-img {
    width: 500px;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.bio {
    font-size: 0.93em;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.52;
}

.bio:last-of-type {
    margin-bottom: 14px;
}

.connect-line {
    font-size: 0.95em;
}

.contact-link {
    color: #f7931a;
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.links {
    margin: 18px 0 0;
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.links a {
    display: inline-flex;
    padding: 12px 24px;
    background: linear-gradient(90deg, #f7931a 0%, #ff9f43 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.92em;
    transition: background 0.3s ease, transform 0.2s ease;
}

.links a:hover {
    background: linear-gradient(90deg, #e07b0f 0%, #f28c38 100%);
    transform: translateY(-2px);
}

footer {
    margin-top: 60px;
    font-size: 0.92em;
    color: #777;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

/* ================================================================== */
/* ====================== MOBILE OPTIMIZATION ====================== */
/* ================================================================== */

@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 40px;
    }

    .left-column,
    .right-column {
        text-align: center;
    }

    .left-column {
        justify-content: flex-start;
        padding-right: 0;
    }

    /* === NAME + LINE CENTERED ON MOBILE === */
    .name-with-line {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .name-with-line h1 {
        font-size: 1.9em;
    }

    .accent-line {
        width: 50px;
        height: 5px;
    }

    .subtitle {
        font-size: 1em;
    }

    .bio {
        font-size: 0.95em;
        margin-bottom: 12px;
        text-align: center;
    }

    .connect-line {
        margin-top: 20px;
        text-align: center;
        display: block;
    }

    .contact-link {
        display: inline-block;
        margin: 4px 0;
    }

    .links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .links a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        text-align: center;
    }

    .profile-img {
        width: 280px;
        height: 280px;
        max-width: 90vw;
    }

    .right-column {
        min-width: auto;
        justify-content: center;
    }

    footer {
        font-size: 0.85em;
        padding: 20px;
    }
}