@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* Navigation - pill style (new) */
header {
    padding: 0;
    text-align: left;
    background-color: transparent;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.navbar .logo img {
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    padding: 10px 20px;
    border-radius: 100px;
    background-color: rgba(28, 28, 30, 0.7);
    backdrop-filter: blur(8px);
    transition: background-color 0.3s ease;
    display: inline-block;
}

nav ul li a:hover {
    background-color: rgba(44, 44, 46, 0.8);
}

/* Original content styles below */
.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    margin-top: 10vh;
}

.circle {
    border: 3px solid white;
    border-radius: 50%;
    width: 50vw;
    height: 50vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    max-width: 80vh;
    max-height: 80vh;
}

.name {
    margin: 0;
    font-size: 5.5vw;
    color: #f9f6f6;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1;
    word-wrap: break-word;
}

.jobs {
    margin: 3px 0 0;
    font-size: 1.2vw;
    max-width: 90%;
    color: #f9f6f6;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.2;
}

.scroll-label {
    position: fixed;
    top: 92%;
    right: 10px;
    font-size: 1.2em;
    color: white;
    background-color: transparent;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: none;
    animation: fadeIn 1s ease-in-out;
    font-family: 'Times New Roman', Times, serif;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    nav {
        min-width: 0;
        flex: 1 1 0;
    }

    nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 10px;
        padding: 0 8px 4px 0;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav ul li {
        flex-shrink: 0;
    }

    nav ul li a {
        font-size: 14px;
        padding: 10px 18px;
    }

    .content {
        margin-top: 0;
        height: 100vh;
    }

    .circle {
        width: 60vw;
        height: 60vw;
    }

    .name {
        font-size: 6vw;
    }

    .jobs {
        font-size: 3vw;
    }

    .scroll-label {
        top: auto;
        bottom: 8px;
        right: 8px;
        font-size: 0.7em;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 14px 16px;
    }

    nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding-right: 8px;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav ul li {
        flex-shrink: 0;
    }

    nav ul li a {
        font-size: 13px;
        padding: 9px 15px;
    }

    .circle {
        width: 70vw;
        height: 70vw;
    }

    .name {
        font-size: 7vw;
    }

    .jobs {
        font-size: 3.5vw;
    }

    .content {
        margin-top: 0;
        height: 100vh;
    }

    .scroll-label {
        top: auto;
        bottom: 6px;
        right: 6px;
        font-size: 0.6em;
        padding: 2px 5px;
    }
}

.nav-scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    .nav-scroll-hint {
        display: block;
        position: absolute;
        bottom: 4px;
        right: 16px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 10px;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        z-index: 10;
        pointer-events: none;
        white-space: nowrap;
    }
}
