/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #444;
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
}

/* Main container */
.container {
    background: #444;
    border-radius: 0; /* Full-page look */
    padding: 0 20px 40px 20px;
    max-width: 100%;
    width: 100%;
    height: 100vh;
    box-shadow: none;
    text-align: center;
    position: relative;
}

/* Profile section */
.profile-section {
    margin-bottom: 20px;
}

.profile-picture {
    width: calc(100% + 40px);   /* extend beyond container padding */
    margin: 0 -20px 20px -20px; /* negative margins to pull left/right */
    height: 450px;
    overflow: hidden;
    border: none;
    position: relative;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%; 
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
} 


/*.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;

    
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%),
                        linear-gradient(to top, black 90%, transparent 100%),
                        linear-gradient(to right, black 90%, transparent 100%),
                        linear-gradient(to left, black 90%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-composite: intersect;

    mask-image: linear-gradient(to bottom, black 90%, transparent 100%),
                 linear-gradient(to top, black 90%, transparent 100%),
                 linear-gradient(to right, black 90%, transparent 100%),
                 linear-gradient(to left, black 90%, transparent 100%);
}
*/

/* Social links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px; /* spacing between buttons */
    margin-top: -20px;
    margin-bottom: 40px;
}

.social-button {
    background: #555;
    border-radius: 12px;
    padding: 16px 20px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-button:hover {
    background: #666;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.button-text {
    font-size: 16px;
    font-weight: 500;
    flex: 1;
    text-align: left;
    margin-left: 15px;
}

.button-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* Signature section */
.signature-section {
    margin-top: -70px; /* Adjust signature placement */
    margin-bottom: 40px;
}

.signature {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    filter: brightness(1.1);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .profile-picture {
        height: 350px;
    }
    .button-text {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .profile-picture {
        height: 300px;
    }
    .button-text {
        font-size: 14px;
    }
}
