/* RESET DEFAULT STYLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
}

/* NAVBAR - FIXED DI SEMUA HALAMAN */
.navbar {
    width: 100%;
    height: 70px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background: #0a5c36;
    z-index: 100;
}

/* CONTAINER UTAMA */
.main {
    width: 100%;
    background-image: url('background1.png');
    background-position: center;
    background-size: cover;
    height: 100vh;
    position: relative;
    padding-top: 70px; /* kompensasi tinggi navbar supaya konten tidak ketutup */
}

/* LOGO - COMPACT, KIRI */
.logo h2 {
    color: white;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

/* GRUP KANAN: MENU + SEARCH, RAPAT/COMPACT */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 22px;
}

.menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s ease-in-out;
}

.menu ul li a:hover {
    color: #ffd900;
}

/* SEARCH BAR - COMPACT */
.search {
    display: flex;
    align-items: center;
    gap: 6px;
}

.srch {
    font-family: "Open Sans", sans-serif;
    width: 150px;
    height: 30px;
    background: transparent;
    border: 1px solid white;
    color: white;
    border-radius: 5px;
    padding-left: 10px;
    font-size: 13px;
    outline: none;
}

.srch::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn {
    width: 60px;
    height: 30px;
    background: white;
    border: 1px solid white;
    color: #000;
    font-size: 13px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.btn:hover {
    background: #ffd900;
    color: #000;
    border: 1px solid #ffd900;
}

/* CONTENT: GAMBAR DI TENGAH, PARAGRAF & CONTACT ME DI BAWAHNYA */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    width: 600px;
}

.portofolio {
    max-width: 700px;
    height: auto;
    margin-bottom: 10px;
}

.content p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.cn {
    width: 130px;
    height: 38px;
    background: white;
    border: 1px solid white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.cn a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cn:hover {
    background: #ffd900;
    border: 1px solid #ffd900;
}

.cn:hover a {
    color: #000;
}

/* SECTION ABOUT ME */
.about {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    padding-top: 130px; /* 70px navbar + 60px padding asal, supaya konten tidak ketutup saat discroll ke section ini */
}

.about-content {
    max-width: 700px;
    text-align: center;
}

.aboutme-img {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}

mark.search-highlight {
    background: #ffd900;
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
}