/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    background-color: #F3F3F1; 
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    min-height: 100vh;

    background-image: url("../media/pic10-tiny.jpg");
    background-size: cover; 
    background-position: 90% 50%;
}

.glass-container {
    position: absolute;
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px) brightness(1.5);
    -webkit-backdrop-filter: blur(10px) brightness(1.5);
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -10;
}

.main-card {
    width: 100%;
    max-width: 36rem;
    position: relative;
    overflow: hidden;
}

.container {
    text-align: center;
    padding: 4rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    top: 0;
    bottom: 0;
    position: relative;
}

.main-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("../media/pic10.jpg");
    background-size: cover; 
    background-position: 90% 50%;
    transition: transform 0.5s ease; 
    z-index: -10;
    transform: scale(1.3);
}

header {
    margin-bottom: 1rem;
}

.profile-img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

h1 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1E2330;
    margin-bottom: .5rem;
}

.bio {
    font-size: 1rem;
    color: white;
    /* margin-bottom: 1rem; */
    text-shadow: .1rem .1rem .5rem #1E2330;
}

.links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.link-card {
    display: flex;
    background-color: #FFFFFF;
    color: #1E2330;
    text-decoration: none;
    padding: 1rem;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 .25rem .5rem rgba(0,0,0,0.04);
    border: 1px solid transparent;
    justify-content: center;
    align-items: center;
}

.link-card svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: .5rem;
}

.link-card:hover {
    transform: scale(1.02);
    background-color: #FAFAFA;
    box-shadow: 0 .5rem .75rem rgba(0,0,0,0.08);
    border-color: #D1D1D1;
}

footer {
    font-size: .75rem;
    color: white;
}

@media (min-width: 768px) {
    body {
        padding: 2.5rem 1.25rem;
    }
    .main-card {
        border-radius: 1rem;
    }
    .main-img {
        background-position: 120% 50%;
    }
    header {
        margin-bottom: 2rem;
    }
}

@media (min-width: 1024px) {

}

/* --- THE ZOOM EFFECT --- */
/* Triggers on hover for all devices (though mainly noticeable on desktop/tablet) */
.main-card:hover .main-img {
  transform: scale(1.35); /* 15% zoom */
  transition: transform ease-in-out 2s;
}