/* Bio Specific Styles */
/* These styles complement the base styles from assets/css/style.css */

body {
    background-color: var(--bg-warm);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to the very top */
    padding: 0px 15px 10px; /* colado no topo */
    position: relative;
    overflow-y: auto;
    overflow-x: hidden; 
}

body::before {
    display: none; /* Hide any inherited body background mask */
}

/* Remove inherited background colors from layout wrappers that cause square artifacts */
.bg-anim-wrapper {
    background: transparent !important;
}

.bg-anim-wrapper::after {
    display: none !important;
}

.bio-container {
    max-width: 650px;
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bio-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Safari support */
    border-radius: 40px;
    padding: 15px 30px 20px; /* Reduced top padding to move content up */
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.04);
}

/* Background Decors */
.decor-top {
    position: fixed;
    top: -50px;
    left: -150px;
    width: 380px;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    transform: rotate(-15deg);
}

.decor-bottom {
    position: fixed;
    bottom: -150px;
    right: -100px;
    width: 550px;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
    transform: rotate(25deg);
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-pic {
    width: 140px;
    height: 160px;
    margin: 0 auto 15px;
    position: relative;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 80px 80px 20px 20px; /* Arch shape consistent with hero */
    border: 3px solid var(--white);
    box-shadow: 0 15px 30px rgba(74, 58, 59, 0.15);
    position: relative;
    z-index: 2;
}

.profile-img-backdrop {
    position: absolute;
    top: -6px;
    right: -6px;
    bottom: 0px;
    left: 6px;
    background: var(--primary);
    border-radius: 80px 80px 20px 20px;
    opacity: 0.15;
    z-index: 1;
}

.profile-name {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--primary); /* Title to primary pink */
    margin-bottom: 2px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.02em;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-main);
    opacity: 0.85;
    font-family: var(--font-main);
    margin-bottom: 10px;
}

.separator-line {
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    opacity: 0.3;
    margin: 0 auto;
}

/* Links Section */
.links-wrapper {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 25px;
    background-color: var(--white);
    color: var(--secondary);
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    text-align: center;
    position: relative;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.link-icon {
    position: relative;
    flex-shrink: 0;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.link-title {
    flex-grow: 1;
    text-align: center;
    margin-right: 24px; /* Balance the icon width to keep text centered in the button */
    padding: 0 5px;
}

.link-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(175, 126, 131, 0.15);
    background-color: var(--primary);
    color: var(--white);
    border-color: transparent;
}



/* Footer Section */
.footer-logo {
    margin-top: 15px;
}

.footer-logo img {
    max-width: 100px;
    opacity: 0.7;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

/* Responsiveness */
@media (max-width: 768px) {
    body {
        padding: 0px 8px 8px;
        align-items: flex-start;
    }

    .bio-main {
        padding: 20px 15px 15px; /* Even smaller top padding */
        border-radius: 30px;
    }

    .profile-pic {
        width: 110px; /* Shrunk from 140px */
        height: 125px; /* Shrunk from 160px */
        margin-bottom: 10px;
    }

    .profile-name {
        font-size: 1.4rem; /* Reduced from 1.6rem */
    }

    .profile-bio {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .separator-line {
        margin-bottom: 15px;
    }

    .links-wrapper {
        gap: 10px; /* Tighter gap between buttons */
    }

    .link-btn {
        padding: 12px 15px; /* Shrunk from 14px */
        font-size: 0.9rem; /* Reduced from 0.95rem */
    }

    .link-icon {
        width: 20px;
        height: 20px;
    }

    .link-title {
        margin-right: 20px;
    }

    .footer-logo img {
        max-width: 80px; /* Shrunk from 100px */
    }
}

/* Postal Info Block */
.postal-info {
    margin-top: 22px;
    text-align: center;
    font-family: var(--font-main);
    color: var(--text-main);
    opacity: 0.7;
    line-height: 1.5;
}

.postal-line {
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.3px;
}

.postal-label {
    font-weight: 600;
    color: var(--primary);
    margin-right: 6px;
}

@media (max-width: 768px) {
    .postal-info {
        margin-top: 16px;
    }
    .postal-line {
        font-size: 0.8rem;
    }
}
