/* Reset and base styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: rgba(0, 0, 0, 0.08);
}

main {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
    padding: 2rem 1rem 3rem 1rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    height: 80%;
    /* Adjust for navbar/footer */
    min-height: 500px;
}

.profile-section {
    flex: 1 1 0;
    max-width: 50%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2rem;
    margin: 0;
    color: #222;
}

.typewriter-container {
    height: 2.5rem;
    margin: 0.5rem 0 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.typewriter {
    font-size: 2rem;
    color: #e17055;
    font-weight: bold;
}

.about-me {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}


.about-me p {
    margin: 0;
    line-height: 1.6;
    color: #444;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
}

li {
    margin: 0;
    line-height: 1.6;
    color: #444;
    font-size: 20px;
    font-weight: 500;
}

.media-wall-container {
    flex: 1 1 0;
    max-width: 50%;
    min-width: 0;
    box-sizing: border-box;
    height: 100%;
    padding: 1rem 0;

}

.media-wall-heading {
    font-size: 2rem;
    color: #222;
    margin: 0 0 1rem 0;
    font-weight: bold;
    text-align: center;
}

.media-wall {
    column-count: 2;
    column-gap: 1rem;
    width: 100%;
    padding: 1rem;
    overflow-y: hidden;
  }
  
  .media-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    width: 90%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    display: block;
  }

  .media-item img,
  .media-item video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }

footer {
    width: 100%;
    padding: 1rem 0 1rem 0;
    background: rgba(255, 255, 255, 0.7);
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 1rem;
    font-size: 1rem;
    color: #444;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
}

.social-links a {
    font-size: 1.7rem;
    color: #444;
    transition: color 0.2s;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.social-links a:hover {
    color: #e17055;
}

.container {
    margin-top: 80px;
    padding: 2rem;
    text-align: center;
}

.wip-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.wip-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    main {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        height: auto;
    }

    .profile-section,
    .media-wall {
        max-width: 100%;
        height: auto;
    }

    .media-wall-container {
        max-width: 100%;
        height: auto;
    }

    .media-wall {
        column-count: 2;
    }

    .nav-links {
        gap: 1rem;
        padding: 0.8rem 0.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 600px) {
    main {
        flex-direction: column;
        padding: 1rem 0.2rem 2rem 0.2rem;
        height: auto;
    }

    .media-wall {
        column-count: 1;
        gap: 1.5rem;
    }

    .profile-section {
        padding: 1.2rem 0.5rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .container {
        padding: 1rem;
        margin-top: 60px;
    }

    .wip-container {
        padding: 1rem;
    }

    .wip-image {
        max-width: 300px;
    }
}