* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: gray;
    padding-top: 80px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    text-align: center;
    z-index: 1000;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}


main {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    width: 100%;
    padding: 0 0 0 40px;
}

.intro-text {
    flex: 1;
    text-align: left;
    padding-left: 20px;
}

.intro-image {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 800px;
    padding-right: 80px;
}

.intro-image img {
    width: 100%;
    height: 100vh;
    max-height: 800px;
    object-fit: cover;
    border-radius: 10px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    nav a {
        margin: 0 8px;
        font-size: 14px;
    }

    body {
        padding-top: 70px;
    }

    main {
        flex-direction: column;
        padding: 0 20px;
    }

    .intro {
        text-align: center;
    }
}