* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #c4c4c4;
    line-height: 1.6;
}

header {
    background-color: #888888;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #383835;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #383835;
}

main {
    min-height: 100vh;
    padding: 80px 8%;
    background: linear-gradient(135deg, #ffffff, #69695f);
}

main h1 {
    text-align: center;
    color: #383835;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.hero-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    align-items: stretch;
}

#content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

article {
    background-color: #383835;
    padding: 30px;
    border-radius: 15px;

    scroll-margin-top: 120px;
}

article h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

article p {
    color: #e5e7eb;
    font-size: 1rem;
}

aside {
    flex: 1;
    background-color: #383835;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

aside h3 {
    color: #ffffff;
    margin-bottom: 15px;
}


.aside-info {
    list-style: none;
    text-align: left;
    padding: 0;
    margin-top: 10px;    
}

.aside-info li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #e5e7eb;
}

aside p {
    font-size: 0.95rem;
    color: #e5e7eb;
    line-height: 1.6;

    margin-bottom: 18px;   
    max-width: 260px;     
    margin-left: auto;
    margin-right: auto;
}



aside img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid rgba(255, 255, 255, 0.3);
}

.candi-info {
    display: grid;
    grid-template-columns: 250px auto;
    gap: 15px 20px;
    text-align: left;
    line-height: 1.8;
}

.label {
    font-weight: 600;
    color: #1e3a8a;
}

.value {
    color: #334155;
}

aside p {
    font-size: 0.95rem;
    color: #e5e7eb;
}

footer {
    background-color: #383835;
    padding: 25px;
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
    }

    aside,
    #content {
        width: 100%;
    }

    article {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
}
