:root {
    --black: #0d0d0d;
    --white: #f5f4f0;
    --text-dark: #ffffff;
    --text-light: #111111;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    padding-top: 50px;
    background-color: #f4f4f9;
    color: #333;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: lightyellow;
    padding: 10px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 30px;
}


.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 7px 7px;
    border-radius: 5px;
    transition: all 0.3s ease;

}

.nav-links a:hover {
    opacity: background 0.5;
    background-color: lightblue;
}

main {
    display: grid;
    grid-template-columns: 50% 1fr;
    height: 100svh;
    padding-top: var(--nav-height);
}

.panel-about {
    background: var(--black);
    color: white;
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    animation: fadeUp 0.7s ease both;
}

.panel-about h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    text-align: center;
}

.profile-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}


.profile-photo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: white;
    display: flex;
    align-items: center;
    justify-self: center;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-photo img {
    width: 38px;
    height: 38px;
    color: #bbb;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.2rem;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
}

.profile-subheading {
    font-size: 1rem;
    font-style: italic;
    color: #aaa;
    font-weight: 300;
}

.bio-box {
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 1.6rem;
    flex: 1;
}

.bio-box p {
    font-size: 1rem;
    line-height: 2;
    color: white;
    font-weight: 300;
}


.panel-connect {
    background: var(--white);
    color: var(--text-light);
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    gap: 2.5rem;
    animation: fadeUp 0.7s 0.15s ease both;
}

.panel-connect h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    align-self: center;
}

.connect-spacer-top {
    height: calc(72px + 2.5rem);
    flex-shrink: 0;
}

.connect-spacer-bottom {
    flex: 1;
}


.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    color: var(--text-light);
    text-decoration: none;
}


.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: var(--text-light);
    transition: transform 0.2s, opacity 0.5s;
}

.contact-item:hover {
    transform: translateX(6px);
    opacity: 0.7;
}


.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
}


.contact-icon img {
    width: 52px;
    height: 52px;
}


.contact-text {
    font-size: 1.1rem;
    font-weight: 400;
}

/*   ANIMATIONS */


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* RESPONSIVE - for stack panels on mobile*/


@media (max-width: 768px) {
    main {
        grid-template-columns: 1fr;
        height: auto;
    }

    .panel-about,
    .panel-connect {
        padding: 2.5rem 1.5rem;
        height: auto;
    }

    .nav-links {
        gap: 1rem;
    }
}